blob: 6079862a798fad3c9fad15e7fe747ea6b5b5171f [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 Strachanf6d5bc72019-03-28 03:25:33 -070040 ro.com.google.locationfeatures=1 \
Greg Hartmandc268d12019-07-18 15:30:38 -070041
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070042# Explanation of specific properties:
43# debug.hwui.swap_with_damage avoids boot failure on M http://b/25152138
Greg Hartman32a08ed2018-12-18 19:48:11 -080044# ro.opengles.version OpenGLES 3.0
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070045PRODUCT_PROPERTY_OVERRIDES += \
Greg Hartman1c641da2018-03-12 18:29:51 -070046 tombstoned.max_tombstone_count=500 \
Alistair Strachan0f01ce02019-03-28 04:38:44 -070047 bt.rootcanal_test_console=off \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070048 debug.hwui.swap_with_damage=0 \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070049 ro.carrier=unknown \
50 ro.com.android.dataroaming=false \
Tomasz Wiszkowski9214f172017-09-19 14:36:53 -070051 ro.hardware.virtual_device=1 \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070052 ro.logd.size=1M \
Greg Hartman32a08ed2018-12-18 19:48:11 -080053 ro.opengles.version=196608 \
Tomasz Wiszkowski9214f172017-09-19 14:36:53 -070054 wifi.interface=wlan0 \
Greg Hartmandc268d12019-07-18 15:30:38 -070055 persist.sys.zram_enabled=1 \
Victor Hsieh117bd752019-11-21 15:11:48 -080056 ro.apk_verity.mode=2 \
Tomasz Wiszkowski9214f172017-09-19 14:36:53 -070057
58# Below is a list of properties we probably should get rid of.
59PRODUCT_PROPERTY_OVERRIDES += \
60 wlan.driver.status=ok
61
Emilian Peeve1500902019-10-28 10:27:49 -070062PRODUCT_SOONG_NAMESPACES += hardware/google/camera
Cheng Gu51cfec12019-11-13 22:27:41 -080063PRODUCT_SOONG_NAMESPACES += hardware/google/camera/devices/EmulatedCamera
Emilian Peeve1500902019-10-28 10:27:49 -070064
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070065#
66# Packages for various GCE-specific utilities
67#
68PRODUCT_PACKAGES += \
Cody Schuffelen4a58ddc2018-12-17 18:55:19 -080069 socket_vsock_proxy \
Tomasz Wiszkowskia2f420a2017-07-20 14:56:52 -070070 usbforward \
Jorge E. Moreirafa1a13d2019-04-16 13:46:54 -070071 CuttlefishService \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070072 wpa_supplicant.vsoc.conf \
Andreas Huberf9ad63a2018-01-18 12:55:43 -080073 vsoc_input_service \
Alistair Strachan5f90ba42018-05-03 11:43:25 -070074 vport_trigger \
Cody Schuffelen622d1642018-07-31 14:16:18 -070075 rename_netiface \
Greg Hartman692d2f32018-10-09 17:09:51 -070076 ip_link_add \
Cody Schuffelen32e8b942018-11-21 12:16:06 -080077 setup_wifi \
Ram Muthiah3c1cc132019-04-24 16:23:14 -070078 tombstone_transmit \
Cody Schuffelenc423e5d2019-09-16 19:49:45 +000079 vsock_logcat \
Ram Muthiah8fddac52019-05-30 19:00:32 -070080 tombstone_producer \
Tri Vo5c0f6322019-12-06 11:09:45 -080081 suspend_blocker \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070082
83#
84# Packages for AOSP-available stuff we use from the framework
85#
86PRODUCT_PACKAGES += \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070087 e2fsck \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070088 ip \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070089 sleep \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070090 tcpdump \
91 wpa_supplicant \
92 wificond \
93
94#
95# Packages for the OpenGL implementation
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070096#
Greg Hartmanaebd8b92018-07-24 01:51:52 -070097
Greg Hartman896507f2019-03-04 11:14:31 -080098# SwiftShader provides a software-only implementation that is not thread-safe
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070099PRODUCT_PACKAGES += \
100 libEGL_swiftshader \
101 libGLESv1_CM_swiftshader \
Greg Hartmanaebd8b92018-07-24 01:51:52 -0700102 libGLESv2_swiftshader
103
Greg Hartmana9e82c02019-04-03 15:11:24 -0700104# GL implementation for virgl
105PRODUCT_PACKAGES += \
106 libGLES_mesa
107
Jason Macnak61a6dcf2019-10-29 16:51:50 -0700108#
109# Packages for the Vulkan implementation
110#
111PRODUCT_PACKAGES += \
112 vulkan.pastel
113
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700114DEVICE_PACKAGE_OVERLAYS := device/google/cuttlefish/shared/overlay
Po-Chien Hsueh28d40cc2019-08-11 22:24:15 +0800115# PRODUCT_AAPT_CONFIG and PRODUCT_AAPT_PREF_CONFIG are intentionally not set to
116# pick up every density resources.
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700117
118#
119# General files
120#
121PRODUCT_COPY_FILES += \
Alistair Strachandbe337d2019-03-04 17:55:58 -0800122 device/google/cuttlefish/shared/config/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
Emilian Peeve1500902019-10-28 10:27:49 -0700123 hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_back.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_back.json \
124 hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_front.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_front.json \
125 hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_depth.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_depth.json \
Alistair Delva52b256d2019-12-26 14:09:01 -0800126 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 -0700127 device/google/cuttlefish/shared/config/init.product.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.rc \
Jorge E. Moreira3fc164b2019-01-31 17:58:05 -0800128 device/google/cuttlefish/shared/config/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
Steven Morelanda1f17832018-06-19 15:41:25 -0700129 device/google/cuttlefish/shared/config/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
Alistair Strachan383cd382019-02-15 16:53:42 -0800130 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 -0700131 device/google/cuttlefish/shared/config/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
132 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 -0700133 frameworks/av/media/libeffects/data/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Steven Morelanda1f17832018-06-19 15:41:25 -0700134 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
135 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 -0800136 frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
137 frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \
138 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 -0700139 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
140 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 -0800141 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 -0700142 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
143 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
144 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
145 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \
146 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
147 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
148 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
149 frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
150 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
151 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
152 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
153 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 -0800154 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 -0700155 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
156 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
157 frameworks/native/data/etc/android.hardware.touchscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.xml \
158 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 -0700159 frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
160 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 -0700161 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
162 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 -0700163 system/bt/vendor_libs/test_vendor_lib/data/controller_properties.json:vendor/etc/bluetooth/controller_properties.json \
Alistair Delvac4fcb672019-12-26 12:52:54 -0800164 device/google/cuttlefish/shared/config/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \
Alistair Delva5ac09652019-08-30 15:40:25 -0700165 device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RAMDISK)/fstab.cutf_cvm \
166 device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.cutf_cvm \
Ram Muthiah51253f22019-10-22 20:28:29 +0000167 device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.cutf_cvm \
Alistair Strachane7949c32018-11-28 16:42:48 -0800168
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700169# Packages for HAL implementations
170
171#
Alistair Strachan18458a62019-04-04 02:15:00 -0700172# Atrace HAL
173#
174PRODUCT_PACKAGES += \
175 android.hardware.atrace@1.0-service
176
177#
178# Authsecret HAL
179#
180PRODUCT_PACKAGES += \
181 android.hardware.authsecret@1.0-service
182
183#
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700184# Hardware Composer HAL
185#
186PRODUCT_PACKAGES += \
Colin Crossb3ee3d62019-03-22 13:18:13 -0700187 hwcomposer.drm_minigbm \
Greg Hartmanaa974fe2019-04-01 15:41:40 -0700188 hwcomposer.cutf_cvm_ashmem \
Jorge E. Moreira8b42ef62017-06-22 16:55:58 -0700189 hwcomposer-stats \
Alistair Strachan4b4a7b12019-04-18 15:14:17 -0700190 android.hardware.graphics.composer@2.2-impl \
191 android.hardware.graphics.composer@2.2-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700192
193#
194# Gralloc HAL
195#
196PRODUCT_PACKAGES += \
Alistair Strachanfaebd892018-03-20 14:21:31 -0700197 gralloc.minigbm \
Greg Hartmanaa974fe2019-04-01 15:41:40 -0700198 gralloc.cutf_ashmem \
Alistair Strachan5ea1b3a2019-04-18 15:12:35 -0700199 android.hardware.graphics.mapper@2.0-impl-2.1 \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700200 android.hardware.graphics.allocator@2.0-impl \
201 android.hardware.graphics.allocator@2.0-service
202
203#
204# Bluetooth HAL and Compatibility Bluetooth library (for older revs).
205#
206PRODUCT_PACKAGES += \
Jakub Pawlowskic888fc22019-11-19 18:05:07 +0100207 android.hardware.bluetooth@1.1-service.sim \
Alistair Strachan18458a62019-04-04 02:15:00 -0700208 android.hardware.bluetooth.audio@2.0-impl
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700209
210#
211# Audio HAL
212#
213PRODUCT_PACKAGES += \
Alistair Strachandbe337d2019-03-04 17:55:58 -0800214 audio.primary.cutf \
215 audio.r_submix.default \
Alistair Strachancdb21f32019-03-07 11:57:04 -0800216 android.hardware.audio@5.0-impl:32 \
217 android.hardware.audio.effect@5.0-impl:32 \
Alistair Strachandbe337d2019-03-04 17:55:58 -0800218 android.hardware.audio@2.0-service \
Nicholas Amburb34b8c72019-12-05 15:47:50 -0800219 android.hardware.soundtrigger@2.3-impl \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700220
221#
Ilya Matyukhinfe69be82020-01-22 13:44:41 -0800222# BiometricsFace HAL
223#
224PRODUCT_PACKAGES += \
225 android.hardware.biometrics.face@1.1-service.example
226
227#
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700228# Drm HAL
229#
230PRODUCT_PACKAGES += \
Alistair Delva2a5c0f22019-09-19 16:48:55 -0700231 android.hardware.drm@1.0-impl \
Edwin Wongd00bb402019-09-17 18:29:51 -0700232 android.hardware.drm@1.0-service \
Robert Shih63e5a1b2019-11-25 22:25:41 -0800233 android.hardware.drm@1.3-service.clearkey \
234 android.hardware.drm@1.3-service.widevine
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700235
236#
237# Dumpstate HAL
238#
239PRODUCT_PACKAGES += \
Hunter Knepshield1abd4e92020-01-21 13:46:09 -0800240 android.hardware.dumpstate@1.1-service.cuttlefish
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700241
242#
243# Camera
244#
245PRODUCT_PACKAGES += \
Emilian Peeve1500902019-10-28 10:27:49 -0700246 android.hardware.camera.provider@2.4-service-google \
247 libgooglecamerahwl_impl \
248 android.hardware.camera.provider@2.4-impl-google \
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700249
250#
Steven Moreland178b80e2018-01-10 10:03:23 -0800251# Gatekeeper
252#
253PRODUCT_PACKAGES += \
Janis Danisevskis64d71802019-06-06 16:04:57 -0700254 android.hardware.gatekeeper@1.0-service.software
Steven Moreland178b80e2018-01-10 10:03:23 -0800255
256#
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700257# GPS
258#
259PRODUCT_PACKAGES += \
Yu-Han Yang256bcaf2019-11-05 15:29:53 -0800260 android.hardware.gnss@2.1-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700261
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800262# Health
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800263PRODUCT_PACKAGES += \
Yifan Honga916b2e2019-10-14 16:50:00 -0700264 android.hardware.health@2.1-impl-cuttlefish \
265 android.hardware.health@2.1-service
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800266
Yifan Hongfe328a22019-01-04 10:43:16 -0800267# Health Storage
268PRODUCT_PACKAGES += \
269 android.hardware.health.storage@1.0-service.cuttlefish
270
David Zeuthenf5769c52020-01-14 19:28:21 -0500271# Identity Credential
272PRODUCT_PACKAGES += \
273 android.hardware.identity@1.0-service.example
274
Siarhei Vishniakou481c0612019-01-11 14:53:35 -0800275# Input Classifier HAL
276PRODUCT_PACKAGES += \
277 android.hardware.input.classifier@1.0-service.default
278
Sarah Chind3cb2532019-11-12 18:26:09 -0800279# Radio Config HAL
280PRODUCT_PACKAGES += \
281 android.hardware.radio.config@1.3-service
282
Steven Morelandc6bcbcd2018-01-10 12:27:59 -0800283#
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700284# Sensors
285#
286PRODUCT_PACKAGES += \
Brian Stack54928852019-02-07 10:45:09 -0800287 android.hardware.sensors@2.0-service.mock
Wei Wangee833142019-01-08 08:59:47 -0800288#
289# Thermal (mock)
290#
291PRODUCT_PACKAGES += \
Wei Wangb1a28932019-01-09 11:32:13 -0800292 android.hardware.thermal@2.0-service.mock
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700293
294#
295# Lights
296#
297PRODUCT_PACKAGES += \
Jorge E. Moreirad6d862d2019-02-27 16:20:08 -0800298 lights.cutf \
Steven Moreland1e0c2202018-01-08 12:45:07 -0800299 android.hardware.light@2.0-impl \
300 android.hardware.light@2.0-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700301
302#
303# Keymaster HAL
304#
305PRODUCT_PACKAGES += \
Shawn Willdenb1671082019-11-06 10:18:38 -0700306 android.hardware.keymaster@4.1-service
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700307
308#
309# Power HAL
310#
311PRODUCT_PACKAGES += \
Wei Wang35eefd82020-01-13 11:21:49 -0800312 android.hardware.power-service.example
Benjamin Schwartz3521ea12019-01-25 09:36:39 -0800313
314#
315# PowerStats HAL
316#
317PRODUCT_PACKAGES += \
318 android.hardware.power.stats@1.0-service.mock
319
Greg Hartman2fbc4942017-12-14 15:45:55 -0800320#
Michael Butlere15c4c32018-12-07 17:40:59 -0800321# NeuralNetworks HAL
322#
323PRODUCT_PACKAGES += \
Michael Butlerf1ef00c2019-09-11 12:42:06 -0700324 android.hardware.neuralnetworks@1.3-service-sample-all \
325 android.hardware.neuralnetworks@1.3-service-sample-float-fast \
326 android.hardware.neuralnetworks@1.3-service-sample-float-slow \
327 android.hardware.neuralnetworks@1.3-service-sample-minimal \
328 android.hardware.neuralnetworks@1.3-service-sample-quant
Michael Butlere15c4c32018-12-07 17:40:59 -0800329
330#
Greg Hartman2fbc4942017-12-14 15:45:55 -0800331# USB
332PRODUCT_PACKAGES += \
333 android.hardware.usb@1.0-service
334
Harpreet "Eli" Sangha0443f4f2019-01-31 16:13:12 +0900335# Vibrator HAL
336PRODUCT_PACKAGES += \
Steven Moreland691da382019-10-25 15:06:53 -0700337 android.hardware.vibrator-service.example
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -0700338
David Andersone9d94702019-10-07 13:27:01 -0700339# BootControl HAL
340PRODUCT_PACKAGES += \
341 android.hardware.boot@1.1-impl \
342 android.hardware.boot@1.1-impl.recovery \
343 android.hardware.boot@1.1-service
344
Kenny Root3a78def2019-12-03 15:31:05 -0800345# RebootEscrow HAL
346PRODUCT_PACKAGES += \
347 android.hardware.rebootescrow-service.default
348
Andreas Huber2ad62482018-01-31 09:15:01 -0800349# WLAN driver configuration files
350PRODUCT_COPY_FILES += \
351 $(LOCAL_PATH)/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
Alistair Strachan5b47aac2019-01-03 12:55:59 -0800352
353# Recovery mode
354ifneq ($(TARGET_NO_RECOVERY),true)
Alistair Strachan5b47aac2019-01-03 12:55:59 -0800355
356PRODUCT_COPY_FILES += \
Alistair Delva52b256d2019-12-26 14:09:01 -0800357 device/google/cuttlefish/shared/config/init.recovery.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.cutf_cvm.rc \
Alistair Delva3a44dfb2019-12-26 13:18:31 -0800358 device/google/cuttlefish/shared/config/cgroups.json:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/etc/cgroups.json \
Alistair Delva45486102019-12-26 14:16:04 -0800359 device/google/cuttlefish/shared/config/ueventd.rc:$(TARGET_COPY_OUT_RECOVERY)/root/ueventd.cutf_cvm.rc \
Alistair Strachan5b47aac2019-01-03 12:55:59 -0800360
361endif
Dan Willemsen302bfda2019-02-09 22:27:57 -0800362
Ram Muthiah901c8042019-07-24 17:04:03 -0700363#
364# Shell script Vendor Module Loading
365#
366PRODUCT_COPY_FILES += \
367 $(LOCAL_PATH)/config/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \
368
Dan Willemsen302bfda2019-02-09 22:27:57 -0800369# Host packages to install
Cody Schuffelene22a3312019-11-22 17:38:56 +0000370PRODUCT_HOST_PACKAGES += socket_vsock_proxy
Cody Schuffelen70c304c2019-10-28 12:13:30 -0700371
372PRODUCT_EXTRA_VNDK_VERSIONS := 28 29