blob: 421c44daa2a2a963de06e9ac9c674776f56c1c25 [file] [log] [blame]
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -07001#
2# Copyright (C) 2017 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
Jiyong Parkdb9ec5e2019-04-15 14:19:52 +090017# Enable updating of APEXes
18$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
19
Alistair Strachanfd003112019-03-28 07:07:59 -070020PRODUCT_SHIPPING_API_LEVEL := 29
Chris Gross0b9b32a2019-04-24 08:53:10 -070021PRODUCT_BUILD_BOOT_IMAGE := true
Alistair Delva5ac09652019-08-30 15:40:25 -070022PRODUCT_USE_DYNAMIC_PARTITIONS := true
Shuo Qian02bfe462018-05-07 20:53:03 +000023DISABLE_RILD_OEM_HOOK := true
24
David Andersona4220b92019-10-10 17:34:40 -070025AB_OTA_UPDATER := true
26AB_OTA_PARTITIONS += \
27 product \
28 system \
29 system_ext \
30 vendor
31
32# Enable Virtual A/B
33$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
34
Alistair Strachanf0f95782019-03-28 03:26:53 -070035# Properties that are not vendor-specific. These will go in the product
36# partition, instead of the vendor partition, and do not need vendor
Alistair Strachanf6d5bc72019-03-28 03:25:33 -070037# sepolicy
Alistair Delva76c46d52019-12-12 13:54:53 -080038PRODUCT_PRODUCT_PROPERTIES += \
Alistair Strachanf9709222019-03-28 04:23:04 -070039 persist.adb.tcp.port=5555 \
Alistair Strachanf0f95782019-03-28 03:26:53 -070040 persist.traced.enable=1 \
Alistair Strachanf6d5bc72019-03-28 03:25:33 -070041 ro.com.google.locationfeatures=1 \
Greg Hartmandc268d12019-07-18 15:30:38 -070042
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070043# Explanation of specific properties:
44# debug.hwui.swap_with_damage avoids boot failure on M http://b/25152138
Greg Hartman32a08ed2018-12-18 19:48:11 -080045# ro.opengles.version OpenGLES 3.0
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070046PRODUCT_PROPERTY_OVERRIDES += \
Greg Hartman1c641da2018-03-12 18:29:51 -070047 tombstoned.max_tombstone_count=500 \
Alistair Strachan0f01ce02019-03-28 04:38:44 -070048 bt.rootcanal_test_console=off \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070049 debug.hwui.swap_with_damage=0 \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070050 ro.carrier=unknown \
51 ro.com.android.dataroaming=false \
Tomasz Wiszkowski9214f172017-09-19 14:36:53 -070052 ro.hardware.virtual_device=1 \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070053 ro.logd.size=1M \
Greg Hartman32a08ed2018-12-18 19:48:11 -080054 ro.opengles.version=196608 \
Tomasz Wiszkowski9214f172017-09-19 14:36:53 -070055 wifi.interface=wlan0 \
Greg Hartmandc268d12019-07-18 15:30:38 -070056 persist.sys.zram_enabled=1 \
Victor Hsieh117bd752019-11-21 15:11:48 -080057 ro.apk_verity.mode=2 \
Tomasz Wiszkowski9214f172017-09-19 14:36:53 -070058
59# Below is a list of properties we probably should get rid of.
60PRODUCT_PROPERTY_OVERRIDES += \
61 wlan.driver.status=ok
62
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070063#
64# Packages for various GCE-specific utilities
65#
66PRODUCT_PACKAGES += \
Cody Schuffelen4a58ddc2018-12-17 18:55:19 -080067 socket_vsock_proxy \
Tomasz Wiszkowskia2f420a2017-07-20 14:56:52 -070068 usbforward \
Jorge E. Moreirafa1a13d2019-04-16 13:46:54 -070069 CuttlefishService \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070070 wpa_supplicant.vsoc.conf \
Andreas Huberf9ad63a2018-01-18 12:55:43 -080071 vsoc_input_service \
Alistair Strachan5f90ba42018-05-03 11:43:25 -070072 vport_trigger \
Cody Schuffelen622d1642018-07-31 14:16:18 -070073 rename_netiface \
Greg Hartman692d2f32018-10-09 17:09:51 -070074 ip_link_add \
Cody Schuffelen32e8b942018-11-21 12:16:06 -080075 setup_wifi \
Ram Muthiah3c1cc132019-04-24 16:23:14 -070076 tombstone_transmit \
Cody Schuffelenc423e5d2019-09-16 19:49:45 +000077 vsock_logcat \
Ram Muthiah8fddac52019-05-30 19:00:32 -070078 tombstone_producer \
Tri Vo5c0f6322019-12-06 11:09:45 -080079 suspend_blocker \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070080
81#
82# Packages for AOSP-available stuff we use from the framework
83#
84PRODUCT_PACKAGES += \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070085 e2fsck \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070086 ip \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070087 sleep \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070088 tcpdump \
89 wpa_supplicant \
90 wificond \
91
92#
93# Packages for the OpenGL implementation
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070094#
Greg Hartmanaebd8b92018-07-24 01:51:52 -070095
Greg Hartman896507f2019-03-04 11:14:31 -080096# SwiftShader provides a software-only implementation that is not thread-safe
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070097PRODUCT_PACKAGES += \
98 libEGL_swiftshader \
99 libGLESv1_CM_swiftshader \
Greg Hartmanaebd8b92018-07-24 01:51:52 -0700100 libGLESv2_swiftshader
101
Greg Hartmana9e82c02019-04-03 15:11:24 -0700102# GL implementation for virgl
103PRODUCT_PACKAGES += \
104 libGLES_mesa
105
Jason Macnak61a6dcf2019-10-29 16:51:50 -0700106#
107# Packages for the Vulkan implementation
108#
109PRODUCT_PACKAGES += \
110 vulkan.pastel
111
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700112DEVICE_PACKAGE_OVERLAYS := device/google/cuttlefish/shared/overlay
Po-Chien Hsueh28d40cc2019-08-11 22:24:15 +0800113# PRODUCT_AAPT_CONFIG and PRODUCT_AAPT_PREF_CONFIG are intentionally not set to
114# pick up every density resources.
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700115
116#
117# General files
118#
119PRODUCT_COPY_FILES += \
Alistair Strachandbe337d2019-03-04 17:55:58 -0800120 device/google/cuttlefish/shared/config/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
Cody Schuffelen56d0d1d2018-08-20 17:49:17 -0700121 device/google/cuttlefish/shared/config/camera_v3.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/camera.json \
Alistair Delvaae13dfa2019-12-26 14:09:01 -0800122 device/google/cuttlefish/shared/config/init.vendor.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.cutf_cvm.rc \
Jorge E. Moreirac11b1642019-04-09 11:43:54 -0700123 device/google/cuttlefish/shared/config/init.product.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.rc \
Jorge E. Moreira3fc164b2019-01-31 17:58:05 -0800124 device/google/cuttlefish/shared/config/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
Steven Morelanda1f17832018-06-19 15:41:25 -0700125 device/google/cuttlefish/shared/config/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
Alistair Strachan383cd382019-02-15 16:53:42 -0800126 device/google/cuttlefish/shared/config/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
Steven Morelanda1f17832018-06-19 15:41:25 -0700127 device/google/cuttlefish/shared/config/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
128 device/google/cuttlefish/shared/config/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
Alistair Strachan11738de2019-03-19 18:37:05 -0700129 frameworks/av/media/libeffects/data/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Steven Morelanda1f17832018-06-19 15:41:25 -0700130 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
131 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
Alistair Strachandbe337d2019-03-04 17:55:58 -0800132 frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
133 frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \
134 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700135 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
136 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
Eric Laurent3e774442019-02-23 12:46:30 -0800137 frameworks/av/services/audiopolicy/config/surround_sound_configuration_5_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/surround_sound_configuration_5_0.xml \
Steven Morelandd4384132018-06-12 11:14:30 -0700138 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
139 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
140 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
141 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \
142 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
143 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
144 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
145 frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
146 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
147 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
148 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
149 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
Alistair Strachan68d11ae2019-02-15 13:40:11 -0800150 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
Steven Morelandd4384132018-06-12 11:14:30 -0700151 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
152 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
153 frameworks/native/data/etc/android.hardware.touchscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.xml \
154 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
Jason Macnak9a942622019-10-30 09:52:23 -0700155 frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
156 frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \
Steven Morelandd4384132018-06-12 11:14:30 -0700157 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
158 frameworks/native/data/etc/android.software.app_widgets.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.app_widgets.xml \
Jorge E. Moreira94269e72019-03-12 15:19:54 -0700159 system/bt/vendor_libs/test_vendor_lib/data/controller_properties.json:vendor/etc/bluetooth/controller_properties.json \
Alistair Delvac4fcb672019-12-26 12:52:54 -0800160 device/google/cuttlefish/shared/config/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \
Alistair Delva5ac09652019-08-30 15:40:25 -0700161 device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RAMDISK)/fstab.cutf_cvm \
162 device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.cutf_cvm \
Ram Muthiah51253f22019-10-22 20:28:29 +0000163 device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.cutf_cvm \
Alistair Strachane7949c32018-11-28 16:42:48 -0800164
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700165# Packages for HAL implementations
166
167#
Alistair Strachan18458a62019-04-04 02:15:00 -0700168# Atrace HAL
169#
170PRODUCT_PACKAGES += \
171 android.hardware.atrace@1.0-service
172
173#
174# Authsecret HAL
175#
176PRODUCT_PACKAGES += \
177 android.hardware.authsecret@1.0-service
178
179#
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700180# Hardware Composer HAL
181#
182PRODUCT_PACKAGES += \
Colin Crossb3ee3d62019-03-22 13:18:13 -0700183 hwcomposer.drm_minigbm \
Greg Hartmanaa974fe2019-04-01 15:41:40 -0700184 hwcomposer.cutf_cvm_ashmem \
Jorge E. Moreira8b42ef62017-06-22 16:55:58 -0700185 hwcomposer-stats \
Alistair Strachan4b4a7b12019-04-18 15:14:17 -0700186 android.hardware.graphics.composer@2.2-impl \
187 android.hardware.graphics.composer@2.2-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700188
189#
190# Gralloc HAL
191#
192PRODUCT_PACKAGES += \
Alistair Strachanfaebd892018-03-20 14:21:31 -0700193 gralloc.minigbm \
Greg Hartmanaa974fe2019-04-01 15:41:40 -0700194 gralloc.cutf_ashmem \
Alistair Strachan5ea1b3a2019-04-18 15:12:35 -0700195 android.hardware.graphics.mapper@2.0-impl-2.1 \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700196 android.hardware.graphics.allocator@2.0-impl \
197 android.hardware.graphics.allocator@2.0-service
198
199#
200# Bluetooth HAL and Compatibility Bluetooth library (for older revs).
201#
202PRODUCT_PACKAGES += \
Jakub Pawlowskic888fc22019-11-19 18:05:07 +0100203 android.hardware.bluetooth@1.1-service.sim \
Alistair Strachan18458a62019-04-04 02:15:00 -0700204 android.hardware.bluetooth.audio@2.0-impl
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700205
206#
207# Audio HAL
208#
209PRODUCT_PACKAGES += \
Alistair Strachandbe337d2019-03-04 17:55:58 -0800210 audio.primary.cutf \
211 audio.r_submix.default \
Alistair Strachancdb21f32019-03-07 11:57:04 -0800212 android.hardware.audio@5.0-impl:32 \
213 android.hardware.audio.effect@5.0-impl:32 \
Alistair Strachandbe337d2019-03-04 17:55:58 -0800214 android.hardware.audio@2.0-service \
215 android.hardware.soundtrigger@2.0-impl \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700216
217#
218# Drm HAL
219#
220PRODUCT_PACKAGES += \
Alistair Delva2a5c0f22019-09-19 16:48:55 -0700221 android.hardware.drm@1.0-impl \
Edwin Wongd00bb402019-09-17 18:29:51 -0700222 android.hardware.drm@1.0-service \
Edwin Wong84d6d812019-10-18 13:29:22 -0700223 android.hardware.drm@1.2-service.clearkey \
224 android.hardware.drm@1.2-service.widevine
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700225
226#
227# Dumpstate HAL
228#
229PRODUCT_PACKAGES += \
Greg Hartmand0bdc992017-08-17 15:45:08 -0700230 android.hardware.dumpstate@1.0-service.cuttlefish
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700231
232#
233# Camera
234#
235PRODUCT_PACKAGES += \
Jorge E. Moreirad6d862d2019-02-27 16:20:08 -0800236 camera.cutf \
237 camera.cutf.jpeg \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700238 camera.device@3.2-impl \
Steven Moreland84c2d182018-01-08 17:18:14 -0800239 android.hardware.camera.provider@2.4-impl \
240 android.hardware.camera.provider@2.4-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700241
242#
Steven Moreland178b80e2018-01-10 10:03:23 -0800243# Gatekeeper
244#
245PRODUCT_PACKAGES += \
Janis Danisevskis64d71802019-06-06 16:04:57 -0700246 android.hardware.gatekeeper@1.0-service.software
Steven Moreland178b80e2018-01-10 10:03:23 -0800247
248#
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700249# GPS
250#
251PRODUCT_PACKAGES += \
Yu-Han Yang82e9a622018-11-14 12:54:09 -0800252 android.hardware.gnss@2.0-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700253
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800254# Health
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800255PRODUCT_PACKAGES += \
Yifan Honga916b2e2019-10-14 16:50:00 -0700256 android.hardware.health@2.1-impl-cuttlefish \
257 android.hardware.health@2.1-service
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800258
Yifan Hongfe328a22019-01-04 10:43:16 -0800259# Health Storage
260PRODUCT_PACKAGES += \
261 android.hardware.health.storage@1.0-service.cuttlefish
262
Siarhei Vishniakou481c0612019-01-11 14:53:35 -0800263# Input Classifier HAL
264PRODUCT_PACKAGES += \
265 android.hardware.input.classifier@1.0-service.default
266
Sarah Chindfe73d32019-11-12 18:26:09 -0800267# Radio Config HAL
268PRODUCT_PACKAGES += \
269 android.hardware.radio.config@1.3-service
270
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800271#
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700272# Sensors
273#
274PRODUCT_PACKAGES += \
Brian Stack54928852019-02-07 10:45:09 -0800275 android.hardware.sensors@2.0-service.mock
Wei Wangee833142019-01-08 08:59:47 -0800276#
277# Thermal (mock)
278#
279PRODUCT_PACKAGES += \
Wei Wangb1a28932019-01-09 11:32:13 -0800280 android.hardware.thermal@2.0-service.mock
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700281
282#
283# Lights
284#
285PRODUCT_PACKAGES += \
Jorge E. Moreirad6d862d2019-02-27 16:20:08 -0800286 lights.cutf \
Steven Moreland1e0c2202018-01-08 12:45:07 -0800287 android.hardware.light@2.0-impl \
288 android.hardware.light@2.0-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700289
290#
291# Keymaster HAL
292#
293PRODUCT_PACKAGES += \
Shawn Willdenb1671082019-11-06 10:18:38 -0700294 android.hardware.keymaster@4.1-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700295
296#
297# Power HAL
298#
299PRODUCT_PACKAGES += \
Alistair Delva39f2f152019-07-19 14:11:44 -0700300 power.cutf \
Steven Morelandbb738472018-01-08 12:46:04 -0800301 android.hardware.power@1.0-impl \
302 android.hardware.power@1.0-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700303
Benjamin Schwartz3521ea12019-01-25 09:36:39 -0800304
305#
306# PowerStats HAL
307#
308PRODUCT_PACKAGES += \
309 android.hardware.power.stats@1.0-service.mock
310
Greg Hartman2fbc4942017-12-14 15:45:55 -0800311#
Michael Butlere15c4c32018-12-07 17:40:59 -0800312# NeuralNetworks HAL
313#
314PRODUCT_PACKAGES += \
Michael Butlerf1ef00c2019-09-11 12:42:06 -0700315 android.hardware.neuralnetworks@1.3-service-sample-all \
316 android.hardware.neuralnetworks@1.3-service-sample-float-fast \
317 android.hardware.neuralnetworks@1.3-service-sample-float-slow \
318 android.hardware.neuralnetworks@1.3-service-sample-minimal \
319 android.hardware.neuralnetworks@1.3-service-sample-quant
Michael Butlere15c4c32018-12-07 17:40:59 -0800320
321#
Greg Hartman2fbc4942017-12-14 15:45:55 -0800322# USB
323PRODUCT_PACKAGES += \
324 android.hardware.usb@1.0-service
325
Harpreet "Eli" Sangha0443f4f2019-01-31 16:13:12 +0900326# Vibrator HAL
327PRODUCT_PACKAGES += \
Steven Moreland691da382019-10-25 15:06:53 -0700328 android.hardware.vibrator-service.example
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700329
David Andersone9d94702019-10-07 13:27:01 -0700330# BootControl HAL
331PRODUCT_PACKAGES += \
332 android.hardware.boot@1.1-impl \
333 android.hardware.boot@1.1-impl.recovery \
334 android.hardware.boot@1.1-service
335
Andreas Huber2ad62482018-01-31 09:15:01 -0800336# WLAN driver configuration files
337PRODUCT_COPY_FILES += \
338 $(LOCAL_PATH)/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
Alistair Strachan5b47aac2019-01-03 12:55:59 -0800339
340# Recovery mode
341ifneq ($(TARGET_NO_RECOVERY),true)
Alistair Strachan5b47aac2019-01-03 12:55:59 -0800342
343PRODUCT_COPY_FILES += \
Alistair Delvaae13dfa2019-12-26 14:09:01 -0800344 device/google/cuttlefish/shared/config/init.recovery.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.cutf_cvm.rc \
Alistair Delva46b5e942019-12-26 13:18:31 -0800345 device/google/cuttlefish/shared/config/cgroups.json:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/etc/cgroups.json \
Alistair Delva3d7531b2019-12-26 14:16:04 -0800346 device/google/cuttlefish/shared/config/ueventd.rc:$(TARGET_COPY_OUT_RECOVERY)/root/ueventd.cutf_cvm.rc \
Alistair Strachan5b47aac2019-01-03 12:55:59 -0800347
348endif
Dan Willemsen302bfda2019-02-09 22:27:57 -0800349
Ram Muthiah901c8042019-07-24 17:04:03 -0700350#
351# Shell script Vendor Module Loading
352#
353PRODUCT_COPY_FILES += \
354 $(LOCAL_PATH)/config/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \
355
Dan Willemsen302bfda2019-02-09 22:27:57 -0800356# Host packages to install
Cody Schuffelene22a3312019-11-22 17:38:56 +0000357PRODUCT_HOST_PACKAGES += socket_vsock_proxy
Cody Schuffelen70c304c2019-10-28 12:13:30 -0700358
359PRODUCT_EXTRA_VNDK_VERSIONS := 28 29