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 | |
Nikita Ioffe | c09fde4 | 2020-01-30 19:04:15 +0000 | [diff] [blame] | 20 | # Enable userspace reboot |
| 21 | $(call inherit-product, $(SRC_TARGET_DIR)/product/userspace_reboot.mk) |
| 22 | |
Alistair Delva | c7c262c | 2020-01-08 16:20:42 -0800 | [diff] [blame] | 23 | PRODUCT_SHIPPING_API_LEVEL := 30 |
Chris Gross | 0b9b32a | 2019-04-24 08:53:10 -0700 | [diff] [blame] | 24 | PRODUCT_BUILD_BOOT_IMAGE := true |
Alistair Delva | 5ac0965 | 2019-08-30 15:40:25 -0700 | [diff] [blame] | 25 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
Shuo Qian | 02bfe46 | 2018-05-07 20:53:03 +0000 | [diff] [blame] | 26 | DISABLE_RILD_OEM_HOOK := true |
| 27 | |
David Anderson | a4220b9 | 2019-10-10 17:34:40 -0700 | [diff] [blame] | 28 | AB_OTA_UPDATER := true |
| 29 | AB_OTA_PARTITIONS += \ |
| 30 | product \ |
| 31 | system \ |
| 32 | system_ext \ |
| 33 | vendor |
| 34 | |
| 35 | # Enable Virtual A/B |
| 36 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) |
| 37 | |
Alistair Strachan | f0f9578 | 2019-03-28 03:26:53 -0700 | [diff] [blame] | 38 | # Properties that are not vendor-specific. These will go in the product |
| 39 | # partition, instead of the vendor partition, and do not need vendor |
Alistair Strachan | f6d5bc7 | 2019-03-28 03:25:33 -0700 | [diff] [blame] | 40 | # sepolicy |
Alistair Delva | 76c46d5 | 2019-12-12 13:54:53 -0800 | [diff] [blame] | 41 | PRODUCT_PRODUCT_PROPERTIES += \ |
Alistair Strachan | f970922 | 2019-03-28 04:23:04 -0700 | [diff] [blame] | 42 | persist.adb.tcp.port=5555 \ |
Alistair Strachan | f6d5bc7 | 2019-03-28 03:25:33 -0700 | [diff] [blame] | 43 | ro.com.google.locationfeatures=1 \ |
Greg Hartman | dc268d1 | 2019-07-18 15:30:38 -0700 | [diff] [blame] | 44 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 45 | # Explanation of specific properties: |
| 46 | # 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] | 47 | # ro.opengles.version OpenGLES 3.0 |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 48 | PRODUCT_PROPERTY_OVERRIDES += \ |
Greg Hartman | 1c641da | 2018-03-12 18:29:51 -0700 | [diff] [blame] | 49 | tombstoned.max_tombstone_count=500 \ |
Alistair Strachan | 0f01ce0 | 2019-03-28 04:38:44 -0700 | [diff] [blame] | 50 | bt.rootcanal_test_console=off \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 51 | debug.hwui.swap_with_damage=0 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 52 | ro.carrier=unknown \ |
| 53 | ro.com.android.dataroaming=false \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 54 | ro.hardware.virtual_device=1 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 55 | ro.logd.size=1M \ |
Greg Hartman | 32a08ed | 2018-12-18 19:48:11 -0800 | [diff] [blame] | 56 | ro.opengles.version=196608 \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 57 | wifi.interface=wlan0 \ |
Greg Hartman | dc268d1 | 2019-07-18 15:30:38 -0700 | [diff] [blame] | 58 | persist.sys.zram_enabled=1 \ |
Victor Hsieh | 117bd75 | 2019-11-21 15:11:48 -0800 | [diff] [blame] | 59 | ro.apk_verity.mode=2 \ |
Kenny Root | 1f50ee6 | 2020-01-24 12:06:19 -0800 | [diff] [blame] | 60 | ro.rebootescrow.device=/dev/block/pmem0 \ |
Tomasz Wiszkowski | 9214f17 | 2017-09-19 14:36:53 -0700 | [diff] [blame] | 61 | |
| 62 | # Below is a list of properties we probably should get rid of. |
| 63 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 64 | wlan.driver.status=ok |
| 65 | |
Paul Crowley | 9b2dde1 | 2020-02-07 15:30:26 -0800 | [diff] [blame] | 66 | # aes-256-heh default is not supported in standard kernels. |
| 67 | PRODUCT_PROPERTY_OVERRIDES += ro.crypto.volume.filenames_mode=aes-256-cts |
| 68 | |
Emilian Peev | e150090 | 2019-10-28 10:27:49 -0700 | [diff] [blame] | 69 | PRODUCT_SOONG_NAMESPACES += hardware/google/camera |
Cheng Gu | 51cfec1 | 2019-11-13 22:27:41 -0800 | [diff] [blame] | 70 | PRODUCT_SOONG_NAMESPACES += hardware/google/camera/devices/EmulatedCamera |
Emilian Peev | e150090 | 2019-10-28 10:27:49 -0700 | [diff] [blame] | 71 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 72 | # |
| 73 | # Packages for various GCE-specific utilities |
| 74 | # |
| 75 | PRODUCT_PACKAGES += \ |
Cody Schuffelen | 4a58ddc | 2018-12-17 18:55:19 -0800 | [diff] [blame] | 76 | socket_vsock_proxy \ |
Jorge E. Moreira | fa1a13d | 2019-04-16 13:46:54 -0700 | [diff] [blame] | 77 | CuttlefishService \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 78 | wpa_supplicant.vsoc.conf \ |
Andreas Huber | f9ad63a | 2018-01-18 12:55:43 -0800 | [diff] [blame] | 79 | vsoc_input_service \ |
Alistair Strachan | 5f90ba4 | 2018-05-03 11:43:25 -0700 | [diff] [blame] | 80 | vport_trigger \ |
Cody Schuffelen | 622d164 | 2018-07-31 14:16:18 -0700 | [diff] [blame] | 81 | rename_netiface \ |
Greg Hartman | 692d2f3 | 2018-10-09 17:09:51 -0700 | [diff] [blame] | 82 | ip_link_add \ |
Cody Schuffelen | 32e8b94 | 2018-11-21 12:16:06 -0800 | [diff] [blame] | 83 | setup_wifi \ |
Ram Muthiah | 3c1cc13 | 2019-04-24 16:23:14 -0700 | [diff] [blame] | 84 | tombstone_transmit \ |
Cody Schuffelen | c423e5d | 2019-09-16 19:49:45 +0000 | [diff] [blame] | 85 | vsock_logcat \ |
Ram Muthiah | 8fddac5 | 2019-05-30 19:00:32 -0700 | [diff] [blame] | 86 | tombstone_producer \ |
Tri Vo | 5c0f632 | 2019-12-06 11:09:45 -0800 | [diff] [blame] | 87 | suspend_blocker \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 88 | |
| 89 | # |
| 90 | # Packages for AOSP-available stuff we use from the framework |
| 91 | # |
| 92 | PRODUCT_PACKAGES += \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 93 | e2fsck \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 94 | ip \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 95 | sleep \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 96 | tcpdump \ |
| 97 | wpa_supplicant \ |
| 98 | wificond \ |
| 99 | |
| 100 | # |
| 101 | # Packages for the OpenGL implementation |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 102 | # |
Greg Hartman | aebd8b9 | 2018-07-24 01:51:52 -0700 | [diff] [blame] | 103 | |
Greg Hartman | 896507f | 2019-03-04 11:14:31 -0800 | [diff] [blame] | 104 | # SwiftShader provides a software-only implementation that is not thread-safe |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 105 | PRODUCT_PACKAGES += \ |
| 106 | libEGL_swiftshader \ |
| 107 | libGLESv1_CM_swiftshader \ |
Greg Hartman | aebd8b9 | 2018-07-24 01:51:52 -0700 | [diff] [blame] | 108 | libGLESv2_swiftshader |
| 109 | |
Greg Hartman | a9e82c0 | 2019-04-03 15:11:24 -0700 | [diff] [blame] | 110 | # GL implementation for virgl |
| 111 | PRODUCT_PACKAGES += \ |
Lingfeng Yang | ba4a524 | 2019-12-18 08:09:27 -0800 | [diff] [blame] | 112 | libGLES_mesa \ |
| 113 | |
| 114 | # GL/Vk implementation for gfxstream |
| 115 | PRODUCT_PACKAGES += \ |
| 116 | vulkan.ranchu \ |
| 117 | hwcomposer.ranchu \ |
| 118 | libandroidemu \ |
| 119 | libOpenglCodecCommon \ |
| 120 | libOpenglSystemCommon \ |
| 121 | libGLESv1_CM_emulation \ |
| 122 | lib_renderControl_enc \ |
| 123 | libEGL_emulation \ |
| 124 | libGLESv2_enc \ |
| 125 | libvulkan_enc \ |
| 126 | libGLESv2_emulation \ |
| 127 | libGLESv1_enc |
Greg Hartman | a9e82c0 | 2019-04-03 15:11:24 -0700 | [diff] [blame] | 128 | |
Jason Macnak | 61a6dcf | 2019-10-29 16:51:50 -0700 | [diff] [blame] | 129 | # |
| 130 | # Packages for the Vulkan implementation |
| 131 | # |
| 132 | PRODUCT_PACKAGES += \ |
| 133 | vulkan.pastel |
| 134 | |
Jon Spivack | 41a85ef | 2020-01-27 22:19:22 +0000 | [diff] [blame] | 135 | # |
| 136 | # Packages for testing |
| 137 | # |
| 138 | PRODUCT_PACKAGES += \ |
| 139 | aidl_lazy_test_server |
| 140 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 141 | DEVICE_PACKAGE_OVERLAYS := device/google/cuttlefish/shared/overlay |
Po-Chien Hsueh | 28d40cc | 2019-08-11 22:24:15 +0800 | [diff] [blame] | 142 | # PRODUCT_AAPT_CONFIG and PRODUCT_AAPT_PREF_CONFIG are intentionally not set to |
| 143 | # pick up every density resources. |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 144 | |
| 145 | # |
| 146 | # General files |
| 147 | # |
| 148 | PRODUCT_COPY_FILES += \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 149 | 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] | 150 | hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_back.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_back.json \ |
| 151 | hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_front.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_front.json \ |
| 152 | hardware/google/camera/devices/EmulatedCamera/hwl/configs/emu_camera_depth.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/emu_camera_depth.json \ |
Alistair Delva | 52b256d | 2019-12-26 14:09:01 -0800 | [diff] [blame] | 153 | 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] | 154 | 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] | 155 | 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] | 156 | 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] | 157 | 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] | 158 | device/google/cuttlefish/shared/config/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 159 | 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] | 160 | 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] | 161 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
| 162 | 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] | 163 | frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| 164 | frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \ |
| 165 | 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] | 166 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 167 | 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] | 168 | 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] | 169 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 170 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 171 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 172 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \ |
| 173 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 174 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 175 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ |
| 176 | frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \ |
| 177 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
Kenny Root | 9e3e356 | 2020-01-25 11:43:48 -0800 | [diff] [blame] | 178 | frameworks/native/data/etc/android.hardware.reboot_escrow.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.reboot_escrow.xml \ |
Steven Moreland | d438413 | 2018-06-12 11:14:30 -0700 | [diff] [blame] | 179 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 180 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 181 | 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] | 182 | 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] | 183 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 184 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 185 | frameworks/native/data/etc/android.hardware.touchscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.xml \ |
| 186 | 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] | 187 | frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ |
| 188 | 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] | 189 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 190 | 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] | 191 | 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] | 192 | 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] | 193 | device/google/cuttlefish/shared/config/fstab:$(TARGET_COPY_OUT_RAMDISK)/fstab.cutf_cvm \ |
| 194 | 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] | 195 | 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] | 196 | |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 197 | # Packages for HAL implementations |
| 198 | |
| 199 | # |
Alistair Strachan | 18458a6 | 2019-04-04 02:15:00 -0700 | [diff] [blame] | 200 | # Atrace HAL |
| 201 | # |
| 202 | PRODUCT_PACKAGES += \ |
| 203 | android.hardware.atrace@1.0-service |
| 204 | |
| 205 | # |
| 206 | # Authsecret HAL |
| 207 | # |
| 208 | PRODUCT_PACKAGES += \ |
| 209 | android.hardware.authsecret@1.0-service |
| 210 | |
| 211 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 212 | # Hardware Composer HAL |
| 213 | # |
| 214 | PRODUCT_PACKAGES += \ |
Colin Cross | b3ee3d6 | 2019-03-22 13:18:13 -0700 | [diff] [blame] | 215 | hwcomposer.drm_minigbm \ |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 216 | hwcomposer.cutf_cvm_ashmem \ |
Jorge E. Moreira | 8b42ef6 | 2017-06-22 16:55:58 -0700 | [diff] [blame] | 217 | hwcomposer-stats \ |
Alistair Strachan | 4b4a7b1 | 2019-04-18 15:14:17 -0700 | [diff] [blame] | 218 | android.hardware.graphics.composer@2.2-impl \ |
| 219 | android.hardware.graphics.composer@2.2-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 220 | |
| 221 | # |
| 222 | # Gralloc HAL |
| 223 | # |
| 224 | PRODUCT_PACKAGES += \ |
Alistair Strachan | faebd89 | 2018-03-20 14:21:31 -0700 | [diff] [blame] | 225 | gralloc.minigbm \ |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 226 | gralloc.cutf_ashmem \ |
Alistair Strachan | 5ea1b3a | 2019-04-18 15:12:35 -0700 | [diff] [blame] | 227 | android.hardware.graphics.mapper@2.0-impl-2.1 \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 228 | android.hardware.graphics.allocator@2.0-impl \ |
| 229 | android.hardware.graphics.allocator@2.0-service |
| 230 | |
| 231 | # |
| 232 | # Bluetooth HAL and Compatibility Bluetooth library (for older revs). |
| 233 | # |
| 234 | PRODUCT_PACKAGES += \ |
Jakub Pawlowski | c888fc2 | 2019-11-19 18:05:07 +0100 | [diff] [blame] | 235 | android.hardware.bluetooth@1.1-service.sim \ |
Alistair Strachan | 18458a6 | 2019-04-04 02:15:00 -0700 | [diff] [blame] | 236 | android.hardware.bluetooth.audio@2.0-impl |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 237 | |
| 238 | # |
| 239 | # Audio HAL |
| 240 | # |
| 241 | PRODUCT_PACKAGES += \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 242 | audio.primary.cutf \ |
| 243 | audio.r_submix.default \ |
Mikhail Naganov | 6dc07d2 | 2020-01-24 11:58:37 -0800 | [diff] [blame] | 244 | android.hardware.audio@6.0-impl:32 \ |
| 245 | android.hardware.audio.effect@6.0-impl:32 \ |
Alistair Strachan | dbe337d | 2019-03-04 17:55:58 -0800 | [diff] [blame] | 246 | android.hardware.audio@2.0-service \ |
Nicholas Ambur | b34b8c7 | 2019-12-05 15:47:50 -0800 | [diff] [blame] | 247 | android.hardware.soundtrigger@2.3-impl \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 248 | |
| 249 | # |
Ilya Matyukhin | fe69be8 | 2020-01-22 13:44:41 -0800 | [diff] [blame] | 250 | # BiometricsFace HAL |
| 251 | # |
| 252 | PRODUCT_PACKAGES += \ |
| 253 | android.hardware.biometrics.face@1.1-service.example |
| 254 | |
| 255 | # |
Brian Duddie | 047d94a | 2020-02-14 14:34:38 -0800 | [diff] [blame] | 256 | # Contexthub HAL |
| 257 | # |
| 258 | PRODUCT_PACKAGES += \ |
| 259 | android.hardware.contexthub@1.1-service.mock |
| 260 | |
| 261 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 262 | # Drm HAL |
| 263 | # |
| 264 | PRODUCT_PACKAGES += \ |
Robert Shih | 63e5a1b | 2019-11-25 22:25:41 -0800 | [diff] [blame] | 265 | android.hardware.drm@1.3-service.clearkey \ |
| 266 | android.hardware.drm@1.3-service.widevine |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 267 | |
| 268 | # |
| 269 | # Dumpstate HAL |
| 270 | # |
| 271 | PRODUCT_PACKAGES += \ |
Hunter Knepshield | 1abd4e9 | 2020-01-21 13:46:09 -0800 | [diff] [blame] | 272 | android.hardware.dumpstate@1.1-service.cuttlefish |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 273 | |
| 274 | # |
| 275 | # Camera |
| 276 | # |
| 277 | PRODUCT_PACKAGES += \ |
Shuzhen Wang | e012312 | 2020-01-21 12:54:08 -0800 | [diff] [blame] | 278 | android.hardware.camera.provider@2.6-service-google \ |
Emilian Peev | e150090 | 2019-10-28 10:27:49 -0700 | [diff] [blame] | 279 | libgooglecamerahwl_impl \ |
Shuzhen Wang | e012312 | 2020-01-21 12:54:08 -0800 | [diff] [blame] | 280 | android.hardware.camera.provider@2.6-impl-google \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 281 | |
| 282 | # |
Steven Moreland | 178b80e | 2018-01-10 10:03:23 -0800 | [diff] [blame] | 283 | # Gatekeeper |
| 284 | # |
| 285 | PRODUCT_PACKAGES += \ |
Janis Danisevskis | 64d7180 | 2019-06-06 16:04:57 -0700 | [diff] [blame] | 286 | android.hardware.gatekeeper@1.0-service.software |
Steven Moreland | 178b80e | 2018-01-10 10:03:23 -0800 | [diff] [blame] | 287 | |
| 288 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 289 | # GPS |
| 290 | # |
| 291 | PRODUCT_PACKAGES += \ |
Yu-Han Yang | 256bcaf | 2019-11-05 15:29:53 -0800 | [diff] [blame] | 292 | android.hardware.gnss@2.1-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 293 | |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 294 | # Health |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 295 | PRODUCT_PACKAGES += \ |
Yifan Hong | a916b2e | 2019-10-14 16:50:00 -0700 | [diff] [blame] | 296 | android.hardware.health@2.1-impl-cuttlefish \ |
| 297 | android.hardware.health@2.1-service |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 298 | |
Yifan Hong | fe328a2 | 2019-01-04 10:43:16 -0800 | [diff] [blame] | 299 | # Health Storage |
| 300 | PRODUCT_PACKAGES += \ |
| 301 | android.hardware.health.storage@1.0-service.cuttlefish |
| 302 | |
David Zeuthen | f5769c5 | 2020-01-14 19:28:21 -0500 | [diff] [blame] | 303 | # Identity Credential |
| 304 | PRODUCT_PACKAGES += \ |
David Zeuthen | 3974843 | 2020-02-12 11:02:56 -0500 | [diff] [blame] | 305 | android.hardware.identity-service.example |
David Zeuthen | f5769c5 | 2020-01-14 19:28:21 -0500 | [diff] [blame] | 306 | |
Siarhei Vishniakou | 481c061 | 2019-01-11 14:53:35 -0800 | [diff] [blame] | 307 | # Input Classifier HAL |
| 308 | PRODUCT_PACKAGES += \ |
| 309 | android.hardware.input.classifier@1.0-service.default |
| 310 | |
Sarah Chin | d3cb253 | 2019-11-12 18:26:09 -0800 | [diff] [blame] | 311 | # Radio Config HAL |
| 312 | PRODUCT_PACKAGES += \ |
| 313 | android.hardware.radio.config@1.3-service |
| 314 | |
Steven Moreland | c6bcbcd | 2018-01-10 12:27:59 -0800 | [diff] [blame] | 315 | # |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 316 | # Sensors |
| 317 | # |
| 318 | PRODUCT_PACKAGES += \ |
Anthony Stange | b04b94f | 2020-02-12 21:40:15 -0500 | [diff] [blame] | 319 | android.hardware.sensors@2.1-service.mock |
Wei Wang | ee83314 | 2019-01-08 08:59:47 -0800 | [diff] [blame] | 320 | # |
| 321 | # Thermal (mock) |
| 322 | # |
| 323 | PRODUCT_PACKAGES += \ |
Wei Wang | b1a2893 | 2019-01-09 11:32:13 -0800 | [diff] [blame] | 324 | android.hardware.thermal@2.0-service.mock |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 325 | |
| 326 | # |
| 327 | # Lights |
| 328 | # |
| 329 | PRODUCT_PACKAGES += \ |
Ivailo Karamanolev | 01e6821 | 2020-02-12 19:27:54 +0100 | [diff] [blame] | 330 | android.hardware.lights-service.example \ |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 331 | |
| 332 | # |
| 333 | # Keymaster HAL |
| 334 | # |
| 335 | PRODUCT_PACKAGES += \ |
Shawn Willden | b167108 | 2019-11-06 10:18:38 -0700 | [diff] [blame] | 336 | android.hardware.keymaster@4.1-service |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 337 | |
| 338 | # |
| 339 | # Power HAL |
| 340 | # |
| 341 | PRODUCT_PACKAGES += \ |
Wei Wang | 35eefd8 | 2020-01-13 11:21:49 -0800 | [diff] [blame] | 342 | android.hardware.power-service.example |
Benjamin Schwartz | 3521ea1 | 2019-01-25 09:36:39 -0800 | [diff] [blame] | 343 | |
| 344 | # |
| 345 | # PowerStats HAL |
| 346 | # |
| 347 | PRODUCT_PACKAGES += \ |
| 348 | android.hardware.power.stats@1.0-service.mock |
| 349 | |
Greg Hartman | 2fbc494 | 2017-12-14 15:45:55 -0800 | [diff] [blame] | 350 | # |
Michael Butler | e15c4c3 | 2018-12-07 17:40:59 -0800 | [diff] [blame] | 351 | # NeuralNetworks HAL |
| 352 | # |
| 353 | PRODUCT_PACKAGES += \ |
Michael Butler | f1ef00c | 2019-09-11 12:42:06 -0700 | [diff] [blame] | 354 | android.hardware.neuralnetworks@1.3-service-sample-all \ |
| 355 | android.hardware.neuralnetworks@1.3-service-sample-float-fast \ |
| 356 | android.hardware.neuralnetworks@1.3-service-sample-float-slow \ |
| 357 | android.hardware.neuralnetworks@1.3-service-sample-minimal \ |
| 358 | android.hardware.neuralnetworks@1.3-service-sample-quant |
Michael Butler | e15c4c3 | 2018-12-07 17:40:59 -0800 | [diff] [blame] | 359 | |
| 360 | # |
Greg Hartman | 2fbc494 | 2017-12-14 15:45:55 -0800 | [diff] [blame] | 361 | # USB |
| 362 | PRODUCT_PACKAGES += \ |
| 363 | android.hardware.usb@1.0-service |
| 364 | |
Harpreet "Eli" Sangha | 0443f4f | 2019-01-31 16:13:12 +0900 | [diff] [blame] | 365 | # Vibrator HAL |
| 366 | PRODUCT_PACKAGES += \ |
Steven Moreland | 691da38 | 2019-10-25 15:06:53 -0700 | [diff] [blame] | 367 | android.hardware.vibrator-service.example |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 368 | |
David Anderson | e9d9470 | 2019-10-07 13:27:01 -0700 | [diff] [blame] | 369 | # BootControl HAL |
| 370 | PRODUCT_PACKAGES += \ |
| 371 | android.hardware.boot@1.1-impl \ |
| 372 | android.hardware.boot@1.1-impl.recovery \ |
| 373 | android.hardware.boot@1.1-service |
| 374 | |
Kenny Root | 3a78def | 2019-12-03 15:31:05 -0800 | [diff] [blame] | 375 | # RebootEscrow HAL |
| 376 | PRODUCT_PACKAGES += \ |
| 377 | android.hardware.rebootescrow-service.default |
| 378 | |
Andreas Huber | 2ad6248 | 2018-01-31 09:15:01 -0800 | [diff] [blame] | 379 | # WLAN driver configuration files |
| 380 | PRODUCT_COPY_FILES += \ |
| 381 | $(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] | 382 | |
| 383 | # Recovery mode |
| 384 | ifneq ($(TARGET_NO_RECOVERY),true) |
Alistair Strachan | 5b47aac | 2019-01-03 12:55:59 -0800 | [diff] [blame] | 385 | |
| 386 | PRODUCT_COPY_FILES += \ |
Alistair Delva | 52b256d | 2019-12-26 14:09:01 -0800 | [diff] [blame] | 387 | device/google/cuttlefish/shared/config/init.recovery.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.cutf_cvm.rc \ |
Alistair Delva | 3a44dfb | 2019-12-26 13:18:31 -0800 | [diff] [blame] | 388 | device/google/cuttlefish/shared/config/cgroups.json:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/etc/cgroups.json \ |
Alistair Delva | 4548610 | 2019-12-26 14:16:04 -0800 | [diff] [blame] | 389 | 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] | 390 | |
| 391 | endif |
Dan Willemsen | 302bfda | 2019-02-09 22:27:57 -0800 | [diff] [blame] | 392 | |
Ram Muthiah | 901c804 | 2019-07-24 17:04:03 -0700 | [diff] [blame] | 393 | # |
| 394 | # Shell script Vendor Module Loading |
| 395 | # |
| 396 | PRODUCT_COPY_FILES += \ |
| 397 | $(LOCAL_PATH)/config/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \ |
| 398 | |
Dan Willemsen | 302bfda | 2019-02-09 22:27:57 -0800 | [diff] [blame] | 399 | # Host packages to install |
Cody Schuffelen | e22a331 | 2019-11-22 17:38:56 +0000 | [diff] [blame] | 400 | PRODUCT_HOST_PACKAGES += socket_vsock_proxy |
Cody Schuffelen | 70c304c | 2019-10-28 12:13:30 -0700 | [diff] [blame] | 401 | |
| 402 | PRODUCT_EXTRA_VNDK_VERSIONS := 28 29 |
Dan Willemsen | 3cd5544 | 2020-01-27 17:59:47 -0800 | [diff] [blame] | 403 | |
| 404 | PRODUCT_SOONG_NAMESPACES += external/mesa3d |
Sundong Ahn | ff5ff7e | 2020-02-03 14:56:14 +0900 | [diff] [blame] | 405 | |
| 406 | # Need this so that the application's loop on reading input can be synchronized |
| 407 | # with HW VSYNC |
| 408 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.running_without_sync_framework=true |