Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 1 | # |
| 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 Park | db9ec5e | 2019-04-15 14:19:52 +0900 | [diff] [blame] | 17 | # Enable updating of APEXes |
| 18 | $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) |
| 19 | |
Alistair Strachan | fd00311 | 2019-03-28 07:07:59 -0700 | [diff] [blame] | 20 | PRODUCT_SHIPPING_API_LEVEL := 29 |
Chris Gross | 0b9b32a | 2019-04-24 08:53:10 -0700 | [diff] [blame] | 21 | PRODUCT_BUILD_BOOT_IMAGE := true |
Alistair Delva | 5ac0965 | 2019-08-30 15:40:25 -0700 | [diff] [blame] | 22 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
Shuo Qian | 02bfe46 | 2018-05-07 20:53:03 +0000 | [diff] [blame] | 23 | DISABLE_RILD_OEM_HOOK := true |
| 24 | |
David Anderson | a4220b9 | 2019-10-10 17:34:40 -0700 | [diff] [blame] | 25 | AB_OTA_UPDATER := true |
| 26 | AB_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 Strachan | f0f9578 | 2019-03-28 03:26:53 -0700 | [diff] [blame] | 35 | # 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 Strachan | f6d5bc7 | 2019-03-28 03:25:33 -0700 | [diff] [blame] | 37 | # sepolicy |
Alistair Delva | 76c46d5 | 2019-12-12 13:54:53 -0800 | [diff] [blame] | 38 | PRODUCT_PRODUCT_PROPERTIES += \ |
Alistair Strachan | f970922 | 2019-03-28 04:23:04 -0700 | [diff] [blame] | 39 | persist.adb.tcp.port=5555 \ |
Alistair Strachan | f0f9578 | 2019-03-28 03:26:53 -0700 | [diff] [blame] | 40 | persist.traced.enable=1 \ |
Alistair Strachan | f6d5bc7 | 2019-03-28 03:25:33 -0700 | [diff] [blame] | 41 | ro.com.google.locationfeatures=1 \ |
Greg Hartman | dc268d1 | 2019-07-18 15:30:38 -0700 | [diff] [blame] | 42 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 43 | # Explanation of specific properties: |
| 44 | # debug.hwui.swap_with_damage avoids boot failure on M http://b/25152138 |
Greg Hartman | 32a08ed | 2018-12-18 19:48:11 -0800 | [diff] [blame] | 45 | # ro.opengles.version OpenGLES 3.0 |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 46 | PRODUCT_PROPERTY_OVERRIDES += \ |
Greg Hartman | 1c641da | 2018-03-12 18:29:51 -0700 | [diff] [blame] | 47 | tombstoned.max_tombstone_count=500 \ |
Alistair Strachan | 0f01ce0 | 2019-03-28 04:38:44 -0700 | [diff] [blame] | 48 | bt.rootcanal_test_console=off \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 49 | debug.hwui.swap_with_damage=0 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 50 | ro.carrier=unknown \ |
| 51 | ro.com.android.dataroaming=false \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 52 | ro.hardware.virtual_device=1 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 53 | ro.logd.size=1M \ |
Greg Hartman | 32a08ed | 2018-12-18 19:48:11 -0800 | [diff] [blame] | 54 | ro.opengles.version=196608 \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 55 | wifi.interface=wlan0 \ |
Greg Hartman | dc268d1 | 2019-07-18 15:30:38 -0700 | [diff] [blame] | 56 | persist.sys.zram_enabled=1 \ |
Victor Hsieh | 117bd75 | 2019-11-21 15:11:48 -0800 | [diff] [blame] | 57 | ro.apk_verity.mode=2 \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 58 | |
| 59 | # Below is a list of properties we probably should get rid of. |
| 60 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 61 | wlan.driver.status=ok |
| 62 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 63 | # |
| 64 | # Packages for various GCE-specific utilities |
| 65 | # |
| 66 | PRODUCT_PACKAGES += \ |
Cody Schuffelen | 4a58ddc | 2018-12-17 18:55:19 -0800 | [diff] [blame] | 67 | socket_vsock_proxy \ |
Tomasz Wiszkowski | a2f420a | 2017-07-20 14:56:52 -0700 | [diff] [blame] | 68 | usbforward \ |
Jorge E. Moreira | fa1a13d | 2019-04-16 13:46:54 -0700 | [diff] [blame] | 69 | CuttlefishService \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 70 | wpa_supplicant.vsoc.conf \ |
Andreas Huber | f9ad63a | 2018-01-18 12:55:43 -0800 | [diff] [blame] | 71 | vsoc_input_service \ |
Alistair Strachan | 5f90ba4 | 2018-05-03 11:43:25 -0700 | [diff] [blame] | 72 | vport_trigger \ |
Cody Schuffelen | 622d164 | 2018-07-31 14:16:18 -0700 | [diff] [blame] | 73 | rename_netiface \ |
Greg Hartman | 692d2f3 | 2018-10-09 17:09:51 -0700 | [diff] [blame] | 74 | ip_link_add \ |
Cody Schuffelen | 32e8b94 | 2018-11-21 12:16:06 -0800 | [diff] [blame] | 75 | setup_wifi \ |
Ram Muthiah | 3c1cc13 | 2019-04-24 16:23:14 -0700 | [diff] [blame] | 76 | tombstone_transmit \ |
Cody Schuffelen | c423e5d | 2019-09-16 19:49:45 +0000 | [diff] [blame] | 77 | vsock_logcat \ |
Ram Muthiah | 8fddac5 | 2019-05-30 19:00:32 -0700 | [diff] [blame] | 78 | tombstone_producer \ |
Tri Vo | 5c0f632 | 2019-12-06 11:09:45 -0800 | [diff] [blame] | 79 | suspend_blocker \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 80 | |
| 81 | # |
| 82 | # Packages for AOSP-available stuff we use from the framework |
| 83 | # |
| 84 | PRODUCT_PACKAGES += \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 85 | e2fsck \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 86 | ip \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 87 | sleep \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 88 | tcpdump \ |
| 89 | wpa_supplicant \ |
| 90 | wificond \ |
| 91 | |
| 92 | # |
| 93 | # Packages for the OpenGL implementation |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 94 | # |
Greg Hartman | aebd8b9 | 2018-07-24 01:51:52 -0700 | [diff] [blame] | 95 | |
Greg Hartman | 896507f | 2019-03-04 11:14:31 -0800 | [diff] [blame] | 96 | # SwiftShader provides a software-only implementation that is not thread-safe |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 97 | PRODUCT_PACKAGES += \ |
| 98 | libEGL_swiftshader \ |
| 99 | libGLESv1_CM_swiftshader \ |
Greg Hartman | aebd8b9 | 2018-07-24 01:51:52 -0700 | [diff] [blame] | 100 | libGLESv2_swiftshader |
| 101 | |
Greg Hartman | a9e82c0 | 2019-04-03 15:11:24 -0700 | [diff] [blame] | 102 | # GL implementation for virgl |
| 103 | PRODUCT_PACKAGES += \ |
| 104 | libGLES_mesa |
| 105 | |
Jason Macnak | 61a6dcf | 2019-10-29 16:51:50 -0700 | [diff] [blame] | 106 | # |
| 107 | # Packages for the Vulkan implementation |
| 108 | # |
| 109 | PRODUCT_PACKAGES += \ |
| 110 | vulkan.pastel |
| 111 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 112 | DEVICE_PACKAGE_OVERLAYS := device/google/cuttlefish/shared/overlay |
Po-Chien Hsueh | 28d40cc | 2019-08-11 22:24:15 +0800 | [diff] [blame] | 113 | # PRODUCT_AAPT_CONFIG and PRODUCT_AAPT_PREF_CONFIG are intentionally not set to |
| 114 | # pick up every density resources. |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 115 | |
| 116 | # |
| 117 | # General files |
| 118 | # |
| 119 | PRODUCT_COPY_FILES += \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 120 | device/google/cuttlefish/shared/config/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
Cody Schuffelen | 56d0d1d | 2018-08-20 17:49:17 -0700 | [diff] [blame] | 121 | device/google/cuttlefish/shared/config/camera_v3.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/camera.json \ |
Alistair Delva | ae13dfa | 2019-12-26 14:09:01 -0800 | [diff] [blame] | 122 | device/google/cuttlefish/shared/config/init.vendor.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.cutf_cvm.rc \ |
Jorge E. Moreira | c11b164 | 2019-04-09 11:43:54 -0700 | [diff] [blame] | 123 | device/google/cuttlefish/shared/config/init.product.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.rc \ |
Jorge E. Moreira | 3fc164b | 2019-01-31 17:58:05 -0800 | [diff] [blame] | 124 | device/google/cuttlefish/shared/config/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ |
Steven Moreland | a1f1783 | 2018-06-19 15:41:25 -0700 | [diff] [blame] | 125 | device/google/cuttlefish/shared/config/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
Alistair Strachan | 383cd38 | 2019-02-15 16:53:42 -0800 | [diff] [blame] | 126 | device/google/cuttlefish/shared/config/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ |
Steven Moreland | a1f1783 | 2018-06-19 15:41:25 -0700 | [diff] [blame] | 127 | 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 Strachan | 11738de | 2019-03-19 18:37:05 -0700 | [diff] [blame] | 129 | frameworks/av/media/libeffects/data/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
Steven Moreland | a1f1783 | 2018-06-19 15:41:25 -0700 | [diff] [blame] | 130 | 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 Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 132 | 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 Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 135 | 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 Laurent | 3e77444 | 2019-02-23 12:46:30 -0800 | [diff] [blame] | 137 | frameworks/av/services/audiopolicy/config/surround_sound_configuration_5_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/surround_sound_configuration_5_0.xml \ |
Steven Moreland | d438413 | 2018-06-12 11:14:30 -0700 | [diff] [blame] | 138 | 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 Strachan | 68d11ae | 2019-02-15 13:40:11 -0800 | [diff] [blame] | 150 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
Steven Moreland | d438413 | 2018-06-12 11:14:30 -0700 | [diff] [blame] | 151 | 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 Macnak | 9a94262 | 2019-10-30 09:52:23 -0700 | [diff] [blame] | 155 | 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 Moreland | d438413 | 2018-06-12 11:14:30 -0700 | [diff] [blame] | 157 | 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. Moreira | 94269e7 | 2019-03-12 15:19:54 -0700 | [diff] [blame] | 159 | system/bt/vendor_libs/test_vendor_lib/data/controller_properties.json:vendor/etc/bluetooth/controller_properties.json \ |
Alistair Delva | c4fcb67 | 2019-12-26 12:52:54 -0800 | [diff] [blame] | 160 | device/google/cuttlefish/shared/config/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \ |
Alistair Delva | 5ac0965 | 2019-08-30 15:40:25 -0700 | [diff] [blame] | 161 | 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 Muthiah | 51253f2 | 2019-10-22 20:28:29 +0000 | [diff] [blame] | 163 | device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.cutf_cvm \ |
Alistair Strachan | e7949c3 | 2018-11-28 16:42:48 -0800 | [diff] [blame] | 164 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 165 | # Packages for HAL implementations |
| 166 | |
| 167 | # |
Alistair Strachan | 18458a6 | 2019-04-04 02:15:00 -0700 | [diff] [blame] | 168 | # Atrace HAL |
| 169 | # |
| 170 | PRODUCT_PACKAGES += \ |
| 171 | android.hardware.atrace@1.0-service |
| 172 | |
| 173 | # |
| 174 | # Authsecret HAL |
| 175 | # |
| 176 | PRODUCT_PACKAGES += \ |
| 177 | android.hardware.authsecret@1.0-service |
| 178 | |
| 179 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 180 | # Hardware Composer HAL |
| 181 | # |
| 182 | PRODUCT_PACKAGES += \ |
Colin Cross | b3ee3d6 | 2019-03-22 13:18:13 -0700 | [diff] [blame] | 183 | hwcomposer.drm_minigbm \ |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 184 | hwcomposer.cutf_cvm_ashmem \ |
Jorge E. Moreira | 8b42ef6 | 2017-06-22 16:55:58 -0700 | [diff] [blame] | 185 | hwcomposer-stats \ |
Alistair Strachan | 4b4a7b1 | 2019-04-18 15:14:17 -0700 | [diff] [blame] | 186 | android.hardware.graphics.composer@2.2-impl \ |
| 187 | android.hardware.graphics.composer@2.2-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 188 | |
| 189 | # |
| 190 | # Gralloc HAL |
| 191 | # |
| 192 | PRODUCT_PACKAGES += \ |
Alistair Strachan | faebd89 | 2018-03-20 14:21:31 -0700 | [diff] [blame] | 193 | gralloc.minigbm \ |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 194 | gralloc.cutf_ashmem \ |
Alistair Strachan | 5ea1b3a | 2019-04-18 15:12:35 -0700 | [diff] [blame] | 195 | android.hardware.graphics.mapper@2.0-impl-2.1 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 196 | 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 | # |
| 202 | PRODUCT_PACKAGES += \ |
Jakub Pawlowski | c888fc2 | 2019-11-19 18:05:07 +0100 | [diff] [blame] | 203 | android.hardware.bluetooth@1.1-service.sim \ |
Alistair Strachan | 18458a6 | 2019-04-04 02:15:00 -0700 | [diff] [blame] | 204 | android.hardware.bluetooth.audio@2.0-impl |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 205 | |
| 206 | # |
| 207 | # Audio HAL |
| 208 | # |
| 209 | PRODUCT_PACKAGES += \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 210 | audio.primary.cutf \ |
| 211 | audio.r_submix.default \ |
Alistair Strachan | cdb21f3 | 2019-03-07 11:57:04 -0800 | [diff] [blame] | 212 | android.hardware.audio@5.0-impl:32 \ |
| 213 | android.hardware.audio.effect@5.0-impl:32 \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 214 | android.hardware.audio@2.0-service \ |
| 215 | android.hardware.soundtrigger@2.0-impl \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 216 | |
| 217 | # |
| 218 | # Drm HAL |
| 219 | # |
| 220 | PRODUCT_PACKAGES += \ |
Alistair Delva | 2a5c0f2 | 2019-09-19 16:48:55 -0700 | [diff] [blame] | 221 | android.hardware.drm@1.0-impl \ |
Edwin Wong | d00bb40 | 2019-09-17 18:29:51 -0700 | [diff] [blame] | 222 | android.hardware.drm@1.0-service \ |
Edwin Wong | 84d6d81 | 2019-10-18 13:29:22 -0700 | [diff] [blame] | 223 | android.hardware.drm@1.2-service.clearkey \ |
| 224 | android.hardware.drm@1.2-service.widevine |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 225 | |
| 226 | # |
| 227 | # Dumpstate HAL |
| 228 | # |
| 229 | PRODUCT_PACKAGES += \ |
Greg Hartman | d0bdc99 | 2017-08-17 15:45:08 -0700 | [diff] [blame] | 230 | android.hardware.dumpstate@1.0-service.cuttlefish |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 231 | |
| 232 | # |
| 233 | # Camera |
| 234 | # |
| 235 | PRODUCT_PACKAGES += \ |
Jorge E. Moreira | d6d862d | 2019-02-27 16:20:08 -0800 | [diff] [blame] | 236 | camera.cutf \ |
| 237 | camera.cutf.jpeg \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 238 | camera.device@3.2-impl \ |
Steven Moreland | 84c2d18 | 2018-01-08 17:18:14 -0800 | [diff] [blame] | 239 | android.hardware.camera.provider@2.4-impl \ |
| 240 | android.hardware.camera.provider@2.4-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 241 | |
| 242 | # |
Steven Moreland | 178b80e | 2018-01-10 10:03:23 -0800 | [diff] [blame] | 243 | # Gatekeeper |
| 244 | # |
| 245 | PRODUCT_PACKAGES += \ |
Janis Danisevskis | 64d7180 | 2019-06-06 16:04:57 -0700 | [diff] [blame] | 246 | android.hardware.gatekeeper@1.0-service.software |
Steven Moreland | 178b80e | 2018-01-10 10:03:23 -0800 | [diff] [blame] | 247 | |
| 248 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 249 | # GPS |
| 250 | # |
| 251 | PRODUCT_PACKAGES += \ |
Yu-Han Yang | 82e9a62 | 2018-11-14 12:54:09 -0800 | [diff] [blame] | 252 | android.hardware.gnss@2.0-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 253 | |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 254 | # Health |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 255 | PRODUCT_PACKAGES += \ |
Yifan Hong | a916b2e | 2019-10-14 16:50:00 -0700 | [diff] [blame] | 256 | android.hardware.health@2.1-impl-cuttlefish \ |
| 257 | android.hardware.health@2.1-service |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 258 | |
Yifan Hong | fe328a2 | 2019-01-04 10:43:16 -0800 | [diff] [blame] | 259 | # Health Storage |
| 260 | PRODUCT_PACKAGES += \ |
| 261 | android.hardware.health.storage@1.0-service.cuttlefish |
| 262 | |
Siarhei Vishniakou | 481c061 | 2019-01-11 14:53:35 -0800 | [diff] [blame] | 263 | # Input Classifier HAL |
| 264 | PRODUCT_PACKAGES += \ |
| 265 | android.hardware.input.classifier@1.0-service.default |
| 266 | |
Sarah Chin | dfe73d3 | 2019-11-12 18:26:09 -0800 | [diff] [blame] | 267 | # Radio Config HAL |
| 268 | PRODUCT_PACKAGES += \ |
| 269 | android.hardware.radio.config@1.3-service |
| 270 | |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 271 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 272 | # Sensors |
| 273 | # |
| 274 | PRODUCT_PACKAGES += \ |
Brian Stack | 5492885 | 2019-02-07 10:45:09 -0800 | [diff] [blame] | 275 | android.hardware.sensors@2.0-service.mock |
Wei Wang | ee83314 | 2019-01-08 08:59:47 -0800 | [diff] [blame] | 276 | # |
| 277 | # Thermal (mock) |
| 278 | # |
| 279 | PRODUCT_PACKAGES += \ |
Wei Wang | b1a2893 | 2019-01-09 11:32:13 -0800 | [diff] [blame] | 280 | android.hardware.thermal@2.0-service.mock |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 281 | |
| 282 | # |
| 283 | # Lights |
| 284 | # |
| 285 | PRODUCT_PACKAGES += \ |
Jorge E. Moreira | d6d862d | 2019-02-27 16:20:08 -0800 | [diff] [blame] | 286 | lights.cutf \ |
Steven Moreland | 1e0c220 | 2018-01-08 12:45:07 -0800 | [diff] [blame] | 287 | android.hardware.light@2.0-impl \ |
| 288 | android.hardware.light@2.0-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 289 | |
| 290 | # |
| 291 | # Keymaster HAL |
| 292 | # |
| 293 | PRODUCT_PACKAGES += \ |
Shawn Willden | b167108 | 2019-11-06 10:18:38 -0700 | [diff] [blame] | 294 | android.hardware.keymaster@4.1-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 295 | |
| 296 | # |
| 297 | # Power HAL |
| 298 | # |
| 299 | PRODUCT_PACKAGES += \ |
Wei Wang | 35eefd8 | 2020-01-13 11:21:49 -0800 | [diff] [blame^] | 300 | android.hardware.power-service.example |
Benjamin Schwartz | 3521ea1 | 2019-01-25 09:36:39 -0800 | [diff] [blame] | 301 | |
| 302 | # |
| 303 | # PowerStats HAL |
| 304 | # |
| 305 | PRODUCT_PACKAGES += \ |
| 306 | android.hardware.power.stats@1.0-service.mock |
| 307 | |
Greg Hartman | 2fbc494 | 2017-12-14 15:45:55 -0800 | [diff] [blame] | 308 | # |
Michael Butler | e15c4c3 | 2018-12-07 17:40:59 -0800 | [diff] [blame] | 309 | # NeuralNetworks HAL |
| 310 | # |
| 311 | PRODUCT_PACKAGES += \ |
Michael Butler | f1ef00c | 2019-09-11 12:42:06 -0700 | [diff] [blame] | 312 | android.hardware.neuralnetworks@1.3-service-sample-all \ |
| 313 | android.hardware.neuralnetworks@1.3-service-sample-float-fast \ |
| 314 | android.hardware.neuralnetworks@1.3-service-sample-float-slow \ |
| 315 | android.hardware.neuralnetworks@1.3-service-sample-minimal \ |
| 316 | android.hardware.neuralnetworks@1.3-service-sample-quant |
Michael Butler | e15c4c3 | 2018-12-07 17:40:59 -0800 | [diff] [blame] | 317 | |
| 318 | # |
Greg Hartman | 2fbc494 | 2017-12-14 15:45:55 -0800 | [diff] [blame] | 319 | # USB |
| 320 | PRODUCT_PACKAGES += \ |
| 321 | android.hardware.usb@1.0-service |
| 322 | |
Harpreet "Eli" Sangha | 0443f4f | 2019-01-31 16:13:12 +0900 | [diff] [blame] | 323 | # Vibrator HAL |
| 324 | PRODUCT_PACKAGES += \ |
Steven Moreland | 691da38 | 2019-10-25 15:06:53 -0700 | [diff] [blame] | 325 | android.hardware.vibrator-service.example |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 326 | |
David Anderson | e9d9470 | 2019-10-07 13:27:01 -0700 | [diff] [blame] | 327 | # BootControl HAL |
| 328 | PRODUCT_PACKAGES += \ |
| 329 | android.hardware.boot@1.1-impl \ |
| 330 | android.hardware.boot@1.1-impl.recovery \ |
| 331 | android.hardware.boot@1.1-service |
| 332 | |
Andreas Huber | 2ad6248 | 2018-01-31 09:15:01 -0800 | [diff] [blame] | 333 | # WLAN driver configuration files |
| 334 | PRODUCT_COPY_FILES += \ |
| 335 | $(LOCAL_PATH)/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf |
Alistair Strachan | 5b47aac | 2019-01-03 12:55:59 -0800 | [diff] [blame] | 336 | |
| 337 | # Recovery mode |
| 338 | ifneq ($(TARGET_NO_RECOVERY),true) |
Alistair Strachan | 5b47aac | 2019-01-03 12:55:59 -0800 | [diff] [blame] | 339 | |
| 340 | PRODUCT_COPY_FILES += \ |
Alistair Delva | ae13dfa | 2019-12-26 14:09:01 -0800 | [diff] [blame] | 341 | device/google/cuttlefish/shared/config/init.recovery.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.cutf_cvm.rc \ |
Alistair Delva | 46b5e94 | 2019-12-26 13:18:31 -0800 | [diff] [blame] | 342 | device/google/cuttlefish/shared/config/cgroups.json:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/etc/cgroups.json \ |
Alistair Delva | 3d7531b | 2019-12-26 14:16:04 -0800 | [diff] [blame] | 343 | device/google/cuttlefish/shared/config/ueventd.rc:$(TARGET_COPY_OUT_RECOVERY)/root/ueventd.cutf_cvm.rc \ |
Alistair Strachan | 5b47aac | 2019-01-03 12:55:59 -0800 | [diff] [blame] | 344 | |
| 345 | endif |
Dan Willemsen | 302bfda | 2019-02-09 22:27:57 -0800 | [diff] [blame] | 346 | |
Ram Muthiah | 901c804 | 2019-07-24 17:04:03 -0700 | [diff] [blame] | 347 | # |
| 348 | # Shell script Vendor Module Loading |
| 349 | # |
| 350 | PRODUCT_COPY_FILES += \ |
| 351 | $(LOCAL_PATH)/config/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \ |
| 352 | |
Dan Willemsen | 302bfda | 2019-02-09 22:27:57 -0800 | [diff] [blame] | 353 | # Host packages to install |
Cody Schuffelen | e22a331 | 2019-11-22 17:38:56 +0000 | [diff] [blame] | 354 | PRODUCT_HOST_PACKAGES += socket_vsock_proxy |
Cody Schuffelen | 70c304c | 2019-10-28 12:13:30 -0700 | [diff] [blame] | 355 | |
| 356 | PRODUCT_EXTRA_VNDK_VERSIONS := 28 29 |