| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 1 | # | 
|  | 2 | # Copyright (C) 2020 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 |  | 
| Joe Onorato | 28b6e56 | 2023-04-14 10:58:58 -0700 | [diff] [blame] | 17 | # Restrict the visibility of Android.bp files to improve build analysis time | 
|  | 18 | $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) | 
|  | 19 |  | 
| Petri Gynther | b058000 | 2021-09-02 14:26:57 -0700 | [diff] [blame] | 20 | TARGET_KERNEL_DIR ?= device/google/raviole-kernel | 
|  | 21 | TARGET_BOARD_KERNEL_HEADERS := device/google/raviole-kernel/kernel-headers | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 22 |  | 
| Aaron Ding | 926ef41 | 2023-12-27 00:58:22 +0800 | [diff] [blame] | 23 | ifdef RELEASE_GOOGLE_ORIOLE_KERNEL_VERSION | 
|  | 24 | TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_ORIOLE_KERNEL_VERSION) | 
|  | 25 | endif | 
|  | 26 |  | 
|  | 27 | ifdef RELEASE_GOOGLE_ORIOLE_KERNEL_DIR | 
|  | 28 | TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_ORIOLE_KERNEL_DIR) | 
|  | 29 | TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_ORIOLE_KERNEL_DIR)/kernel-headers | 
|  | 30 | endif | 
|  | 31 |  | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 32 | $(call inherit-product-if-exists, vendor/google_devices/raviole/prebuilts/device-vendor-oriole.mk) | 
|  | 33 | $(call inherit-product-if-exists, vendor/google_devices/gs101/prebuilts/device-vendor.mk) | 
|  | 34 | $(call inherit-product-if-exists, vendor/google_devices/gs101/proprietary/device-vendor.mk) | 
| Bill Yi | c2e4a48 | 2021-03-17 05:53:25 +0000 | [diff] [blame] | 35 | $(call inherit-product-if-exists, vendor/google_devices/oriole/proprietary/device-vendor.mk) | 
| linpeter | f3d8bf6 | 2021-03-17 09:27:12 +0800 | [diff] [blame] | 36 | $(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/oriole/device-vendor-oriole.mk) | 
| PEI-HSIEN KUO | 36dd88a | 2021-03-18 19:39:38 +0800 | [diff] [blame] | 37 | $(call inherit-product-if-exists, vendor/google/camera/devices/raviole/oriole/device-vendor.mk) | 
| Ching-Sung Li | 05395df | 2021-05-24 11:23:59 +0800 | [diff] [blame] | 38 | $(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/WallpapersOriole.mk) | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 39 |  | 
|  | 40 | DEVICE_PACKAGE_OVERLAYS += device/google/raviole/oriole/overlay | 
|  | 41 |  | 
| Robert Lee | 09c3fd3 | 2021-08-16 06:21:06 +0000 | [diff] [blame] | 42 | include device/google/raviole/audio/oriole/audio-tables.mk | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 43 | include device/google/gs101/device-shipping-common.mk | 
| yawensu | c51621f | 2021-09-14 14:16:49 +0800 | [diff] [blame] | 44 | include device/google/gs101/telephony/pktrouter.mk | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 45 | include hardware/google/pixel/vibrator/cs40l25/device.mk | 
| Adam Shih | 6e05ed0 | 2022-08-16 13:56:53 +0800 | [diff] [blame] | 46 | include device/google/gs-common/bcmbt/bluetooth.mk | 
| Adam Shih | 7127442 | 2022-11-28 14:12:20 +0800 | [diff] [blame] | 47 | include device/google/gs-common/touch/stm/stm11.mk | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 48 |  | 
| chenkris | 686598b | 2023-06-08 09:59:13 +0000 | [diff] [blame] | 49 | # Fingerprint HAL | 
|  | 50 | GOODIX_CONFIG_BUILD_VERSION := g6_trusty | 
| Cyan_Hsieh | 9926df8 | 2023-10-25 18:16:54 +0800 | [diff] [blame] | 51 | ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION))) | 
|  | 52 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/firmware/fingerprint/24Q1 | 
| Cyan_Hsieh | 933d331 | 2024-02-27 15:45:19 +0800 | [diff] [blame] | 53 | else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION))) | 
| Cyan_Hsieh | 2a16b70 | 2023-12-13 14:00:23 +0800 | [diff] [blame] | 54 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/firmware/fingerprint/24Q2 | 
| Cyan_Hsieh | 9926df8 | 2023-10-25 18:16:54 +0800 | [diff] [blame] | 55 | else | 
|  | 56 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/firmware/fingerprint/trunk | 
|  | 57 | endif | 
| chenkris | 79df843 | 2023-06-13 03:06:29 +0000 | [diff] [blame] | 58 | $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk) | 
| chenkris | 686598b | 2023-06-08 09:59:13 +0000 | [diff] [blame] | 59 | ifeq ($(filter factory%, $(TARGET_PRODUCT)),) | 
| chenkris | 79df843 | 2023-06-13 03:06:29 +0000 | [diff] [blame] | 60 | $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk) | 
| Ilya Matyukhin | 99725eb | 2021-05-18 00:58:22 -0700 | [diff] [blame] | 61 | else | 
| chenkris | 79df843 | 2023-06-13 03:06:29 +0000 | [diff] [blame] | 62 | $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk) | 
| Ilya Matyukhin | 99725eb | 2021-05-18 00:58:22 -0700 | [diff] [blame] | 63 | endif | 
|  | 64 |  | 
| Krzysztof Kosiński | 6165da4 | 2022-09-13 01:56:24 +0000 | [diff] [blame] | 65 | # go/lyric-soong-variables | 
|  | 66 | $(call soong_config_set,lyric,camera_hardware,oriole) | 
| Sasha Smundak | fbe1c66 | 2021-12-15 09:17:53 -0800 | [diff] [blame] | 67 | $(call soong_config_set,lyric,tuning_product,oriole) | 
|  | 68 | $(call soong_config_set,google3a_config,target_device,oriole) | 
| Ilya Matyukhin | 99725eb | 2021-05-18 00:58:22 -0700 | [diff] [blame] | 69 |  | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 70 | # Init files | 
|  | 71 | PRODUCT_COPY_FILES += \ | 
| Robin Peng | 334022f | 2021-05-05 12:01:32 +0800 | [diff] [blame] | 72 | device/google/raviole/conf/init.raviole.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.raviole.rc \ | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 73 | device/google/raviole/conf/init.oriole.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.oriole.rc | 
|  | 74 |  | 
|  | 75 | # Recovery files | 
|  | 76 | PRODUCT_COPY_FILES += \ | 
|  | 77 | device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.oriole.rc | 
|  | 78 |  | 
|  | 79 | # insmod files | 
|  | 80 | PRODUCT_COPY_FILES += \ | 
|  | 81 | device/google/raviole/init.insmod.oriole.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.oriole.cfg | 
|  | 82 |  | 
|  | 83 | # Thermal Config | 
|  | 84 | PRODUCT_COPY_FILES += \ | 
| TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 85 | device/google/raviole/thermal_info_config_oriole.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ | 
| David Chao | 6c2519c | 2022-08-15 18:56:43 +0800 | [diff] [blame] | 86 | device/google/raviole/thermal_info_config_charge_oriole.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json \ | 
| TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 87 | device/google/raviole/thermal_info_config_oriole_WHI_A.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_WHI_A.json | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 88 |  | 
| Jimmy Shiu | fdfe3e3 | 2022-01-22 05:04:01 +0800 | [diff] [blame] | 89 | # Power HAL config | 
|  | 90 | PRODUCT_COPY_FILES += \ | 
| André Draszik | e3f5d8a | 2023-06-19 15:55:08 +0100 | [diff] [blame] | 91 | device/google/raviole/powerhint-oriole.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json \ | 
|  | 92 | device/google/raviole/powerhint-oriole-mainline.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-mainline.json \ | 
| Jimmy Shiu | fdfe3e3 | 2022-01-22 05:04:01 +0800 | [diff] [blame] | 93 |  | 
| Ted Wang | 1a82245 | 2023-05-07 11:27:19 +0000 | [diff] [blame] | 94 | # Bluetooth sepolicy | 
|  | 95 | include device/google/gs101-sepolicy/oriole-sepolicy.mk | 
|  | 96 |  | 
| Cheney Ni | ab92016 | 2021-06-28 13:47:54 +0800 | [diff] [blame] | 97 | # Bluetooth | 
|  | 98 | PRODUCT_PRODUCT_PROPERTIES += \ | 
| jonerlin | 6075bd6 | 2022-07-15 10:47:19 +0800 | [diff] [blame] | 99 | persist.bluetooth.a2dp_aac.vbr_supported=true \ | 
|  | 100 | persist.bluetooth.firmware.selection=BCM.hcd | 
| Cheney Ni | ab92016 | 2021-06-28 13:47:54 +0800 | [diff] [blame] | 101 |  | 
| Labib | 68270de | 2021-05-05 17:15:43 +0800 | [diff] [blame] | 102 | # Bluetooth Tx power caps for oriole | 
|  | 103 | PRODUCT_COPY_FILES += \ | 
| Andrew Chant | 891f54c | 2023-05-30 14:43:13 -0700 | [diff] [blame] | 104 | device/google/raviole/bluetooth_power_limits_oriole.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \ | 
|  | 105 | device/google/raviole/bluetooth_power_limits_oriole_jp.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \ | 
|  | 106 | device/google/raviole/bluetooth_power_limits_G9S9B_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G9S9B_US.csv \ | 
|  | 107 | device/google/raviole/bluetooth_power_limits_GB7N6_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GB7N6_US.csv \ | 
|  | 108 | device/google/raviole/bluetooth_power_limits_G9S9B_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G9S9B_EU.csv \ | 
|  | 109 | device/google/raviole/bluetooth_power_limits_GB7N6_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GB7N6_EU.csv | 
| Labib | 68270de | 2021-05-05 17:15:43 +0800 | [diff] [blame] | 110 |  | 
| Ted Wang | 6918ecc | 2021-08-05 11:33:20 +0800 | [diff] [blame] | 111 |  | 
| jonerlin | 9c27ad6 | 2022-04-06 11:49:52 +0800 | [diff] [blame] | 112 | # Bluetooth Hal Extension test tools | 
| Ted Wang | 34a8963 | 2021-07-15 18:46:57 +0800 | [diff] [blame] | 113 | PRODUCT_PACKAGES_DEBUG += \ | 
| jonerlin | 9c27ad6 | 2022-04-06 11:49:52 +0800 | [diff] [blame] | 114 | sar_test \ | 
|  | 115 | hci_inject | 
| Ted Wang | 34a8963 | 2021-07-15 18:46:57 +0800 | [diff] [blame] | 116 |  | 
| Adam Shih | e41c2c2 | 2022-08-26 09:54:06 +0800 | [diff] [blame] | 117 | # userdebug specific | 
|  | 118 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) | 
|  | 119 | # Bluetooth LE Audio Hardware offload | 
|  | 120 | PRODUCT_PRODUCT_PROPERTIES += \ | 
|  | 121 | ro.bluetooth.leaudio_offload.supported=true \ | 
|  | 122 | persist.bluetooth.leaudio_offload.disabled=true \ | 
|  | 123 | persist.bluetooth.le_audio_test=false | 
|  | 124 | endif | 
|  | 125 |  | 
|  | 126 | # Bluetooth HAL | 
|  | 127 | PRODUCT_COPY_FILES += \ | 
|  | 128 | device/google/raviole/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf | 
|  | 129 |  | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 130 | # MIPI Coex Configs | 
|  | 131 | PRODUCT_COPY_FILES += \ | 
| Eddie Tashjian | 7ecf224 | 2021-03-25 13:25:38 -0700 | [diff] [blame] | 132 | device/google/raviole/radio/oriole_display_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv \ | 
| Jie Song | e488597 | 2021-04-19 17:50:26 +0000 | [diff] [blame] | 133 | device/google/raviole/radio/oriole_camera_front_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_mipi_coex_table.csv \ | 
|  | 134 | device/google/raviole/radio/oriole_camera_rear_wide_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_rear_wide_mipi_coex_table.csv | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 135 |  | 
|  | 136 | # Camera | 
|  | 137 | PRODUCT_COPY_FILES += \ | 
|  | 138 | device/google/raviole/media_profiles_oriole.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml | 
|  | 139 |  | 
| JimiChen | e2d4897 | 2022-06-30 19:39:15 +0800 | [diff] [blame] | 140 | PRODUCT_PROPERTY_OVERRIDES += \ | 
| Speth Chang | b904350 | 2023-05-08 11:27:31 +0000 | [diff] [blame] | 141 | persist.vendor.camera.fixed_fps_range_boost=1 | 
| JimiChen | e2d4897 | 2022-06-30 19:39:15 +0800 | [diff] [blame] | 142 |  | 
| Long Ling | 8275661 | 2021-04-30 15:52:57 -0700 | [diff] [blame] | 143 | # Display Config | 
|  | 144 | PRODUCT_COPY_FILES += \ | 
| Long Ling | aaf6f63 | 2021-06-21 15:45:58 -0700 | [diff] [blame] | 145 | device/google/raviole/oriole/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb \ | 
| Long Ling | 8275661 | 2021-04-30 15:52:57 -0700 | [diff] [blame] | 146 | device/google/raviole/oriole/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb | 
|  | 147 |  | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 148 | # NFC | 
|  | 149 | PRODUCT_COPY_FILES += \ | 
| George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 150 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ | 
|  | 151 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ | 
|  | 152 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ | 
|  | 153 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ | 
|  | 154 | frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ | 
|  | 155 | frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \ | 
| George Chang | d48ff14 | 2021-03-10 20:35:15 +0800 | [diff] [blame] | 156 | device/google/raviole/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \ | 
|  | 157 | device/google/raviole/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf | 
|  | 158 |  | 
| George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 159 | PRODUCT_PACKAGES += \ | 
| Roshan Pius | cd3dd4d | 2023-12-01 19:19:56 +0000 | [diff] [blame] | 160 | $(RELEASE_PACKAGE_NFC_STACK) \ | 
| George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 161 | Tag \ | 
| Roshan Pius | 21db443 | 2023-12-01 19:19:56 +0000 | [diff] [blame] | 162 | android.hardware.nfc-service.st \ | 
|  | 163 | NfcOverlayOriole | 
| George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 164 |  | 
|  | 165 | # SecureElement | 
|  | 166 | PRODUCT_PACKAGES += \ | 
| George Chang | c84c460 | 2021-08-20 17:09:55 +0800 | [diff] [blame] | 167 | android.hardware.secure_element@1.2-service-gto \ | 
|  | 168 | android.hardware.secure_element@1.2-service-gto-ese2 | 
| George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 169 |  | 
|  | 170 | PRODUCT_COPY_FILES += \ | 
|  | 171 | frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \ | 
|  | 172 | frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \ | 
| George Chang | c84c460 | 2021-08-20 17:09:55 +0800 | [diff] [blame] | 173 | device/google/raviole/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \ | 
|  | 174 | device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf | 
| George Chang | d48ff14 | 2021-03-10 20:35:15 +0800 | [diff] [blame] | 175 |  | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 176 | DEVICE_MANIFEST_FILE += \ | 
| George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 177 | device/google/raviole/nfc/manifest_se.xml | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 178 |  | 
|  | 179 | # Vibrator HAL | 
|  | 180 | PRODUCT_PRODUCT_PROPERTIES +=\ | 
| chasewu | f680529 | 2022-04-14 15:30:02 +0800 | [diff] [blame] | 181 | ro.vendor.vibrator.hal.long.frequency.shift=15 \ | 
|  | 182 | ro.vendor.vibrator.hal.device.mass=0.205 \ | 
| Nathan Kulczak | 0b0f586 | 2023-08-15 01:22:27 +0000 | [diff] [blame] | 183 | ro.vendor.vibrator.hal.loc.coeff=2.25 \ | 
|  | 184 | persist.vendor.vibrator.hal.chirp.enabled=0 | 
| Jimmy Shiu | 1fef228 | 2021-11-10 00:07:25 +0800 | [diff] [blame] | 185 |  | 
| Vince Leung | 63d0be6 | 2021-08-27 20:07:54 +0000 | [diff] [blame] | 186 | ACTUATOR_MODEL := luxshare_ict_081545 | 
| Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 187 |  | 
| Benjamin Schwartz | c798cb3 | 2021-03-18 17:55:40 -0700 | [diff] [blame] | 188 | # PowerStats HAL | 
| Yanting Yang | 2433315 | 2021-05-03 15:43:06 +0800 | [diff] [blame] | 189 | PRODUCT_SOONG_NAMESPACES += \ | 
|  | 190 | device/google/raviole/powerstats/oriole \ | 
|  | 191 | device/google/raviole | 
| Benjamin Schwartz | c798cb3 | 2021-03-18 17:55:40 -0700 | [diff] [blame] | 192 |  | 
| Cyan_Hsieh | 60a6c99 | 2021-03-11 14:44:54 +0800 | [diff] [blame] | 193 | # Keyboard bottom padding in dp for portrait mode | 
|  | 194 | PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_b=10 | 
| linpeter | 85646ce | 2020-12-17 21:18:41 +0800 | [diff] [blame] | 195 |  | 
| Daniel Solomon | 7494ecc | 2021-08-06 14:37:47 -0700 | [diff] [blame] | 196 | # Display | 
| linpeter | 85646ce | 2020-12-17 21:18:41 +0800 | [diff] [blame] | 197 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 | 
| Daniel Solomon | 7494ecc | 2021-08-06 14:37:47 -0700 | [diff] [blame] | 198 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1500 | 
| Jack Wu | 6e0bb1c | 2019-01-17 21:38:27 +0800 | [diff] [blame] | 199 |  | 
| wenchangliu | 0e8a67f | 2021-08-18 11:02:49 +0800 | [diff] [blame] | 200 | # Media Performance Class 12 | 
|  | 201 | PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=31 | 
|  | 202 |  | 
| Jack Wu | 6e0bb1c | 2019-01-17 21:38:27 +0800 | [diff] [blame] | 203 | # userdebug specific | 
|  | 204 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) | 
|  | 205 | PRODUCT_COPY_FILES += \ | 
| Ken Tsou | 97db855 | 2022-03-16 17:50:30 +0800 | [diff] [blame] | 206 | device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc | 
| Jack Wu | 6e0bb1c | 2019-01-17 21:38:27 +0800 | [diff] [blame] | 207 | endif | 
| terrycrhuang | fd95a68 | 2021-04-14 17:32:20 +0800 | [diff] [blame] | 208 |  | 
|  | 209 | # Increment the SVN for any official public releases | 
|  | 210 | PRODUCT_VENDOR_PROPERTIES += \ | 
| Ankur Bakshi | 38c977c | 2024-02-14 23:19:24 +0000 | [diff] [blame] | 211 | ro.vendor.build.svn=80 | 
| shawnlin | 1c49162 | 2021-04-22 13:27:45 +0800 | [diff] [blame] | 212 |  | 
| shawnlin | 6c36397 | 2022-02-15 13:40:37 +0800 | [diff] [blame] | 213 | # Set support hide display cutout feature | 
|  | 214 | PRODUCT_PRODUCT_PROPERTIES += \ | 
|  | 215 | ro.support_hide_display_cutout=true | 
|  | 216 |  | 
| shawnlin | 1c49162 | 2021-04-22 13:27:45 +0800 | [diff] [blame] | 217 | # Hide cutout overlays | 
|  | 218 | PRODUCT_PACKAGES += \ | 
|  | 219 | NoCutoutOverlay \ | 
|  | 220 | AvoidAppsInCutoutOverlay | 
| Yanting Yang | 2433315 | 2021-05-03 15:43:06 +0800 | [diff] [blame] | 221 |  | 
| Jayant Chowdhary | e3669c9 | 2023-05-25 20:16:27 +0000 | [diff] [blame] | 222 | # Android DeviceAsWebcam specific overlay | 
|  | 223 | PRODUCT_PACKAGES += \ | 
|  | 224 | DeviceAsWebcamOriole | 
|  | 225 |  | 
| Yanting Yang | 2433315 | 2021-05-03 15:43:06 +0800 | [diff] [blame] | 226 | # SKU specific RROs | 
|  | 227 | PRODUCT_PACKAGES += \ | 
| Yanting Yang | 7a754f9 | 2021-08-23 13:14:56 +0800 | [diff] [blame] | 228 | SettingsOverlayGR1YH \ | 
|  | 229 | SettingsOverlayGB7N6 \ | 
|  | 230 | SettingsOverlayG9S9B | 
| Kris Chen | 74dfc0c | 2021-05-07 21:38:46 +0800 | [diff] [blame] | 231 |  | 
|  | 232 | # Fingerprint antispoof property | 
|  | 233 | PRODUCT_PRODUCT_PROPERTIES +=\ | 
|  | 234 | persist.vendor.fingerprint.disable.fake.override=none | 
| Michael Ayoubi | ca6b352 | 2021-05-25 02:09:47 +0000 | [diff] [blame] | 235 |  | 
| Kris Chen | 36cf68c | 2022-04-19 22:12:00 +0800 | [diff] [blame] | 236 | # Fingerprint HAL | 
|  | 237 | PRODUCT_VENDOR_PROPERTIES += \ | 
| Kris Chen | f514128 | 2022-05-24 20:15:22 +0800 | [diff] [blame] | 238 | persist.vendor.udfps.lhbm_controlled_in_hal_supported=true \ | 
|  | 239 | persist.vendor.udfps.als_feed_forward_supported=true | 
|  | 240 |  | 
| Kris Chen | 36cf68c | 2022-04-19 22:12:00 +0800 | [diff] [blame] | 241 |  | 
| Michael Ayoubi | ca6b352 | 2021-05-25 02:09:47 +0000 | [diff] [blame] | 242 | # DCK properties based on target | 
|  | 243 | PRODUCT_PROPERTY_OVERRIDES += \ | 
| Jeffrey Carlyle | eaaa3f2 | 2023-02-17 15:01:11 -0800 | [diff] [blame] | 244 | ro.gms.dck.eligible_wcc=2 \ | 
|  | 245 | ro.gms.dck.se_capability=1 | 
| Robin Peng | 6e4640b | 2021-06-01 18:03:27 +0800 | [diff] [blame] | 246 |  | 
|  | 247 | # Trusty liboemcrypto.so | 
|  | 248 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts | 
| Cyan_Hsieh | 9926df8 | 2023-10-25 18:16:54 +0800 | [diff] [blame] | 249 | ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION))) | 
|  | 250 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/trusty/24Q1 | 
| Cyan_Hsieh | 933d331 | 2024-02-27 15:45:19 +0800 | [diff] [blame] | 251 | else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION))) | 
| Cyan_Hsieh | 2a16b70 | 2023-12-13 14:00:23 +0800 | [diff] [blame] | 252 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/trusty/24Q2 | 
| Cyan_Hsieh | 9926df8 | 2023-10-25 18:16:54 +0800 | [diff] [blame] | 253 | else | 
|  | 254 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/trusty/trunk | 
|  | 255 | endif | 
| Bill Lin | 964bf23 | 2021-06-04 08:48:58 +0800 | [diff] [blame] | 256 |  | 
|  | 257 | # Set support one-handed mode | 
|  | 258 | PRODUCT_PRODUCT_PROPERTIES += \ | 
|  | 259 | ro.support_one_handed_mode=true | 
| Zhijun He | 59a3061 | 2021-07-09 11:33:45 -0700 | [diff] [blame] | 260 |  | 
|  | 261 | # Enable camera exif model/make reporting | 
| Charles Chiu | 57fc706 | 2021-07-28 14:58:36 +0800 | [diff] [blame] | 262 | PRODUCT_VENDOR_PROPERTIES += \ | 
| Zhijun He | 59a3061 | 2021-07-09 11:33:45 -0700 | [diff] [blame] | 263 | persist.vendor.camera.exif_reveal_make_model=true | 
| jonerlin | 972d2c2 | 2021-06-29 16:36:29 +0800 | [diff] [blame] | 264 |  | 
| Mars Lin | eabb3bf | 2022-06-08 22:11:37 +0800 | [diff] [blame] | 265 | # tetheroffload HAL | 
|  | 266 | PRODUCT_PACKAGES += \ | 
|  | 267 | vendor.samsung_slsi.hardware.tetheroffload@1.1-service | 
|  | 268 |  | 
| jiabin | c4ffb64 | 2021-07-16 22:34:35 +0000 | [diff] [blame] | 269 | # Override default distortion output gain according to UX experiments | 
|  | 270 | PRODUCT_PRODUCT_PROPERTIES += \ | 
|  | 271 | vendor.audio.hapticgenerator.distortion.output.gain=0.5 | 
| Martin Liu | bbb311a | 2021-10-05 12:24:18 +0000 | [diff] [blame] | 272 |  | 
| Tri Vo | de03be0 | 2023-01-30 15:59:51 -0800 | [diff] [blame] | 273 | # RKPD | 
|  | 274 | PRODUCT_PRODUCT_PROPERTIES += \ | 
| Tri Vo | de03be0 | 2023-01-30 15:59:51 -0800 | [diff] [blame] | 275 | remote_provisioning.hostname=remoteprovisioning.googleapis.com \ | 
|  | 276 |  | 
| Martin Liu | bbb311a | 2021-10-05 12:24:18 +0000 | [diff] [blame] | 277 | # Set zram size | 
|  | 278 | PRODUCT_VENDOR_PROPERTIES += \ | 
|  | 279 | vendor.zram.size=3g | 
| Alex Hong | b803358 | 2021-11-17 19:10:08 +0800 | [diff] [blame] | 280 |  | 
|  | 281 | # This device is shipped with 31 (Android S) | 
|  | 282 | PRODUCT_SHIPPING_API_LEVEL := 31 | 
| Alice Kuo | 8ee4619 | 2021-12-17 13:28:08 +0800 | [diff] [blame] | 283 |  | 
| justinweng | 07e8b01 | 2022-01-25 15:45:21 +0800 | [diff] [blame] | 284 | # declare use of spatial audio | 
|  | 285 | PRODUCT_PROPERTY_OVERRIDES += \ | 
|  | 286 | ro.audio.spatializer_enabled=true | 
|  | 287 |  | 
| Andy Hung | 3f8d5cf | 2022-12-16 13:42:45 -0800 | [diff] [blame] | 288 | # optimize spatializer effect | 
|  | 289 | PRODUCT_PROPERTY_OVERRIDES += \ | 
|  | 290 | audio.spatializer.effect.util_clamp_min=300 | 
|  | 291 |  | 
| justinweng | 07e8b01 | 2022-01-25 15:45:21 +0800 | [diff] [blame] | 292 | PRODUCT_PACKAGES += \ | 
|  | 293 | libspatialaudio | 
|  | 294 |  | 
| Ben Murdoch | b5b4257 | 2022-03-10 10:44:27 +0000 | [diff] [blame] | 295 | # Device features | 
|  | 296 | PRODUCT_COPY_FILES += \ | 
|  | 297 | frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml | 
| Matt Buckley | 0f365e0 | 2022-08-10 18:59:17 +0000 | [diff] [blame] | 298 |  | 
| kuanyuhuang | 932c817 | 2022-10-27 10:03:03 +0000 | [diff] [blame] | 299 | # Bluetooth OPUS codec | 
|  | 300 | PRODUCT_PRODUCT_PROPERTIES += \ | 
|  | 301 | persist.bluetooth.opus.enabled=true | 
| Jakub Pawlowski | 9d6e665 | 2022-10-31 22:04:26 +0100 | [diff] [blame] | 302 |  | 
| Adam Shih | 7845ccf | 2022-10-21 14:39:46 +0800 | [diff] [blame] | 303 | # Location | 
|  | 304 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) | 
|  | 305 | PRODUCT_COPY_FILES += \ | 
|  | 306 | device/google/raviole/location/gps.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml | 
|  | 307 | else | 
|  | 308 | PRODUCT_COPY_FILES += \ | 
|  | 309 | device/google/raviole/location/gps_user.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml | 
|  | 310 | endif | 
| Jiaming Liu | 9e53e0e | 2023-05-12 01:36:04 +0000 | [diff] [blame] | 311 |  | 
| Avichal Rakesh | d552119 | 2023-02-06 13:32:35 -0800 | [diff] [blame] | 312 | # Enable DeviceAsWebcam support | 
|  | 313 | PRODUCT_VENDOR_PROPERTIES += \ | 
|  | 314 | ro.usb.uvc.enabled=true | 
| Shivakumar Neginal | 4fb3e74 | 2023-10-16 18:53:29 +0000 | [diff] [blame] | 315 |  | 
|  | 316 | # Quick Start device-specific settings | 
|  | 317 | PRODUCT_PRODUCT_PROPERTIES += \ | 
|  | 318 | ro.quick_start.oem_id=00e0 \ | 
|  | 319 | ro.quick_start.device_id=oriole |