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 | 207413d | 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 | 207413d | 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 | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 47 | gatekeeper.ranchu \ |
Ying Wang | 962d06e | 2013-02-28 16:39:32 -0800 | [diff] [blame] | 48 | lights.goldfish \ |
| 49 | gps.goldfish \ |
Chaoren Lin | 72fb846 | 2015-11-17 18:55:33 -0800 | [diff] [blame] | 50 | gps.ranchu \ |
bohu | a2005ae | 2015-03-26 10:14:38 -0700 | [diff] [blame] | 51 | fingerprint.goldfish \ |
Eric Frohnhoefer | 0214b3f | 2013-12-26 23:02:34 -0500 | [diff] [blame] | 52 | sensors.goldfish \ |
Christoffer Dall | a60edd1 | 2014-10-27 19:53:24 +0100 | [diff] [blame] | 53 | audio.primary.goldfish \ |
Joshua Lang | 207a88b | 2016-07-22 18:26:56 -0700 | [diff] [blame] | 54 | audio.primary.goldfish_legacy \ |
Joshua Lang | 149363c | 2017-01-19 18:49:08 -0800 | [diff] [blame] | 55 | android.hardware.audio@2.0-service \ |
Bjoern Johansson | 275bdb0 | 2017-11-14 17:10:44 -0800 | [diff] [blame] | 56 | android.hardware.wifi@1.0-service \ |
Christoffer Dall | a60edd1 | 2014-10-27 19:53:24 +0100 | [diff] [blame] | 57 | vibrator.goldfish \ |
Christoffer Dall | b538136 | 2014-12-21 21:17:45 +0100 | [diff] [blame] | 58 | power.goldfish \ |
Lingfeng Yang | d2fc242 | 2017-05-01 14:21:59 -0700 | [diff] [blame] | 59 | power.ranchu \ |
bohu | a2005ae | 2015-03-26 10:14:38 -0700 | [diff] [blame] | 60 | fingerprint.ranchu \ |
bohu | 390e172 | 2017-01-18 12:20:29 -0800 | [diff] [blame] | 61 | android.hardware.biometrics.fingerprint@2.1-service \ |
Lingfeng Yang | ad1a1ac | 2017-03-16 12:26:56 -0700 | [diff] [blame] | 62 | sensors.ranchu \ |
Lingfeng Yang | 450cd0b | 2017-03-17 10:47:19 -0700 | [diff] [blame] | 63 | android.hardware.graphics.composer@2.1-impl \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 64 | android.hardware.graphics.composer@2.1-service \ |
| 65 | android.hardware.graphics.allocator@2.0-service \ |
| 66 | android.hardware.graphics.allocator@2.0-impl \ |
| 67 | android.hardware.graphics.mapper@2.0-impl \ |
| 68 | hwcomposer.goldfish \ |
| 69 | hwcomposer.ranchu \ |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 70 | sh_vendor \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 71 | vintf \ |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 72 | toybox_vendor \ |
bohu | d665b02 | 2017-07-03 22:01:38 -0700 | [diff] [blame] | 73 | CarrierConfig |
Ying Wang | 4781e30 | 2013-03-07 17:58:32 -0800 | [diff] [blame] | 74 | |
Joshua Lang | 149363c | 2017-01-19 18:49:08 -0800 | [diff] [blame] | 75 | PRODUCT_PACKAGES += \ |
| 76 | android.hardware.audio@2.0-impl \ |
| 77 | android.hardware.audio.effect@2.0-impl \ |
| 78 | android.hardware.broadcastradio@1.0-impl \ |
| 79 | android.hardware.soundtrigger@2.0-impl |
| 80 | |
Joshua Lang | 1e123c1 | 2017-01-25 13:27:02 -0800 | [diff] [blame] | 81 | PRODUCT_PACKAGES += \ |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 82 | android.hardware.keymaster@3.0-impl \ |
| 83 | android.hardware.keymaster@3.0-service |
Joshua Lang | 1e123c1 | 2017-01-25 13:27:02 -0800 | [diff] [blame] | 84 | |
bohu | 318905f | 2017-03-06 16:15:59 -0800 | [diff] [blame] | 85 | PRODUCT_PACKAGES += \ |
Frank Salim | 5c2b645 | 2017-12-04 23:41:52 -0800 | [diff] [blame] | 86 | android.hardware.keymaster@4.0-strongbox-service |
| 87 | |
| 88 | PRODUCT_PACKAGES += \ |
bohu | 7154859 | 2017-03-08 16:27:56 -0800 | [diff] [blame] | 89 | android.hardware.gnss@1.0-service \ |
| 90 | android.hardware.gnss@1.0-impl |
| 91 | |
| 92 | PRODUCT_PACKAGES += \ |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 93 | android.hardware.sensors@1.0-impl \ |
| 94 | android.hardware.sensors@1.0-service |
| 95 | |
| 96 | PRODUCT_PACKAGES += \ |
| 97 | android.hardware.drm@1.0-service \ |
| 98 | android.hardware.drm@1.0-impl |
bohu | 318905f | 2017-03-06 16:15:59 -0800 | [diff] [blame] | 99 | |
Lingfeng Yang | d2fc242 | 2017-05-01 14:21:59 -0700 | [diff] [blame] | 100 | PRODUCT_PACKAGES += \ |
| 101 | android.hardware.power@1.0-service \ |
| 102 | android.hardware.power@1.0-impl |
| 103 | |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 104 | PRODUCT_PACKAGES += \ |
| 105 | camera.device@1.0-impl \ |
| 106 | android.hardware.camera.provider@2.4-service \ |
| 107 | android.hardware.camera.provider@2.4-impl \ |
| 108 | |
| 109 | PRODUCT_PACKAGES += \ |
| 110 | android.hardware.gatekeeper@1.0-impl \ |
| 111 | android.hardware.gatekeeper@1.0-service |
| 112 | |
| 113 | # need this for gles libraries to load properly |
| 114 | # after moving to /vendor/lib/ |
| 115 | PRODUCT_PACKAGES += \ |
Justin Yun | 83c8f78 | 2017-10-25 21:02:42 +0900 | [diff] [blame] | 116 | vndk-sp |
Eino-Ville Talvala | 3665e64 | 2017-01-24 12:17:25 -0800 | [diff] [blame] | 117 | |
Bjoern Johansson | 127395f | 2017-02-09 22:28:47 -0800 | [diff] [blame] | 118 | # WiFi |
| 119 | PRODUCT_PACKAGES += \ |
Bjoern Johansson | ca5bfb1 | 2018-03-19 11:14:30 -0700 | [diff] [blame] | 120 | createns \ |
Bjoern Johansson | 3c4b342 | 2017-07-06 15:52:57 -0700 | [diff] [blame] | 121 | dhcpclient \ |
| 122 | dhcpserver \ |
Bjoern Johansson | 127395f | 2017-02-09 22:28:47 -0800 | [diff] [blame] | 123 | execns \ |
| 124 | hostapd \ |
| 125 | ip \ |
| 126 | ipv6proxy \ |
| 127 | iw \ |
Bjoern Johansson | 54fbcac | 2017-08-31 12:58:53 -0700 | [diff] [blame] | 128 | wificond \ |
Bjoern Johansson | 127395f | 2017-02-09 22:28:47 -0800 | [diff] [blame] | 129 | wpa_supplicant \ |
| 130 | |
Ken Sumrall | f151d37 | 2013-02-28 19:19:10 -0800 | [diff] [blame] | 131 | PRODUCT_COPY_FILES += \ |
Isaac Chen | d7a6300 | 2017-12-18 18:42:05 +0800 | [diff] [blame] | 132 | device/generic/goldfish/init.ranchu-core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-core.sh \ |
| 133 | device/generic/goldfish/init.ranchu-net.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-net.sh \ |
Bjoern Johansson | 127395f | 2017-02-09 22:28:47 -0800 | [diff] [blame] | 134 | device/generic/goldfish/wifi/init.wifi.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.wifi.sh \ |
Isaac Chen | 8b40419 | 2018-03-21 10:40:44 +0800 | [diff] [blame] | 135 | device/generic/goldfish/init.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ranchu.rc \ |
| 136 | device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu \ |
| 137 | device/generic/goldfish/ueventd.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ |
Isaac Chen | 5bf9ac5 | 2017-10-19 18:04:23 +0800 | [diff] [blame] | 138 | device/generic/goldfish/input/goldfish_rotary.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/goldfish_rotary.idc \ |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 139 | device/generic/goldfish/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \ |
Isaac Chen | 5bf9ac5 | 2017-10-19 18:04:23 +0800 | [diff] [blame] | 140 | device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/privapp-permissions-goldfish.xml \ |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 141 | device/generic/goldfish/data/etc/config.ini:config.ini \ |
Bjoern Johansson | 54fbcac | 2017-08-31 12:58:53 -0700 | [diff] [blame] | 142 | device/generic/goldfish/wifi/simulated_hostapd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/simulated_hostapd.conf \ |
| 143 | device/generic/goldfish/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \ |
| 144 | device/generic/goldfish/wifi/WifiConfigStore.xml:data/misc/wifi/WifiConfigStore.xml \ |
bohu | b4602eb | 2018-02-22 22:19:53 -0800 | [diff] [blame] | 145 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml |
Jim Kaye | 206fb06 | 2016-01-11 15:37:22 -0800 | [diff] [blame] | 146 | |
Prathmesh Prabhu | 8f8c9cb | 2016-03-04 13:43:04 -0800 | [diff] [blame] | 147 | PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay |
| 148 | |
Jim Kaye | 206fb06 | 2016-01-11 15:37:22 -0800 | [diff] [blame] | 149 | PRODUCT_CHARACTERISTICS := emulator |
bohu | d5f90a5 | 2017-05-26 10:26:15 -0700 | [diff] [blame] | 150 | |
| 151 | PRODUCT_FULL_TREBLE_OVERRIDE := true |
bohu | c8c8070 | 2017-12-13 21:29:26 -0800 | [diff] [blame] | 152 | |
| 153 | #watchdog tiggers reboot because location service is not |
| 154 | #responding, disble it for now. |
| 155 | #still keep it on internal master as it is still working |
| 156 | #once it is fixed in aosp, remove this block of comment. |
| 157 | #PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 158 | #config.disable_location=true |