blob: e225ff62ac78d2493ab62813e02a92e6835de902 [file] [log] [blame]
bohu268c72f2018-06-09 08:19:08 -07001#
2# Copyright (C) 2018 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 to configure vendor/data partitions of emulator-related products
18#
19
20# Device modules
21PRODUCT_PACKAGES += \
Lingfeng Yange835ecc2019-02-02 20:46:23 -080022 vulkan.ranchu \
bohu268c72f2018-06-09 08:19:08 -070023 gralloc.goldfish \
24 gralloc.goldfish.default \
25 gralloc.ranchu \
26 libGLESv1_CM_emulation \
27 lib_renderControl_enc \
28 libEGL_emulation \
29 libGLESv2_enc \
Lingfeng Yang46856d12018-11-02 11:24:29 -070030 libvulkan_enc \
Lingfeng Yang48d30292018-09-28 15:53:24 -070031 libOpenglCodecCommon \
bohu268c72f2018-06-09 08:19:08 -070032 libOpenglSystemCommon \
33 libGLESv2_emulation \
34 libGLESv1_enc \
35 libEGL_swiftshader \
36 libGLESv1_CM_swiftshader \
37 libGLESv2_swiftshader \
Bjoern Johanssonfda217c2018-06-14 16:02:30 -070038 libgoldfish-ril \
bohu268c72f2018-06-09 08:19:08 -070039 qemu-props \
40 camera.goldfish \
41 camera.goldfish.jpeg \
42 camera.ranchu \
43 camera.ranchu.jpeg \
44 gatekeeper.ranchu \
bohu268c72f2018-06-09 08:19:08 -070045 gps.goldfish \
46 gps.ranchu \
47 fingerprint.goldfish \
bohu268c72f2018-06-09 08:19:08 -070048 audio.primary.goldfish \
49 audio.primary.goldfish_legacy \
bohu268c72f2018-06-09 08:19:08 -070050 power.goldfish \
51 power.ranchu \
52 fingerprint.ranchu \
53 sensors.ranchu \
54 android.hardware.graphics.composer@2.1-impl \
55 android.hardware.graphics.composer@2.1-service \
56 android.hardware.graphics.allocator@2.0-service \
57 android.hardware.graphics.allocator@2.0-impl \
58 android.hardware.graphics.mapper@2.0-impl \
59 hwcomposer.goldfish \
60 hwcomposer.ranchu \
61 toybox_vendor \
62 android.hardware.audio@2.0-service \
63 android.hardware.wifi@1.0-service \
64 android.hardware.biometrics.fingerprint@2.1-service \
65 sh_vendor \
bohu8d693282018-11-28 09:19:40 -080066 iw_vendor \
bohu268c72f2018-06-09 08:19:08 -070067 audio.r_submix.default \
68 local_time.default \
69 SdkSetup
70
71PRODUCT_PACKAGES += \
huans64eca142018-06-18 14:45:46 -070072 android.hardware.audio@4.0-impl:32 \
73 android.hardware.audio.effect@4.0-impl:32 \
bohu268c72f2018-06-09 08:19:08 -070074 android.hardware.broadcastradio@1.1-service \
75 android.hardware.broadcastradio@1.0-impl \
76 android.hardware.soundtrigger@2.0-impl
77
78PRODUCT_PACKAGES += \
huans4772b3d2018-06-15 10:56:16 -070079 android.hardware.health@2.0-service.goldfish
80
81PRODUCT_PACKAGES += \
bohu268c72f2018-06-09 08:19:08 -070082 android.hardware.keymaster@3.0-impl \
83 android.hardware.keymaster@3.0-service
84
85PRODUCT_PACKAGES += \
Jim Kayeb8f47812018-06-18 16:24:10 -070086 DisplayCutoutEmulationEmu01Overlay
87
bohud69c26b2018-06-20 08:45:13 -070088ifneq ($(EMULATOR_VENDOR_NO_GNSS),true)
bohu268c72f2018-06-09 08:19:08 -070089PRODUCT_PACKAGES += \
90 android.hardware.gnss@1.0-service \
91 android.hardware.gnss@1.0-impl
bohud69c26b2018-06-20 08:45:13 -070092endif
bohu268c72f2018-06-09 08:19:08 -070093
94PRODUCT_PACKAGES += \
95 android.hardware.sensors@1.0-impl \
96 android.hardware.sensors@1.0-service
97
98PRODUCT_PACKAGES += \
99 android.hardware.drm@1.0-service \
huans85d26b82018-06-13 16:14:28 -0700100 android.hardware.drm@1.0-impl \
bohue7064d72019-01-17 17:16:18 -0800101 android.hardware.drm@1.2-service.clearkey \
102 android.hardware.drm@1.2-service.widevine
bohu268c72f2018-06-09 08:19:08 -0700103
104PRODUCT_PACKAGES += \
Haitao Shand9689ef2018-08-17 11:58:33 -0700105 android.hardware.power@1.1-service.ranchu \
106
Matt Wachowskif6bb9232018-11-28 09:34:45 -0800107PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=enforce
Haitao Shand9689ef2018-08-17 11:58:33 -0700108PRODUCT_PROPERTY_OVERRIDES += ro.hardware.power=ranchu
bohu268c72f2018-06-09 08:19:08 -0700109
110PRODUCT_PACKAGES += \
111 camera.device@1.0-impl \
112 android.hardware.camera.provider@2.4-service \
113 android.hardware.camera.provider@2.4-impl \
114
115PRODUCT_PACKAGES += \
116 android.hardware.gatekeeper@1.0-impl \
117 android.hardware.gatekeeper@1.0-service
118
119# WiFi: vendor side
120PRODUCT_PACKAGES += \
121 createns \
122 dhcpclient \
123 dhcpserver \
124 execns \
125 hostapd \
Bjoern Johansson880e7082018-05-15 15:04:53 -0700126 hostapd_nohidl \
bohu268c72f2018-06-09 08:19:08 -0700127 ipv6proxy \
Bjoern Johansson873eee62018-09-06 15:39:12 -0700128 netmgr \
bohu268c72f2018-06-09 08:19:08 -0700129 wpa_supplicant \
130
Bowgo Tsai825e1102018-07-16 17:58:40 +0800131# Needed for /system/priv-app/SdkSetup/SdkSetup.apk to pass CTS android.permission2.cts.PrivappPermissionsTest.
132PRODUCT_COPY_FILES += \
133 device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-goldfish.xml
134
bohue8304eb2018-09-04 11:56:42 -0700135
bohu268c72f2018-06-09 08:19:08 -0700136PRODUCT_COPY_FILES += \
137 device/generic/goldfish/data/etc/apns-conf.xml:data/misc/apns/apns-conf.xml \
138 device/generic/goldfish/init.ranchu-core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-core.sh \
139 device/generic/goldfish/init.ranchu-net.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ranchu-net.sh \
140 device/generic/goldfish/wifi/init.wifi.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.wifi.sh \
141 device/generic/goldfish/init.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ranchu.rc \
142 device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu \
143 device/generic/goldfish/ueventd.ranchu.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
144 device/generic/goldfish/input/goldfish_rotary.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/goldfish_rotary.idc \
145 device/generic/goldfish/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \
bohu268c72f2018-06-09 08:19:08 -0700146 device/generic/goldfish/data/etc/config.ini:config.ini \
147 device/generic/goldfish/wifi/simulated_hostapd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/simulated_hostapd.conf \
148 device/generic/goldfish/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \
149 device/generic/goldfish/wifi/WifiConfigStore.xml:data/misc/wifi/WifiConfigStore.xml \
150 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
Bjoern Johansson836f41d2018-06-13 10:57:09 -0700151 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
bohu268c72f2018-06-09 08:19:08 -0700152 device/generic/goldfish/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
153 device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
154 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
155 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
156 device/generic/goldfish/camera/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
157 device/generic/goldfish/camera/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
158 device/generic/goldfish/camera/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
159 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
Jeff McGlynn52d25632018-07-10 15:45:24 -0700160 frameworks/native/data/etc/android.hardware.camera.ar.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.ar.xml \
bohu268c72f2018-06-09 08:19:08 -0700161 frameworks/native/data/etc/android.hardware.camera.autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.autofocus.xml \
162 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
163 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
164 frameworks/native/data/etc/android.software.autofill.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.autofill.xml \
Matt Wachowski09896e12018-11-06 14:47:23 -0800165 frameworks/native/data/etc/android.software.verified_boot.xml:system/etc/permissions/android.software.verified_boot.xml \
huans64eca142018-06-18 14:45:46 -0700166 frameworks/av/media/libeffects/data/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
167 device/generic/goldfish/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
168 frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
169 frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \
170 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
171 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
172 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
Eric Laurent6405e782019-02-23 12:29:08 -0800173 frameworks/av/services/audiopolicy/config/surround_sound_configuration_5_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/surround_sound_configuration_5_0.xml \