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 | |
| 23 | $(call inherit-product-if-exists, vendor/google_devices/raviole/prebuilts/device-vendor-raven.mk) |
| 24 | $(call inherit-product-if-exists, vendor/google_devices/gs101/prebuilts/device-vendor.mk) |
| 25 | $(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] | 26 | $(call inherit-product-if-exists, vendor/google_devices/raven/proprietary/device-vendor.mk) |
linpeter | f3d8bf6 | 2021-03-17 09:27:12 +0800 | [diff] [blame] | 27 | $(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/raven/device-vendor-raven.mk) |
PEI-HSIEN KUO | 36dd88a | 2021-03-18 19:39:38 +0800 | [diff] [blame] | 28 | $(call inherit-product-if-exists, vendor/google/camera/devices/raviole/raven/device-vendor.mk) |
Ching-Sung Li | fb5e389 | 2021-05-31 15:18:59 +0800 | [diff] [blame] | 29 | $(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/WallpapersRaven.mk) |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 30 | |
leohsieh | 85d8c0b | 2021-08-30 22:22:49 +0800 | [diff] [blame] | 31 | GOODIX_CONFIG_BUILD_VERSION := g6_trusty |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 32 | DEVICE_PACKAGE_OVERLAYS += device/google/raviole/raven/overlay |
| 33 | |
Robert Lee | 09c3fd3 | 2021-08-16 06:21:06 +0000 | [diff] [blame] | 34 | include device/google/raviole/audio/raven/audio-tables.mk |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 35 | include device/google/gs101/device-shipping-common.mk |
Ilya Matyukhin | 1d54825 | 2021-05-18 01:03:41 -0700 | [diff] [blame] | 36 | include device/google/gs101/fingerprint/udfps_common.mk |
yawensu | c51621f | 2021-09-14 14:16:49 +0800 | [diff] [blame] | 37 | include device/google/gs101/telephony/pktrouter.mk |
Adam Shih | 6e05ed0 | 2022-08-16 13:56:53 +0800 | [diff] [blame] | 38 | include device/google/gs-common/bcmbt/bluetooth.mk |
Adam Shih | 7b29848 | 2022-11-07 11:34:43 +0800 | [diff] [blame] | 39 | include device/google/gs-common/touch/lsi/lsi.mk |
Ilya Matyukhin | 1d54825 | 2021-05-18 01:03:41 -0700 | [diff] [blame] | 40 | |
Ken Yang | 116d3c9 | 2022-12-10 14:16:50 +0000 | [diff] [blame] | 41 | |
Ilya Matyukhin | 1d54825 | 2021-05-18 01:03:41 -0700 | [diff] [blame] | 42 | ifeq ($(filter factory_raven, $(TARGET_PRODUCT)),) |
| 43 | include device/google/gs101/fingerprint/udfps_shipping.mk |
| 44 | else |
| 45 | include device/google/gs101/fingerprint/udfps_factory.mk |
| 46 | endif |
| 47 | |
Victor Liu | 0bc47d6 | 2021-04-20 22:15:02 +0000 | [diff] [blame] | 48 | ifeq ($(filter factory_raven, $(TARGET_PRODUCT)),) |
Victor Liu | 49d231b | 2021-10-26 12:00:09 -0700 | [diff] [blame] | 49 | include device/google/raviole/uwb/uwb_calibration.mk |
Victor Liu | 0bc47d6 | 2021-04-20 22:15:02 +0000 | [diff] [blame] | 50 | endif |
Ilya Matyukhin | 1d54825 | 2021-05-18 01:03:41 -0700 | [diff] [blame] | 51 | |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 52 | include hardware/google/pixel/vibrator/cs40l25/device.mk |
| 53 | |
Krzysztof Kosiński | 6165da4 | 2022-09-13 01:56:24 +0000 | [diff] [blame] | 54 | # go/lyric-soong-variables |
| 55 | $(call soong_config_set,lyric,camera_hardware,raven) |
Sasha Smundak | fbe1c66 | 2021-12-15 09:17:53 -0800 | [diff] [blame] | 56 | $(call soong_config_set,lyric,tuning_product,raven) |
| 57 | $(call soong_config_set,google3a_config,target_device,raven) |
Krzysztof Kosiński | 0fc38d2 | 2021-11-02 21:00:10 -0700 | [diff] [blame] | 58 | |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 59 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.support_kernel_idle_timer=true |
Ady Abraham | 9a9d024 | 2021-03-19 12:52:46 -0700 | [diff] [blame] | 60 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.enable_frame_rate_override=true |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 61 | |
| 62 | # Init files |
| 63 | PRODUCT_COPY_FILES += \ |
Robin Peng | 334022f | 2021-05-05 12:01:32 +0800 | [diff] [blame] | 64 | 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] | 65 | device/google/raviole/conf/init.raven.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.raven.rc |
| 66 | |
| 67 | # Recovery files |
| 68 | PRODUCT_COPY_FILES += \ |
| 69 | device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.raven.rc |
| 70 | |
| 71 | # insmod files |
| 72 | PRODUCT_COPY_FILES += \ |
| 73 | device/google/raviole/init.insmod.raven.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.raven.cfg |
| 74 | |
| 75 | # Thermal Config |
| 76 | PRODUCT_COPY_FILES += \ |
David Chao | 6c2519c | 2022-08-15 18:56:43 +0800 | [diff] [blame] | 77 | device/google/raviole/thermal_info_config_raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ |
| 78 | device/google/raviole/thermal_info_config_charge_raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 79 | |
Jimmy Shiu | fdfe3e3 | 2022-01-22 05:04:01 +0800 | [diff] [blame] | 80 | # Power HAL config |
| 81 | PRODUCT_COPY_FILES += \ |
| 82 | device/google/raviole/powerhint-raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json |
| 83 | |
Roshan Pius | 19b9158 | 2022-12-09 04:27:29 +0000 | [diff] [blame] | 84 | PRODUCT_PACKAGES += \ |
| 85 | UwbOverlayR4 |
| 86 | |
Cheney Ni | ab92016 | 2021-06-28 13:47:54 +0800 | [diff] [blame] | 87 | # Bluetooth |
| 88 | PRODUCT_PRODUCT_PROPERTIES += \ |
jonerlin | 6075bd6 | 2022-07-15 10:47:19 +0800 | [diff] [blame] | 89 | persist.bluetooth.a2dp_aac.vbr_supported=true \ |
| 90 | persist.bluetooth.firmware.selection=BCM.hcd |
Cheney Ni | ab92016 | 2021-06-28 13:47:54 +0800 | [diff] [blame] | 91 | |
Labib | 68270de | 2021-05-05 17:15:43 +0800 | [diff] [blame] | 92 | # Bluetooth Tx power caps for raven |
| 93 | PRODUCT_COPY_FILES += \ |
Ted Wang | d92243b | 2021-07-27 11:20:00 +0800 | [diff] [blame] | 94 | $(LOCAL_PATH)/bluetooth_power_limits_raven.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \ |
Ted Wang | e540f7b | 2021-08-23 09:48:56 +0800 | [diff] [blame] | 95 | $(LOCAL_PATH)/bluetooth_power_limits_raven_us.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv \ |
| 96 | $(LOCAL_PATH)/bluetooth_power_limits_raven_eu.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \ |
| 97 | $(LOCAL_PATH)/bluetooth_power_limits_raven_jp.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv |
| 98 | |
Adam Shih | e41c2c2 | 2022-08-26 09:54:06 +0800 | [diff] [blame] | 99 | # Bluetooth HAL |
| 100 | PRODUCT_COPY_FILES += \ |
| 101 | device/google/raviole/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf |
Labib | 68270de | 2021-05-05 17:15:43 +0800 | [diff] [blame] | 102 | |
jonerlin | 9c27ad6 | 2022-04-06 11:49:52 +0800 | [diff] [blame] | 103 | # Bluetooth Hal Extension test tools |
Ted Wang | 34a8963 | 2021-07-15 18:46:57 +0800 | [diff] [blame] | 104 | PRODUCT_PACKAGES_DEBUG += \ |
jonerlin | 9c27ad6 | 2022-04-06 11:49:52 +0800 | [diff] [blame] | 105 | sar_test \ |
| 106 | hci_inject |
Ted Wang | 34a8963 | 2021-07-15 18:46:57 +0800 | [diff] [blame] | 107 | |
Adam Shih | e41c2c2 | 2022-08-26 09:54:06 +0800 | [diff] [blame] | 108 | # userdebug specific |
| 109 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 110 | # Bluetooth LE Audio Hardware offload |
| 111 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 112 | ro.bluetooth.leaudio_offload.supported=true \ |
| 113 | persist.bluetooth.leaudio_offload.disabled=true \ |
| 114 | persist.bluetooth.le_audio_test=false |
| 115 | endif |
| 116 | |
Jie Song | 6b68ff7 | 2021-07-14 21:35:19 +0000 | [diff] [blame] | 117 | # MIPI Coex Configs |
| 118 | PRODUCT_COPY_FILES += \ |
| 119 | device/google/raviole/radio/raven_camera_rear_tele_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_rear_tele_mipi_coex_table.csv |
| 120 | |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 121 | # Camera |
| 122 | PRODUCT_COPY_FILES += \ |
| 123 | device/google/raviole/media_profiles_raven.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml |
| 124 | |
| 125 | # Display Config |
| 126 | PRODUCT_COPY_FILES += \ |
Long Ling | 8275661 | 2021-04-30 15:52:57 -0700 | [diff] [blame] | 127 | device/google/raviole/raven/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb \ |
| 128 | device/google/raviole/raven/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 129 | |
linpeter | a6263cc | 2021-07-01 19:40:34 +0800 | [diff] [blame] | 130 | #config of display brightness dimming |
linpeter | f256ffb | 2022-08-19 15:17:11 +0800 | [diff] [blame] | 131 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.dimming.usage=1 |
linpeter | a6263cc | 2021-07-01 19:40:34 +0800 | [diff] [blame] | 132 | |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 133 | # NFC |
| 134 | PRODUCT_COPY_FILES += \ |
George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 135 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 136 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 137 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 138 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ |
| 139 | frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ |
Victor Liu | 3d9d289 | 2021-11-11 16:26:30 -0800 | [diff] [blame] | 140 | frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml |
| 141 | |
| 142 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 143 | PRODUCT_COPY_FILES += \ |
| 144 | device/google/raviole/nfc/libnfc-hal-st-debug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \ |
| 145 | device/google/raviole/nfc/libnfc-nci-raven-debug.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf |
| 146 | else |
| 147 | PRODUCT_COPY_FILES += \ |
George Chang | d48ff14 | 2021-03-10 20:35:15 +0800 | [diff] [blame] | 148 | device/google/raviole/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \ |
| 149 | device/google/raviole/nfc/libnfc-nci-raven.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf |
Victor Liu | 3d9d289 | 2021-11-11 16:26:30 -0800 | [diff] [blame] | 150 | endif |
George Chang | d48ff14 | 2021-03-10 20:35:15 +0800 | [diff] [blame] | 151 | |
George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 152 | PRODUCT_PACKAGES += \ |
| 153 | NfcNci \ |
| 154 | Tag \ |
George Chang | 91a4096 | 2022-03-30 22:13:09 +0800 | [diff] [blame] | 155 | android.hardware.nfc-service.st |
George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 156 | |
| 157 | # SecureElement |
| 158 | PRODUCT_PACKAGES += \ |
George Chang | c84c460 | 2021-08-20 17:09:55 +0800 | [diff] [blame] | 159 | android.hardware.secure_element@1.2-service-gto \ |
| 160 | android.hardware.secure_element@1.2-service-gto-ese2 |
George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 161 | |
| 162 | PRODUCT_COPY_FILES += \ |
| 163 | frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \ |
| 164 | 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] | 165 | device/google/raviole/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \ |
| 166 | device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf |
George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 167 | |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 168 | DEVICE_MANIFEST_FILE += \ |
George Chang | 8933f1b | 2021-08-17 00:51:25 +0800 | [diff] [blame] | 169 | device/google/raviole/nfc/manifest_se.xml |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 170 | |
George Chang | c84c460 | 2021-08-20 17:09:55 +0800 | [diff] [blame] | 171 | |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 172 | # Vibrator HAL |
| 173 | PRODUCT_PRODUCT_PROPERTIES +=\ |
chasewu | f680529 | 2022-04-14 15:30:02 +0800 | [diff] [blame] | 174 | ro.vendor.vibrator.hal.long.frequency.shift=15 \ |
| 175 | ro.vendor.vibrator.hal.device.mass=0.21 \ |
| 176 | ro.vendor.vibrator.hal.loc.coeff=2.5 |
Jimmy Shiu | 1fef228 | 2021-11-10 00:07:25 +0800 | [diff] [blame] | 177 | |
Vince Leung | 63d0be6 | 2021-08-27 20:07:54 +0000 | [diff] [blame] | 178 | ACTUATOR_MODEL := luxshare_ict_081545 |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 179 | |
linpeter | 85646ce | 2020-12-17 21:18:41 +0800 | [diff] [blame] | 180 | # Display LBE |
| 181 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 |
Benjamin Schwartz | c798cb3 | 2021-03-18 17:55:40 -0700 | [diff] [blame] | 182 | |
wenchangliu | a768e6f | 2021-08-13 15:31:52 +0800 | [diff] [blame] | 183 | # Media Performance Class 12 |
| 184 | PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=31 |
| 185 | |
Benjamin Schwartz | c798cb3 | 2021-03-18 17:55:40 -0700 | [diff] [blame] | 186 | # PowerStats HAL |
Yanting Yang | 3b1f8ef | 2021-05-31 03:53:40 +0800 | [diff] [blame] | 187 | PRODUCT_SOONG_NAMESPACES += \ |
| 188 | device/google/raviole/powerstats/raven \ |
| 189 | device/google/raviole |
| 190 | |
Jack Wu | 6e0bb1c | 2019-01-17 21:38:27 +0800 | [diff] [blame] | 191 | |
| 192 | # userdebug specific |
| 193 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 194 | PRODUCT_COPY_FILES += \ |
Ken Tsou | 97db855 | 2022-03-16 17:50:30 +0800 | [diff] [blame] | 195 | 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] | 196 | endif |
terrycrhuang | fd95a68 | 2021-04-14 17:32:20 +0800 | [diff] [blame] | 197 | |
| 198 | # Increment the SVN for any official public releases |
| 199 | PRODUCT_VENDOR_PROPERTIES += \ |
Steve Berbary | 1f48421 | 2023-04-11 01:42:47 +0000 | [diff] [blame] | 200 | ro.vendor.build.svn=56 |
shawnlin | 1c49162 | 2021-04-22 13:27:45 +0800 | [diff] [blame] | 201 | |
shawnlin | 6c36397 | 2022-02-15 13:40:37 +0800 | [diff] [blame] | 202 | # Set support hide display cutout feature |
| 203 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 204 | ro.support_hide_display_cutout=true |
| 205 | |
shawnlin | 1c49162 | 2021-04-22 13:27:45 +0800 | [diff] [blame] | 206 | # Hide cutout overlays |
| 207 | PRODUCT_PACKAGES += \ |
| 208 | NoCutoutOverlay \ |
| 209 | AvoidAppsInCutoutOverlay |
Kris Chen | 74dfc0c | 2021-05-07 21:38:46 +0800 | [diff] [blame] | 210 | |
| 211 | # Fingerprint antispoof property |
| 212 | PRODUCT_PRODUCT_PROPERTIES +=\ |
| 213 | persist.vendor.fingerprint.disable.fake.override=none |
Cyan_Hsieh | a327e42 | 2021-05-26 11:56:31 +0800 | [diff] [blame] | 214 | |
Kris Chen | 36cf68c | 2022-04-19 22:12:00 +0800 | [diff] [blame] | 215 | # Fingerprint HAL |
| 216 | PRODUCT_VENDOR_PROPERTIES += \ |
Kris Chen | f514128 | 2022-05-24 20:15:22 +0800 | [diff] [blame] | 217 | persist.vendor.udfps.lhbm_controlled_in_hal_supported=true \ |
| 218 | persist.vendor.udfps.als_feed_forward_supported=true |
| 219 | |
Kris Chen | 36cf68c | 2022-04-19 22:12:00 +0800 | [diff] [blame] | 220 | |
Cyan_Hsieh | a327e42 | 2021-05-26 11:56:31 +0800 | [diff] [blame] | 221 | # Keyboard side padding in dp for portrait mode |
| 222 | PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_r=11 |
| 223 | PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_l=11 |
Michael Ayoubi | ca6b352 | 2021-05-25 02:09:47 +0000 | [diff] [blame] | 224 | |
| 225 | # DCK properties based on target |
| 226 | PRODUCT_PROPERTY_OVERRIDES += \ |
Jeffrey Carlyle | eaaa3f2 | 2023-02-17 15:01:11 -0800 | [diff] [blame] | 227 | ro.gms.dck.eligible_wcc=3 \ |
| 228 | ro.gms.dck.se_capability=1 |
Yanting Yang | 3b1f8ef | 2021-05-31 03:53:40 +0800 | [diff] [blame] | 229 | |
| 230 | # SKU specific RROs |
| 231 | PRODUCT_PACKAGES += \ |
Yanting Yang | c1583a9 | 2021-08-23 13:34:59 +0800 | [diff] [blame] | 232 | SettingsOverlayGF5KQ \ |
| 233 | SettingsOverlayGLU0G \ |
| 234 | SettingsOverlayG8V0U |
Robin Peng | 6e4640b | 2021-06-01 18:03:27 +0800 | [diff] [blame] | 235 | |
| 236 | # Trusty liboemcrypto.so |
| 237 | PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts |
Bill Lin | 964bf23 | 2021-06-04 08:48:58 +0800 | [diff] [blame] | 238 | |
| 239 | # Set support one-handed mode |
| 240 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 241 | ro.support_one_handed_mode=true |
Zhijun He | 59a3061 | 2021-07-09 11:33:45 -0700 | [diff] [blame] | 242 | |
| 243 | # Enable camera exif model/make reporting |
Charles Chiu | 57fc706 | 2021-07-28 14:58:36 +0800 | [diff] [blame] | 244 | PRODUCT_VENDOR_PROPERTIES += \ |
Zhijun He | 59a3061 | 2021-07-09 11:33:45 -0700 | [diff] [blame] | 245 | persist.vendor.camera.exif_reveal_make_model=true |
jonerlin | 972d2c2 | 2021-06-29 16:36:29 +0800 | [diff] [blame] | 246 | |
Mars Lin | eabb3bf | 2022-06-08 22:11:37 +0800 | [diff] [blame] | 247 | # tetheroffload HAL |
| 248 | PRODUCT_PACKAGES += \ |
| 249 | vendor.samsung_slsi.hardware.tetheroffload@1.1-service |
| 250 | |
jiabin | c4ffb64 | 2021-07-16 22:34:35 +0000 | [diff] [blame] | 251 | # Override default distortion output gain according to UX experiments |
| 252 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 253 | vendor.audio.hapticgenerator.distortion.output.gain=0.5 |
Martin Liu | bbb311a | 2021-10-05 12:24:18 +0000 | [diff] [blame] | 254 | |
Tri Vo | de03be0 | 2023-01-30 15:59:51 -0800 | [diff] [blame] | 255 | # RKPD |
| 256 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 257 | remote_provisioning.enable_rkpd=true \ |
| 258 | remote_provisioning.hostname=remoteprovisioning.googleapis.com \ |
| 259 | |
Martin Liu | bbb311a | 2021-10-05 12:24:18 +0000 | [diff] [blame] | 260 | # Set zram size |
| 261 | PRODUCT_VENDOR_PROPERTIES += \ |
| 262 | vendor.zram.size=3g |
Alex Hong | b803358 | 2021-11-17 19:10:08 +0800 | [diff] [blame] | 263 | |
| 264 | # This device is shipped with 31 (Android S) |
| 265 | PRODUCT_SHIPPING_API_LEVEL := 31 |
Alice Kuo | 8ee4619 | 2021-12-17 13:28:08 +0800 | [diff] [blame] | 266 | |
justinweng | 20a2a95 | 2022-01-25 15:45:21 +0800 | [diff] [blame] | 267 | # declare use of spatial audio |
| 268 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 269 | ro.audio.spatializer_enabled=true |
| 270 | |
Andy Hung | 3f8d5cf | 2022-12-16 13:42:45 -0800 | [diff] [blame] | 271 | # optimize spatializer effect |
| 272 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 273 | audio.spatializer.effect.util_clamp_min=300 |
| 274 | |
justinweng | 20a2a95 | 2022-01-25 15:45:21 +0800 | [diff] [blame] | 275 | PRODUCT_PACKAGES += \ |
| 276 | libspatialaudio |
| 277 | |
Ben Murdoch | b5b4257 | 2022-03-10 10:44:27 +0000 | [diff] [blame] | 278 | # Device features |
| 279 | PRODUCT_COPY_FILES += \ |
| 280 | 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] | 281 | |
joenchen | 81330ea | 2022-09-07 12:59:12 +0000 | [diff] [blame] | 282 | # Display RRS default Config |
| 283 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1440x3120@120 |
| 284 | |
kuanyuhuang | 932c817 | 2022-10-27 10:03:03 +0000 | [diff] [blame] | 285 | # Bluetooth OPUS codec |
| 286 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 287 | persist.bluetooth.opus.enabled=true |
Jakub Pawlowski | 9d6e665 | 2022-10-31 22:04:26 +0100 | [diff] [blame] | 288 | |
Adam Shih | 7845ccf | 2022-10-21 14:39:46 +0800 | [diff] [blame] | 289 | # Location |
| 290 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 291 | PRODUCT_COPY_FILES += \ |
| 292 | device/google/raviole/location/gps.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml |
| 293 | else |
| 294 | PRODUCT_COPY_FILES += \ |
| 295 | device/google/raviole/location/gps_user.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml |
| 296 | endif |
lbill | 33234ac | 2022-11-03 18:08:44 +0000 | [diff] [blame] | 297 | |
Cyril Lee | 2e8d175 | 2023-04-14 01:13:36 +0000 | [diff] [blame] | 298 | # Setup Wizard device-specific settings |
| 299 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 300 | setupwizard.feature.enable_quick_start_flow_for_debug=true \ |
| 301 | |
Andrii Kulian | cf4031e | 2023-01-05 05:17:04 +0000 | [diff] [blame] | 302 | # Window Extensions |
| 303 | $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) |