Jesse Hall | 229b137 | 2012-11-28 09:53:20 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2012 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | # |
| 17 | # This file is included by other product makefiles to add all the |
Ying Wang | 4781e30 | 2013-03-07 17:58:32 -0800 | [diff] [blame] | 18 | # emulator-related modules to PRODUCT_PACKAGES. |
Jesse Hall | 229b137 | 2012-11-28 09:53:20 -0800 | [diff] [blame] | 19 | # |
| 20 | |
Ying Wang | 4781e30 | 2013-03-07 17:58:32 -0800 | [diff] [blame] | 21 | # Host modules |
Jesse Hall | 229b137 | 2012-11-28 09:53:20 -0800 | [diff] [blame] | 22 | PRODUCT_PACKAGES += \ |
Xavier Ducrohet | 51e303a | 2014-04-01 12:13:58 -0700 | [diff] [blame] | 23 | |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 24 | |
Ying Wang | 4781e30 | 2013-03-07 17:58:32 -0800 | [diff] [blame] | 25 | # Device modules |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 26 | PRODUCT_PACKAGES += \ |
| 27 | egl.cfg \ |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 28 | gralloc.goldfish \ |
Lingfeng Yang | 8bed4d0 | 2017-08-11 01:17:39 -0700 | [diff] [blame] | 29 | gralloc.goldfish.default \ |
Miroslav Tisma | 173615d | 2015-09-23 12:53:41 +0200 | [diff] [blame] | 30 | gralloc.ranchu \ |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 31 | libGLESv1_CM_emulation \ |
| 32 | lib_renderControl_enc \ |
| 33 | libEGL_emulation \ |
Ying Wang | e948255 | 2014-04-15 14:42:27 -0700 | [diff] [blame] | 34 | libGLES_android \ |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 35 | libGLESv2_enc \ |
| 36 | libOpenglSystemCommon \ |
| 37 | libGLESv2_emulation \ |
| 38 | libGLESv1_enc \ |
Lingfeng Yang | 8bed4d0 | 2017-08-11 01:17:39 -0700 | [diff] [blame] | 39 | libEGL_swiftshader \ |
| 40 | libGLESv1_CM_swiftshader \ |
| 41 | libGLESv2_swiftshader \ |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 42 | qemu-props \ |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 43 | camera.goldfish \ |
keunyoung | d9b0e80 | 2013-03-12 16:28:37 -0700 | [diff] [blame] | 44 | camera.goldfish.jpeg \ |
Lingfeng Yang | aae222f | 2015-11-17 15:42:23 -0800 | [diff] [blame] | 45 | camera.ranchu \ |
| 46 | camera.ranchu.jpeg \ |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 47 | keystore.goldfish \ |
| 48 | keystore.ranchu \ |
| 49 | gatekeeper.ranchu \ |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 50 | lights.goldfish \ |
| 51 | gps.goldfish \ |
Chaoren Lin | 72fb846 | 2015-11-17 18:55:33 -0800 | [diff] [blame] | 52 | gps.ranchu \ |
bohu | a2005ae | 2015-03-26 10:14:38 -0700 | [diff] [blame] | 53 | fingerprint.goldfish \ |
Eric Frohnhoefer | 0214b3f | 2013-12-26 23:02:34 -0500 | [diff] [blame] | 54 | sensors.goldfish \ |
Christoffer Dall | a60edd1 | 2014-10-27 19:53:24 +0100 | [diff] [blame] | 55 | audio.primary.goldfish \ |
Joshua Lang | 207a88b | 2016-07-22 18:26:56 -0700 | [diff] [blame] | 56 | audio.primary.goldfish_legacy \ |
Joshua Lang | 149363c | 2017-01-19 18:49:08 -0800 | [diff] [blame] | 57 | android.hardware.audio@2.0-service \ |
Christoffer Dall | a60edd1 | 2014-10-27 19:53:24 +0100 | [diff] [blame] | 58 | vibrator.goldfish \ |
Christoffer Dall | b538136 | 2014-12-21 21:17:45 +0100 | [diff] [blame] | 59 | power.goldfish \ |
Lingfeng Yang | d2fc242 | 2017-05-01 14:21:59 -0700 | [diff] [blame] | 60 | power.ranchu \ |
bohu | a2005ae | 2015-03-26 10:14:38 -0700 | [diff] [blame] | 61 | fingerprint.ranchu \ |
bohu | 390e172 | 2017-01-18 12:20:29 -0800 | [diff] [blame] | 62 | android.hardware.biometrics.fingerprint@2.1-service \ |
Lingfeng Yang | ad1a1ac | 2017-03-16 12:26:56 -0700 | [diff] [blame] | 63 | sensors.ranchu \ |
Lingfeng Yang | 450cd0b | 2017-03-17 10:47:19 -0700 | [diff] [blame] | 64 | android.hardware.graphics.composer@2.1-impl \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 65 | android.hardware.graphics.composer@2.1-service \ |
| 66 | android.hardware.graphics.allocator@2.0-service \ |
| 67 | android.hardware.graphics.allocator@2.0-impl \ |
| 68 | android.hardware.graphics.mapper@2.0-impl \ |
| 69 | hwcomposer.goldfish \ |
| 70 | hwcomposer.ranchu \ |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 71 | sh_vendor \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 72 | vintf \ |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 73 | toybox_vendor \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 74 | CarrierConfig |
Ying Wang | 4781e30 | 2013-03-07 17:58:32 -0800 | [diff] [blame] | 75 | |
Joshua Lang | 149363c | 2017-01-19 18:49:08 -0800 | [diff] [blame] | 76 | PRODUCT_PACKAGES += \ |
| 77 | android.hardware.audio@2.0-impl \ |
| 78 | android.hardware.audio.effect@2.0-impl \ |
| 79 | android.hardware.broadcastradio@1.0-impl \ |
| 80 | android.hardware.soundtrigger@2.0-impl |
| 81 | |
Joshua Lang | 1e123c1 | 2017-01-25 13:27:02 -0800 | [diff] [blame] | 82 | PRODUCT_PACKAGES += \ |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 83 | android.hardware.keymaster@3.0-impl \ |
| 84 | android.hardware.keymaster@3.0-service |
Joshua Lang | 1e123c1 | 2017-01-25 13:27:02 -0800 | [diff] [blame] | 85 | |
bohu | 318905f | 2017-03-06 16:15:59 -0800 | [diff] [blame] | 86 | PRODUCT_PACKAGES += \ |
bohu | 7154859 | 2017-03-08 16:27:56 -0800 | [diff] [blame] | 87 | android.hardware.gnss@1.0-service \ |
| 88 | android.hardware.gnss@1.0-impl |
| 89 | |
| 90 | PRODUCT_PACKAGES += \ |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 91 | android.hardware.sensors@1.0-impl \ |
| 92 | android.hardware.sensors@1.0-service |
| 93 | |
| 94 | PRODUCT_PACKAGES += \ |
| 95 | android.hardware.drm@1.0-service \ |
| 96 | android.hardware.drm@1.0-impl |
bohu | 318905f | 2017-03-06 16:15:59 -0800 | [diff] [blame] | 97 | |
Lingfeng Yang | d2fc242 | 2017-05-01 14:21:59 -0700 | [diff] [blame] | 98 | PRODUCT_PACKAGES += \ |
| 99 | android.hardware.power@1.0-service \ |
| 100 | android.hardware.power@1.0-impl |
| 101 | |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 102 | PRODUCT_PACKAGES += \ |
| 103 | camera.device@1.0-impl \ |
| 104 | android.hardware.camera.provider@2.4-service \ |
| 105 | android.hardware.camera.provider@2.4-impl \ |
| 106 | |
| 107 | PRODUCT_PACKAGES += \ |
| 108 | android.hardware.gatekeeper@1.0-impl \ |
| 109 | android.hardware.gatekeeper@1.0-service |
| 110 | |
| 111 | # need this for gles libraries to load properly |
| 112 | # after moving to /vendor/lib/ |
| 113 | PRODUCT_PACKAGES += \ |
Justin Yun | 83c8f78 | 2017-10-25 21:02:42 +0900 | [diff] [blame] | 114 | vndk-sp |
Eino-Ville Talvala | 3665e64 | 2017-01-24 12:17:25 -0800 | [diff] [blame] | 115 | |
Ken Sumrall | f151d37 | 2013-02-28 19:19:10 -0800 | [diff] [blame] | 116 | PRODUCT_COPY_FILES += \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 117 | device/generic/goldfish/init.ranchu-core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-core.sh \ |
| 118 | device/generic/goldfish/init.ranchu-net.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-net.sh \ |
Isaac Chen | 4cf3e65 | 2018-03-21 10:40:44 +0800 | [diff] [blame] | 119 | device/generic/goldfish/init.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ranchu.rc \ |
| 120 | device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu \ |
| 121 | device/generic/goldfish/ueventd.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ |
Isaac Chen | 2b063ee | 2017-10-19 18:04:23 +0800 | [diff] [blame] | 122 | device/generic/goldfish/input/goldfish_rotary.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/goldfish_rotary.idc \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 123 | device/generic/goldfish/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \ |
Isaac Chen | 2b063ee | 2017-10-19 18:04:23 +0800 | [diff] [blame] | 124 | device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/privapp-permissions-goldfish.xml \ |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 125 | device/generic/goldfish/data/etc/config.ini:config.ini \ |
Isaac Chen | 2b063ee | 2017-10-19 18:04:23 +0800 | [diff] [blame] | 126 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml |
Jim Kaye | 206fb06 | 2016-01-11 15:37:22 -0800 | [diff] [blame] | 127 | |
Prathmesh Prabhu | 8f8c9cb | 2016-03-04 13:43:04 -0800 | [diff] [blame] | 128 | PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay |
| 129 | |
Jim Kaye | 206fb06 | 2016-01-11 15:37:22 -0800 | [diff] [blame] | 130 | PRODUCT_CHARACTERISTICS := emulator |
bohu | cb0bebb | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 131 | |
| 132 | PRODUCT_FULL_TREBLE_OVERRIDE := true |
bohu | 680ab2e | 2017-12-13 21:29:26 -0800 | [diff] [blame] | 133 | |
| 134 | |
| 135 | #watchdog tiggers reboot because location service is not |
| 136 | #responding, disble it for now |
| 137 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 138 | config.disable_location=true |