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 | f6d5bc7 | 2019-03-28 03:25:33 -0700 | [diff] [blame] | 40 | ro.com.google.locationfeatures=1 \ |
Greg Hartman | dc268d1 | 2019-07-18 15:30:38 -0700 | [diff] [blame] | 41 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 42 | # Explanation of specific properties: |
| 43 | # 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] | 44 | # ro.opengles.version OpenGLES 3.0 |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 45 | PRODUCT_PROPERTY_OVERRIDES += \ |
Greg Hartman | 1c641da | 2018-03-12 18:29:51 -0700 | [diff] [blame] | 46 | tombstoned.max_tombstone_count=500 \ |
Alistair Strachan | 0f01ce0 | 2019-03-28 04:38:44 -0700 | [diff] [blame] | 47 | bt.rootcanal_test_console=off \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 48 | debug.hwui.swap_with_damage=0 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 49 | ro.carrier=unknown \ |
| 50 | ro.com.android.dataroaming=false \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 51 | ro.hardware.virtual_device=1 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 52 | ro.logd.size=1M \ |
Greg Hartman | 32a08ed | 2018-12-18 19:48:11 -0800 | [diff] [blame] | 53 | ro.opengles.version=196608 \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 54 | wifi.interface=wlan0 \ |
Greg Hartman | dc268d1 | 2019-07-18 15:30:38 -0700 | [diff] [blame] | 55 | persist.sys.zram_enabled=1 \ |
Victor Hsieh | 117bd75 | 2019-11-21 15:11:48 -0800 | [diff] [blame] | 56 | ro.apk_verity.mode=2 \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 57 | |
| 58 | # Below is a list of properties we probably should get rid of. |
| 59 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 60 | wlan.driver.status=ok |
| 61 | |
Emilian Peev | e150090 | 2019-10-28 10:27:49 -0700 | [diff] [blame] | 62 | PRODUCT_SOONG_NAMESPACES += hardware/google/camera |
Cheng Gu | 51cfec1 | 2019-11-13 22:27:41 -0800 | [diff] [blame] | 63 | PRODUCT_SOONG_NAMESPACES += hardware/google/camera/devices/EmulatedCamera |
Emilian Peev | e150090 | 2019-10-28 10:27:49 -0700 | [diff] [blame] | 64 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 65 | # |
| 66 | # Packages for various GCE-specific utilities |
| 67 | # |
| 68 | PRODUCT_PACKAGES += \ |
Cody Schuffelen | 4a58ddc | 2018-12-17 18:55:19 -0800 | [diff] [blame] | 69 | socket_vsock_proxy \ |
Tomasz Wiszkowski | a2f420a | 2017-07-20 14:56:52 -0700 | [diff] [blame] | 70 | usbforward \ |
Jorge E. Moreira | fa1a13d | 2019-04-16 13:46:54 -0700 | [diff] [blame] | 71 | CuttlefishService \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 72 | wpa_supplicant.vsoc.conf \ |
Andreas Huber | f9ad63a | 2018-01-18 12:55:43 -0800 | [diff] [blame] | 73 | vsoc_input_service \ |
Alistair Strachan | 5f90ba4 | 2018-05-03 11:43:25 -0700 | [diff] [blame] | 74 | vport_trigger \ |
Cody Schuffelen | 622d164 | 2018-07-31 14:16:18 -0700 | [diff] [blame] | 75 | rename_netiface \ |
Greg Hartman | 692d2f3 | 2018-10-09 17:09:51 -0700 | [diff] [blame] | 76 | ip_link_add \ |
Cody Schuffelen | 32e8b94 | 2018-11-21 12:16:06 -0800 | [diff] [blame] | 77 | setup_wifi \ |
Ram Muthiah | 3c1cc13 | 2019-04-24 16:23:14 -0700 | [diff] [blame] | 78 | tombstone_transmit \ |
Cody Schuffelen | c423e5d | 2019-09-16 19:49:45 +0000 | [diff] [blame] | 79 | vsock_logcat \ |
Ram Muthiah | 8fddac5 | 2019-05-30 19:00:32 -0700 | [diff] [blame] | 80 | tombstone_producer \ |
Tri Vo | 5c0f632 | 2019-12-06 11:09:45 -0800 | [diff] [blame] | 81 | suspend_blocker \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 82 | |
| 83 | # |
| 84 | # Packages for AOSP-available stuff we use from the framework |
| 85 | # |
| 86 | PRODUCT_PACKAGES += \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 87 | e2fsck \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 88 | ip \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 89 | sleep \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 90 | tcpdump \ |
| 91 | wpa_supplicant \ |
| 92 | wificond \ |
| 93 | |
| 94 | # |
| 95 | # Packages for the OpenGL implementation |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 96 | # |
Greg Hartman | aebd8b9 | 2018-07-24 01:51:52 -0700 | [diff] [blame] | 97 | |
Greg Hartman | 896507f | 2019-03-04 11:14:31 -0800 | [diff] [blame] | 98 | # SwiftShader provides a software-only implementation that is not thread-safe |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 99 | PRODUCT_PACKAGES += \ |
| 100 | libEGL_swiftshader \ |
| 101 | libGLESv1_CM_swiftshader \ |
Greg Hartman | aebd8b9 | 2018-07-24 01:51:52 -0700 | [diff] [blame] | 102 | libGLESv2_swiftshader |
| 103 | |
Greg Hartman | a9e82c0 | 2019-04-03 15:11:24 -0700 | [diff] [blame] | 104 | # GL implementation for virgl |
| 105 | PRODUCT_PACKAGES += \ |
| 106 | libGLES_mesa |
| 107 | |
Jason Macnak | 61a6dcf | 2019-10-29 16:51:50 -0700 | [diff] [blame] | 108 | # |
| 109 | # Packages for the Vulkan implementation |
| 110 | # |
| 111 | PRODUCT_PACKAGES += \ |
| 112 | vulkan.pastel |
| 113 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 114 | DEVICE_PACKAGE_OVERLAYS := device/google/cuttlefish/shared/overlay |
Po-Chien Hsueh | 28d40cc | 2019-08-11 22:24:15 +0800 | [diff] [blame] | 115 | # PRODUCT_AAPT_CONFIG and PRODUCT_AAPT_PREF_CONFIG are intentionally not set to |
| 116 | # pick up every density resources. |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 117 | |
| 118 | # |
| 119 | # General files |
| 120 | # |
| 121 | PRODUCT_COPY_FILES += \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 122 | device/google/cuttlefish/shared/config/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
Emilian Peev | e150090 | 2019-10-28 10:27:49 -0700 | [diff] [blame] | 123 | 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 \ |
Jorge E. Moreira | 9084cc4 | 2019-02-01 14:43:40 -0800 | [diff] [blame] | 126 | device/google/cuttlefish/shared/config/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.common.rc \ |
Jorge E. Moreira | d6d862d | 2019-02-27 16:20:08 -0800 | [diff] [blame] | 127 | device/google/cuttlefish/shared/config/init.cutf_cvm.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] | 128 | 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] | 129 | 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] | 130 | 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] | 131 | 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] | 132 | device/google/cuttlefish/shared/config/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 133 | 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] | 134 | 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] | 135 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
| 136 | 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] | 137 | frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| 138 | frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \ |
| 139 | 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] | 140 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 141 | 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] | 142 | 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] | 143 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 144 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 145 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 146 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \ |
| 147 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 148 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 149 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ |
| 150 | frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \ |
| 151 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
| 152 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 153 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 154 | 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] | 155 | 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] | 156 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 157 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 158 | frameworks/native/data/etc/android.hardware.touchscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.xml \ |
| 159 | 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] | 160 | frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ |
| 161 | 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] | 162 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 163 | 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] | 164 | 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] | 165 | 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] | 166 | device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RAMDISK)/fstab.cutf_ivsh \ |
| 167 | device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.cutf_ivsh \ |
| 168 | device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RAMDISK)/fstab.cutf_cvm \ |
| 169 | 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] | 170 | device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.cutf_ivsh \ |
| 171 | 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] | 172 | |
| 173 | # |
Tomasz Wiszkowski | 8afd7e9 | 2017-09-20 09:43:27 -0700 | [diff] [blame] | 174 | # USB Specific |
Romit Dasgupta | 2a6ae26 | 2017-07-20 14:17:42 -0700 | [diff] [blame] | 175 | # |
| 176 | PRODUCT_COPY_FILES += \ |
Jorge E. Moreira | d6d862d | 2019-02-27 16:20:08 -0800 | [diff] [blame] | 177 | device/google/cuttlefish/shared/config/init.hardware.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.cutf_ivsh.usb.rc |
Romit Dasgupta | 2a6ae26 | 2017-07-20 14:17:42 -0700 | [diff] [blame] | 178 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 179 | # Packages for HAL implementations |
| 180 | |
| 181 | # |
Alistair Strachan | 18458a6 | 2019-04-04 02:15:00 -0700 | [diff] [blame] | 182 | # Atrace HAL |
| 183 | # |
| 184 | PRODUCT_PACKAGES += \ |
| 185 | android.hardware.atrace@1.0-service |
| 186 | |
| 187 | # |
| 188 | # Authsecret HAL |
| 189 | # |
| 190 | PRODUCT_PACKAGES += \ |
| 191 | android.hardware.authsecret@1.0-service |
| 192 | |
| 193 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 194 | # Hardware Composer HAL |
| 195 | # |
| 196 | PRODUCT_PACKAGES += \ |
Colin Cross | b3ee3d6 | 2019-03-22 13:18:13 -0700 | [diff] [blame] | 197 | hwcomposer.drm_minigbm \ |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 198 | hwcomposer.cutf_cvm_ashmem \ |
| 199 | hwcomposer.cutf_ivsh_ashmem \ |
Jorge E. Moreira | 8b42ef6 | 2017-06-22 16:55:58 -0700 | [diff] [blame] | 200 | hwcomposer-stats \ |
Alistair Strachan | 4b4a7b1 | 2019-04-18 15:14:17 -0700 | [diff] [blame] | 201 | android.hardware.graphics.composer@2.2-impl \ |
| 202 | android.hardware.graphics.composer@2.2-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 203 | |
| 204 | # |
| 205 | # Gralloc HAL |
| 206 | # |
| 207 | PRODUCT_PACKAGES += \ |
Alistair Strachan | faebd89 | 2018-03-20 14:21:31 -0700 | [diff] [blame] | 208 | gralloc.minigbm \ |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 209 | gralloc.cutf_ashmem \ |
Alistair Strachan | 5ea1b3a | 2019-04-18 15:12:35 -0700 | [diff] [blame] | 210 | android.hardware.graphics.mapper@2.0-impl-2.1 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 211 | android.hardware.graphics.allocator@2.0-impl \ |
| 212 | android.hardware.graphics.allocator@2.0-service |
| 213 | |
| 214 | # |
| 215 | # Bluetooth HAL and Compatibility Bluetooth library (for older revs). |
| 216 | # |
| 217 | PRODUCT_PACKAGES += \ |
Jakub Pawlowski | c888fc2 | 2019-11-19 18:05:07 +0100 | [diff] [blame] | 218 | android.hardware.bluetooth@1.1-service.sim \ |
Alistair Strachan | 18458a6 | 2019-04-04 02:15:00 -0700 | [diff] [blame] | 219 | android.hardware.bluetooth.audio@2.0-impl |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 220 | |
| 221 | # |
| 222 | # Audio HAL |
| 223 | # |
| 224 | PRODUCT_PACKAGES += \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 225 | audio.primary.cutf \ |
| 226 | audio.r_submix.default \ |
Alistair Strachan | cdb21f3 | 2019-03-07 11:57:04 -0800 | [diff] [blame] | 227 | android.hardware.audio@5.0-impl:32 \ |
| 228 | android.hardware.audio.effect@5.0-impl:32 \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 229 | android.hardware.audio@2.0-service \ |
Nicholas Ambur | b34b8c7 | 2019-12-05 15:47:50 -0800 | [diff] [blame] | 230 | android.hardware.soundtrigger@2.3-impl \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 231 | |
| 232 | # |
| 233 | # Drm HAL |
| 234 | # |
| 235 | PRODUCT_PACKAGES += \ |
Alistair Delva | 2a5c0f2 | 2019-09-19 16:48:55 -0700 | [diff] [blame] | 236 | android.hardware.drm@1.0-impl \ |
Edwin Wong | d00bb40 | 2019-09-17 18:29:51 -0700 | [diff] [blame] | 237 | android.hardware.drm@1.0-service \ |
Robert Shih | 63e5a1b | 2019-11-25 22:25:41 -0800 | [diff] [blame] | 238 | android.hardware.drm@1.3-service.clearkey \ |
| 239 | android.hardware.drm@1.3-service.widevine |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 240 | |
| 241 | # |
| 242 | # Dumpstate HAL |
| 243 | # |
| 244 | PRODUCT_PACKAGES += \ |
Greg Hartman | d0bdc99 | 2017-08-17 15:45:08 -0700 | [diff] [blame] | 245 | android.hardware.dumpstate@1.0-service.cuttlefish |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 246 | |
| 247 | # |
| 248 | # Camera |
| 249 | # |
| 250 | PRODUCT_PACKAGES += \ |
Emilian Peev | e150090 | 2019-10-28 10:27:49 -0700 | [diff] [blame] | 251 | android.hardware.camera.provider@2.4-service-google \ |
| 252 | libgooglecamerahwl_impl \ |
| 253 | android.hardware.camera.provider@2.4-impl-google \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 254 | |
| 255 | # |
Steven Moreland | 178b80e | 2018-01-10 10:03:23 -0800 | [diff] [blame] | 256 | # Gatekeeper |
| 257 | # |
| 258 | PRODUCT_PACKAGES += \ |
Janis Danisevskis | 64d7180 | 2019-06-06 16:04:57 -0700 | [diff] [blame] | 259 | android.hardware.gatekeeper@1.0-service.software |
Steven Moreland | 178b80e | 2018-01-10 10:03:23 -0800 | [diff] [blame] | 260 | |
| 261 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 262 | # GPS |
| 263 | # |
| 264 | PRODUCT_PACKAGES += \ |
Yu-Han Yang | 256bcaf | 2019-11-05 15:29:53 -0800 | [diff] [blame] | 265 | android.hardware.gnss@2.1-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 266 | |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 267 | # Health |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 268 | PRODUCT_PACKAGES += \ |
Yifan Hong | a916b2e | 2019-10-14 16:50:00 -0700 | [diff] [blame] | 269 | android.hardware.health@2.1-impl-cuttlefish \ |
| 270 | android.hardware.health@2.1-service |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 271 | |
Yifan Hong | fe328a2 | 2019-01-04 10:43:16 -0800 | [diff] [blame] | 272 | # Health Storage |
| 273 | PRODUCT_PACKAGES += \ |
| 274 | android.hardware.health.storage@1.0-service.cuttlefish |
| 275 | |
Siarhei Vishniakou | 481c061 | 2019-01-11 14:53:35 -0800 | [diff] [blame] | 276 | # Input Classifier HAL |
| 277 | PRODUCT_PACKAGES += \ |
| 278 | android.hardware.input.classifier@1.0-service.default |
| 279 | |
Sarah Chin | d3cb253 | 2019-11-12 18:26:09 -0800 | [diff] [blame] | 280 | # Radio Config HAL |
| 281 | PRODUCT_PACKAGES += \ |
| 282 | android.hardware.radio.config@1.3-service |
| 283 | |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 284 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 285 | # Sensors |
| 286 | # |
| 287 | PRODUCT_PACKAGES += \ |
Brian Stack | 5492885 | 2019-02-07 10:45:09 -0800 | [diff] [blame] | 288 | android.hardware.sensors@2.0-service.mock |
Wei Wang | ee83314 | 2019-01-08 08:59:47 -0800 | [diff] [blame] | 289 | # |
| 290 | # Thermal (mock) |
| 291 | # |
| 292 | PRODUCT_PACKAGES += \ |
Wei Wang | b1a2893 | 2019-01-09 11:32:13 -0800 | [diff] [blame] | 293 | android.hardware.thermal@2.0-service.mock |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 294 | |
| 295 | # |
| 296 | # Lights |
| 297 | # |
| 298 | PRODUCT_PACKAGES += \ |
Jorge E. Moreira | d6d862d | 2019-02-27 16:20:08 -0800 | [diff] [blame] | 299 | lights.cutf \ |
Steven Moreland | 1e0c220 | 2018-01-08 12:45:07 -0800 | [diff] [blame] | 300 | android.hardware.light@2.0-impl \ |
| 301 | android.hardware.light@2.0-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 302 | |
| 303 | # |
| 304 | # Keymaster HAL |
| 305 | # |
| 306 | PRODUCT_PACKAGES += \ |
Shawn Willden | b167108 | 2019-11-06 10:18:38 -0700 | [diff] [blame] | 307 | android.hardware.keymaster@4.1-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 308 | |
| 309 | # |
| 310 | # Power HAL |
| 311 | # |
| 312 | PRODUCT_PACKAGES += \ |
Alistair Delva | 39f2f15 | 2019-07-19 14:11:44 -0700 | [diff] [blame] | 313 | power.cutf \ |
Steven Moreland | bb73847 | 2018-01-08 12:46:04 -0800 | [diff] [blame] | 314 | android.hardware.power@1.0-impl \ |
| 315 | android.hardware.power@1.0-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 316 | |
Benjamin Schwartz | 3521ea1 | 2019-01-25 09:36:39 -0800 | [diff] [blame] | 317 | |
| 318 | # |
| 319 | # PowerStats HAL |
| 320 | # |
| 321 | PRODUCT_PACKAGES += \ |
| 322 | android.hardware.power.stats@1.0-service.mock |
| 323 | |
Greg Hartman | 2fbc494 | 2017-12-14 15:45:55 -0800 | [diff] [blame] | 324 | # |
Michael Butler | e15c4c3 | 2018-12-07 17:40:59 -0800 | [diff] [blame] | 325 | # NeuralNetworks HAL |
| 326 | # |
| 327 | PRODUCT_PACKAGES += \ |
Michael Butler | f1ef00c | 2019-09-11 12:42:06 -0700 | [diff] [blame] | 328 | android.hardware.neuralnetworks@1.3-service-sample-all \ |
| 329 | android.hardware.neuralnetworks@1.3-service-sample-float-fast \ |
| 330 | android.hardware.neuralnetworks@1.3-service-sample-float-slow \ |
| 331 | android.hardware.neuralnetworks@1.3-service-sample-minimal \ |
| 332 | android.hardware.neuralnetworks@1.3-service-sample-quant |
Michael Butler | e15c4c3 | 2018-12-07 17:40:59 -0800 | [diff] [blame] | 333 | |
| 334 | # |
Greg Hartman | 2fbc494 | 2017-12-14 15:45:55 -0800 | [diff] [blame] | 335 | # USB |
| 336 | PRODUCT_PACKAGES += \ |
| 337 | android.hardware.usb@1.0-service |
| 338 | |
Harpreet "Eli" Sangha | 0443f4f | 2019-01-31 16:13:12 +0900 | [diff] [blame] | 339 | # Vibrator HAL |
| 340 | PRODUCT_PACKAGES += \ |
Steven Moreland | 691da38 | 2019-10-25 15:06:53 -0700 | [diff] [blame] | 341 | android.hardware.vibrator-service.example |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 342 | |
David Anderson | e9d9470 | 2019-10-07 13:27:01 -0700 | [diff] [blame] | 343 | # BootControl HAL |
| 344 | PRODUCT_PACKAGES += \ |
| 345 | android.hardware.boot@1.1-impl \ |
| 346 | android.hardware.boot@1.1-impl.recovery \ |
| 347 | android.hardware.boot@1.1-service |
| 348 | |
Kenny Root | 3a78def | 2019-12-03 15:31:05 -0800 | [diff] [blame] | 349 | # RebootEscrow HAL |
| 350 | PRODUCT_PACKAGES += \ |
| 351 | android.hardware.rebootescrow-service.default |
| 352 | |
Andreas Huber | 2ad6248 | 2018-01-31 09:15:01 -0800 | [diff] [blame] | 353 | # WLAN driver configuration files |
| 354 | PRODUCT_COPY_FILES += \ |
| 355 | $(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] | 356 | |
| 357 | # Recovery mode |
| 358 | ifneq ($(TARGET_NO_RECOVERY),true) |
Alistair Strachan | 5b47aac | 2019-01-03 12:55:59 -0800 | [diff] [blame] | 359 | |
| 360 | PRODUCT_COPY_FILES += \ |
Alistair Delva | 3a44dfb | 2019-12-26 13:18:31 -0800 | [diff] [blame^] | 361 | device/google/cuttlefish/shared/config/init.recovery.common.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.common.rc \ |
| 362 | device/google/cuttlefish/shared/config/init.recovery.cutf_cvm.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.cutf_cvm.rc \ |
| 363 | device/google/cuttlefish/shared/config/cgroups.json:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/etc/cgroups.json \ |
Alistair Strachan | 5b47aac | 2019-01-03 12:55:59 -0800 | [diff] [blame] | 364 | |
| 365 | endif |
Dan Willemsen | 302bfda | 2019-02-09 22:27:57 -0800 | [diff] [blame] | 366 | |
Ram Muthiah | 901c804 | 2019-07-24 17:04:03 -0700 | [diff] [blame] | 367 | # |
| 368 | # Shell script Vendor Module Loading |
| 369 | # |
| 370 | PRODUCT_COPY_FILES += \ |
| 371 | $(LOCAL_PATH)/config/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \ |
| 372 | |
Dan Willemsen | 302bfda | 2019-02-09 22:27:57 -0800 | [diff] [blame] | 373 | # Host packages to install |
Cody Schuffelen | e22a331 | 2019-11-22 17:38:56 +0000 | [diff] [blame] | 374 | PRODUCT_HOST_PACKAGES += socket_vsock_proxy |
Cody Schuffelen | 70c304c | 2019-10-28 12:13:30 -0700 | [diff] [blame] | 375 | |
| 376 | PRODUCT_EXTRA_VNDK_VERSIONS := 28 29 |