blob: 8e100be9acc0362073135ce4a0623c378ff671de [file] [log] [blame]
Jesse Hall229b1372012-11-28 09:53:20 -08001#
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 Wang4781e302013-03-07 17:58:32 -080018# emulator-related modules to PRODUCT_PACKAGES.
Jesse Hall229b1372012-11-28 09:53:20 -080019#
20
Ying Wang4781e302013-03-07 17:58:32 -080021# Host modules
Jesse Hall229b1372012-11-28 09:53:20 -080022PRODUCT_PACKAGES += \
Xavier Ducrohet51e303a2014-04-01 12:13:58 -070023
Ying Wang962d06e2013-02-28 16:39:32 -080024
Ying Wang4781e302013-03-07 17:58:32 -080025# Device modules
Ying Wang962d06e2013-02-28 16:39:32 -080026PRODUCT_PACKAGES += \
27 egl.cfg \
Ying Wang962d06e2013-02-28 16:39:32 -080028 gralloc.goldfish \
Lingfeng Yang207413d2017-08-11 01:17:39 -070029 gralloc.goldfish.default \
Miroslav Tisma173615d2015-09-23 12:53:41 +020030 gralloc.ranchu \
Ying Wang962d06e2013-02-28 16:39:32 -080031 libGLESv1_CM_emulation \
32 lib_renderControl_enc \
33 libEGL_emulation \
Ying Wange9482552014-04-15 14:42:27 -070034 libGLES_android \
Ying Wang962d06e2013-02-28 16:39:32 -080035 libGLESv2_enc \
36 libOpenglSystemCommon \
37 libGLESv2_emulation \
38 libGLESv1_enc \
Lingfeng Yang207413d2017-08-11 01:17:39 -070039 libEGL_swiftshader \
40 libGLESv1_CM_swiftshader \
41 libGLESv2_swiftshader \
Ying Wang962d06e2013-02-28 16:39:32 -080042 qemu-props \
Ying Wang962d06e2013-02-28 16:39:32 -080043 camera.goldfish \
keunyoungd9b0e802013-03-12 16:28:37 -070044 camera.goldfish.jpeg \
Lingfeng Yangaae222f2015-11-17 15:42:23 -080045 camera.ranchu \
46 camera.ranchu.jpeg \
bohud5f90a52017-05-26 10:26:15 -070047 gatekeeper.ranchu \
Ying Wang962d06e2013-02-28 16:39:32 -080048 lights.goldfish \
49 gps.goldfish \
Chaoren Lin72fb8462015-11-17 18:55:33 -080050 gps.ranchu \
bohua2005ae2015-03-26 10:14:38 -070051 fingerprint.goldfish \
Eric Frohnhoefer0214b3f2013-12-26 23:02:34 -050052 sensors.goldfish \
Christoffer Dalla60edd12014-10-27 19:53:24 +010053 audio.primary.goldfish \
Joshua Lang207a88b2016-07-22 18:26:56 -070054 audio.primary.goldfish_legacy \
Joshua Lang149363c2017-01-19 18:49:08 -080055 android.hardware.audio@2.0-service \
Bjoern Johansson275bdb02017-11-14 17:10:44 -080056 android.hardware.wifi@1.0-service \
Christoffer Dalla60edd12014-10-27 19:53:24 +010057 vibrator.goldfish \
Christoffer Dallb5381362014-12-21 21:17:45 +010058 power.goldfish \
Lingfeng Yangd2fc2422017-05-01 14:21:59 -070059 power.ranchu \
bohua2005ae2015-03-26 10:14:38 -070060 fingerprint.ranchu \
bohu390e1722017-01-18 12:20:29 -080061 android.hardware.biometrics.fingerprint@2.1-service \
Lingfeng Yangad1a1ac2017-03-16 12:26:56 -070062 sensors.ranchu \
Lingfeng Yang450cd0b2017-03-17 10:47:19 -070063 android.hardware.graphics.composer@2.1-impl \
bohud665b022017-07-03 22:01:38 -070064 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 \
bohud5f90a52017-05-26 10:26:15 -070070 sh_vendor \
bohud665b022017-07-03 22:01:38 -070071 vintf \
bohud5f90a52017-05-26 10:26:15 -070072 toybox_vendor \
bohud665b022017-07-03 22:01:38 -070073 CarrierConfig
Ying Wang4781e302013-03-07 17:58:32 -080074
Joshua Lang149363c2017-01-19 18:49:08 -080075PRODUCT_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 Lang1e123c12017-01-25 13:27:02 -080081PRODUCT_PACKAGES += \
bohud5f90a52017-05-26 10:26:15 -070082 android.hardware.keymaster@3.0-impl \
83 android.hardware.keymaster@3.0-service
Joshua Lang1e123c12017-01-25 13:27:02 -080084
bohu318905f2017-03-06 16:15:59 -080085PRODUCT_PACKAGES += \
Frank Salim5c2b6452017-12-04 23:41:52 -080086 android.hardware.keymaster@4.0-strongbox-service
87
88PRODUCT_PACKAGES += \
bohu71548592017-03-08 16:27:56 -080089 android.hardware.gnss@1.0-service \
90 android.hardware.gnss@1.0-impl
91
92PRODUCT_PACKAGES += \
bohud5f90a52017-05-26 10:26:15 -070093 android.hardware.sensors@1.0-impl \
94 android.hardware.sensors@1.0-service
95
96PRODUCT_PACKAGES += \
97 android.hardware.drm@1.0-service \
98 android.hardware.drm@1.0-impl
bohu318905f2017-03-06 16:15:59 -080099
Lingfeng Yangd2fc2422017-05-01 14:21:59 -0700100PRODUCT_PACKAGES += \
101 android.hardware.power@1.0-service \
102 android.hardware.power@1.0-impl
103
bohud5f90a52017-05-26 10:26:15 -0700104PRODUCT_PACKAGES += \
105 camera.device@1.0-impl \
106 android.hardware.camera.provider@2.4-service \
107 android.hardware.camera.provider@2.4-impl \
108
109PRODUCT_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/
115PRODUCT_PACKAGES += \
Justin Yun83c8f782017-10-25 21:02:42 +0900116 vndk-sp
Eino-Ville Talvala3665e642017-01-24 12:17:25 -0800117
Bjoern Johansson127395f2017-02-09 22:28:47 -0800118# WiFi
119PRODUCT_PACKAGES += \
Bjoern Johanssonca5bfb12018-03-19 11:14:30 -0700120 createns \
Bjoern Johansson3c4b3422017-07-06 15:52:57 -0700121 dhcpclient \
122 dhcpserver \
Bjoern Johansson127395f2017-02-09 22:28:47 -0800123 execns \
124 hostapd \
125 ip \
126 ipv6proxy \
127 iw \
Bjoern Johansson54fbcac2017-08-31 12:58:53 -0700128 wificond \
Bjoern Johansson127395f2017-02-09 22:28:47 -0800129 wpa_supplicant \
130
Ken Sumrallf151d372013-02-28 19:19:10 -0800131PRODUCT_COPY_FILES += \
Isaac Chend7a63002017-12-18 18:42:05 +0800132 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 Johansson127395f2017-02-09 22:28:47 -0800134 device/generic/goldfish/wifi/init.wifi.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.wifi.sh \
Isaac Chen8b404192018-03-21 10:40:44 +0800135 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 Chen5bf9ac52017-10-19 18:04:23 +0800138 device/generic/goldfish/input/goldfish_rotary.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/goldfish_rotary.idc \
bohud5f90a52017-05-26 10:26:15 -0700139 device/generic/goldfish/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \
Isaac Chen5bf9ac52017-10-19 18:04:23 +0800140 device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/privapp-permissions-goldfish.xml \
bohud5f90a52017-05-26 10:26:15 -0700141 device/generic/goldfish/data/etc/config.ini:config.ini \
Bjoern Johansson54fbcac2017-08-31 12:58:53 -0700142 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 \
bohub4602eb2018-02-22 22:19:53 -0800145 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
Jim Kaye206fb062016-01-11 15:37:22 -0800146
Prathmesh Prabhu8f8c9cb2016-03-04 13:43:04 -0800147PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay
148
Jim Kaye206fb062016-01-11 15:37:22 -0800149PRODUCT_CHARACTERISTICS := emulator
bohud5f90a52017-05-26 10:26:15 -0700150
151PRODUCT_FULL_TREBLE_OVERRIDE := true
bohuc8c80702017-12-13 21:29:26 -0800152
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