blob: 26eee6a5fa9e4e2fdae804b3abd13bad2ff63c94 [file] [log] [blame]
Robin Pengcd374d82021-02-23 20:00:46 +08001#
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 Onorato28b6e562023-04-14 10:58:58 -070017# 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 Gyntherb0580002021-09-02 14:26:57 -070020TARGET_KERNEL_DIR ?= device/google/raviole-kernel
21TARGET_BOARD_KERNEL_HEADERS := device/google/raviole-kernel/kernel-headers
Robin Pengcd374d82021-02-23 20:00:46 +080022
Cole Faust4a962992023-10-06 15:04:01 -070023$(call inherit-product, device/google/raviole/uwb/uwb_calibration_country.mk)
Robin Pengcd374d82021-02-23 20:00:46 +080024$(call inherit-product-if-exists, vendor/google_devices/raviole/prebuilts/device-vendor-raven.mk)
25$(call inherit-product-if-exists, vendor/google_devices/gs101/prebuilts/device-vendor.mk)
26$(call inherit-product-if-exists, vendor/google_devices/gs101/proprietary/device-vendor.mk)
Bill Yic2e4a482021-03-17 05:53:25 +000027$(call inherit-product-if-exists, vendor/google_devices/raven/proprietary/device-vendor.mk)
linpeterf3d8bf62021-03-17 09:27:12 +080028$(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/raven/device-vendor-raven.mk)
PEI-HSIEN KUO36dd88a2021-03-18 19:39:38 +080029$(call inherit-product-if-exists, vendor/google/camera/devices/raviole/raven/device-vendor.mk)
Ching-Sung Lifb5e3892021-05-31 15:18:59 +080030$(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/WallpapersRaven.mk)
Robin Pengcd374d82021-02-23 20:00:46 +080031
32DEVICE_PACKAGE_OVERLAYS += device/google/raviole/raven/overlay
33
Robert Lee09c3fd32021-08-16 06:21:06 +000034include device/google/raviole/audio/raven/audio-tables.mk
Robin Pengcd374d82021-02-23 20:00:46 +080035include device/google/gs101/device-shipping-common.mk
yawensuc51621f2021-09-14 14:16:49 +080036include device/google/gs101/telephony/pktrouter.mk
Adam Shih6e05ed02022-08-16 13:56:53 +080037include device/google/gs-common/bcmbt/bluetooth.mk
Adam Shih7b298482022-11-07 11:34:43 +080038include device/google/gs-common/touch/lsi/lsi.mk
Ilya Matyukhin1d548252021-05-18 01:03:41 -070039
chenkris686598b2023-06-08 09:59:13 +000040# Fingerprint HAL
41GOODIX_CONFIG_BUILD_VERSION := g6_trusty
Cyan_Hsieh9926df82023-10-25 18:16:54 +080042ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
43PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/firmware/fingerprint/24Q1
44else
45PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/firmware/fingerprint/trunk
46endif
chenkris79df8432023-06-13 03:06:29 +000047$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk)
chenkris686598b2023-06-08 09:59:13 +000048ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
chenkris79df8432023-06-13 03:06:29 +000049$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk)
Ilya Matyukhin1d548252021-05-18 01:03:41 -070050else
chenkris79df8432023-06-13 03:06:29 +000051$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk)
Ilya Matyukhin1d548252021-05-18 01:03:41 -070052endif
53
Victor Liu0bc47d62021-04-20 22:15:02 +000054ifeq ($(filter factory_raven, $(TARGET_PRODUCT)),)
Victor Liu49d231b2021-10-26 12:00:09 -070055include device/google/raviole/uwb/uwb_calibration.mk
Victor Liu0bc47d62021-04-20 22:15:02 +000056endif
Ilya Matyukhin1d548252021-05-18 01:03:41 -070057
Robin Pengcd374d82021-02-23 20:00:46 +080058include hardware/google/pixel/vibrator/cs40l25/device.mk
59
Krzysztof Kosiński6165da42022-09-13 01:56:24 +000060# go/lyric-soong-variables
61$(call soong_config_set,lyric,camera_hardware,raven)
Sasha Smundakfbe1c662021-12-15 09:17:53 -080062$(call soong_config_set,lyric,tuning_product,raven)
63$(call soong_config_set,google3a_config,target_device,raven)
Krzysztof Kosiński0fc38d22021-11-02 21:00:10 -070064
Robin Pengcd374d82021-02-23 20:00:46 +080065PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.support_kernel_idle_timer=true
Ady Abraham9a9d0242021-03-19 12:52:46 -070066PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.enable_frame_rate_override=true
Robin Pengcd374d82021-02-23 20:00:46 +080067
68# Init files
69PRODUCT_COPY_FILES += \
Robin Peng334022f2021-05-05 12:01:32 +080070 device/google/raviole/conf/init.raviole.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.raviole.rc \
Robin Pengcd374d82021-02-23 20:00:46 +080071 device/google/raviole/conf/init.raven.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.raven.rc
72
73# Recovery files
74PRODUCT_COPY_FILES += \
75 device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.raven.rc
76
77# insmod files
78PRODUCT_COPY_FILES += \
79 device/google/raviole/init.insmod.raven.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.raven.cfg
80
81# Thermal Config
82PRODUCT_COPY_FILES += \
David Chao6c2519c2022-08-15 18:56:43 +080083 device/google/raviole/thermal_info_config_raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
84 device/google/raviole/thermal_info_config_charge_raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json
Robin Pengcd374d82021-02-23 20:00:46 +080085
Jimmy Shiufdfe3e32022-01-22 05:04:01 +080086# Power HAL config
87PRODUCT_COPY_FILES += \
André Draszike3f5d8a2023-06-19 15:55:08 +010088 device/google/raviole/powerhint-raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json \
89 device/google/raviole/powerhint-raven-mainline.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-mainline.json
Jimmy Shiufdfe3e32022-01-22 05:04:01 +080090
Roshan Pius19b91582022-12-09 04:27:29 +000091PRODUCT_PACKAGES += \
92 UwbOverlayR4
93
Ted Wang2640afc2023-05-05 04:02:11 +000094# Bluetooth sepolicy
95include device/google/gs101-sepolicy/raven-sepolicy.mk
96
Cheney Niab920162021-06-28 13:47:54 +080097# Bluetooth
98PRODUCT_PRODUCT_PROPERTIES += \
jonerlin6075bd62022-07-15 10:47:19 +080099 persist.bluetooth.a2dp_aac.vbr_supported=true \
100 persist.bluetooth.firmware.selection=BCM.hcd
Cheney Niab920162021-06-28 13:47:54 +0800101
Labib68270de2021-05-05 17:15:43 +0800102# Bluetooth Tx power caps for raven
103PRODUCT_COPY_FILES += \
Andrew Chant891f54c2023-05-30 14:43:13 -0700104 device/google/raviole/bluetooth_power_limits_raven.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
105 device/google/raviole/bluetooth_power_limits_raven_us.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv \
106 device/google/raviole/bluetooth_power_limits_raven_eu.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
107 device/google/raviole/bluetooth_power_limits_raven_jp.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv
Ted Wange540f7b2021-08-23 09:48:56 +0800108
Adam Shihe41c2c22022-08-26 09:54:06 +0800109# Bluetooth HAL
110PRODUCT_COPY_FILES += \
111 device/google/raviole/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
Labib68270de2021-05-05 17:15:43 +0800112
jonerlin9c27ad62022-04-06 11:49:52 +0800113# Bluetooth Hal Extension test tools
Ted Wang34a89632021-07-15 18:46:57 +0800114PRODUCT_PACKAGES_DEBUG += \
jonerlin9c27ad62022-04-06 11:49:52 +0800115 sar_test \
116 hci_inject
Ted Wang34a89632021-07-15 18:46:57 +0800117
Adam Shihe41c2c22022-08-26 09:54:06 +0800118# userdebug specific
119ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
120# Bluetooth LE Audio Hardware offload
121PRODUCT_PRODUCT_PROPERTIES += \
122 ro.bluetooth.leaudio_offload.supported=true \
123 persist.bluetooth.leaudio_offload.disabled=true \
124 persist.bluetooth.le_audio_test=false
125endif
126
Jie Song6b68ff72021-07-14 21:35:19 +0000127# MIPI Coex Configs
128PRODUCT_COPY_FILES += \
129 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
130
Robin Pengcd374d82021-02-23 20:00:46 +0800131# Camera
132PRODUCT_COPY_FILES += \
133 device/google/raviole/media_profiles_raven.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
134
135# Display Config
136PRODUCT_COPY_FILES += \
Long Ling82756612021-04-30 15:52:57 -0700137 device/google/raviole/raven/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb \
138 device/google/raviole/raven/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb
Robin Pengcd374d82021-02-23 20:00:46 +0800139
linpetera6263cc2021-07-01 19:40:34 +0800140#config of display brightness dimming
linpeterf256ffb2022-08-19 15:17:11 +0800141PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.dimming.usage=1
linpetera6263cc2021-07-01 19:40:34 +0800142
Robin Pengcd374d82021-02-23 20:00:46 +0800143# NFC
144PRODUCT_COPY_FILES += \
George Chang8933f1b2021-08-17 00:51:25 +0800145 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
146 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
147 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
148 frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
149 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
Victor Liua2e51532023-08-31 22:00:57 +0000150 frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
George Changd48ff142021-03-10 20:35:15 +0800151 device/google/raviole/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
152 device/google/raviole/nfc/libnfc-nci-raven.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
153
George Chang8933f1b2021-08-17 00:51:25 +0800154PRODUCT_PACKAGES += \
Roshan Piuscd3dd4d2023-12-01 19:19:56 +0000155 $(RELEASE_PACKAGE_NFC_STACK) \
George Chang8933f1b2021-08-17 00:51:25 +0800156 Tag \
Roshan Pius21db4432023-12-01 19:19:56 +0000157 android.hardware.nfc-service.st \
158 NfcOverlayRaven
George Chang8933f1b2021-08-17 00:51:25 +0800159
160# SecureElement
161PRODUCT_PACKAGES += \
George Changc84c4602021-08-20 17:09:55 +0800162 android.hardware.secure_element@1.2-service-gto \
163 android.hardware.secure_element@1.2-service-gto-ese2
George Chang8933f1b2021-08-17 00:51:25 +0800164
165PRODUCT_COPY_FILES += \
166 frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
167 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
George Changc84c4602021-08-20 17:09:55 +0800168 device/google/raviole/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
169 device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
George Chang8933f1b2021-08-17 00:51:25 +0800170
Robin Pengcd374d82021-02-23 20:00:46 +0800171DEVICE_MANIFEST_FILE += \
George Chang8933f1b2021-08-17 00:51:25 +0800172 device/google/raviole/nfc/manifest_se.xml
Robin Pengcd374d82021-02-23 20:00:46 +0800173
George Changc84c4602021-08-20 17:09:55 +0800174
Robin Pengcd374d82021-02-23 20:00:46 +0800175# Vibrator HAL
176PRODUCT_PRODUCT_PROPERTIES +=\
chasewuf6805292022-04-14 15:30:02 +0800177 ro.vendor.vibrator.hal.long.frequency.shift=15 \
178 ro.vendor.vibrator.hal.device.mass=0.21 \
Nathan Kulczak0b0f5862023-08-15 01:22:27 +0000179 ro.vendor.vibrator.hal.loc.coeff=2.5 \
180 persist.vendor.vibrator.hal.chirp.enabled=0
Jimmy Shiu1fef2282021-11-10 00:07:25 +0800181
Vince Leung63d0be62021-08-27 20:07:54 +0000182ACTUATOR_MODEL := luxshare_ict_081545
Robin Pengcd374d82021-02-23 20:00:46 +0800183
linpeter85646ce2020-12-17 21:18:41 +0800184# Display LBE
185PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
Benjamin Schwartzc798cb32021-03-18 17:55:40 -0700186
wenchangliua768e6f2021-08-13 15:31:52 +0800187# Media Performance Class 12
188PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=31
189
Benjamin Schwartzc798cb32021-03-18 17:55:40 -0700190# PowerStats HAL
Yanting Yang3b1f8ef2021-05-31 03:53:40 +0800191PRODUCT_SOONG_NAMESPACES += \
192 device/google/raviole/powerstats/raven \
193 device/google/raviole
194
Jack Wu6e0bb1c2019-01-17 21:38:27 +0800195
196# userdebug specific
197ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
198 PRODUCT_COPY_FILES += \
Ken Tsou97db8552022-03-16 17:50:30 +0800199 device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
Jack Wu6e0bb1c2019-01-17 21:38:27 +0800200endif
terrycrhuangfd95a682021-04-14 17:32:20 +0800201
202# Increment the SVN for any official public releases
203PRODUCT_VENDOR_PROPERTIES += \
Ankur Bakshi31d71802023-11-29 06:18:38 +0000204 ro.vendor.build.svn=75
shawnlin1c491622021-04-22 13:27:45 +0800205
shawnlin6c363972022-02-15 13:40:37 +0800206# Set support hide display cutout feature
207PRODUCT_PRODUCT_PROPERTIES += \
208 ro.support_hide_display_cutout=true
209
shawnlin1c491622021-04-22 13:27:45 +0800210# Hide cutout overlays
211PRODUCT_PACKAGES += \
212 NoCutoutOverlay \
213 AvoidAppsInCutoutOverlay
Kris Chen74dfc0c2021-05-07 21:38:46 +0800214
Jayant Chowdharye3669c92023-05-25 20:16:27 +0000215# Android DeviceAsWebcam specific overlay
216PRODUCT_PACKAGES += \
217 DeviceAsWebcamRaven
218
Kris Chen74dfc0c2021-05-07 21:38:46 +0800219# Fingerprint antispoof property
220PRODUCT_PRODUCT_PROPERTIES +=\
221 persist.vendor.fingerprint.disable.fake.override=none
Cyan_Hsieha327e422021-05-26 11:56:31 +0800222
Kris Chen36cf68c2022-04-19 22:12:00 +0800223# Fingerprint HAL
224PRODUCT_VENDOR_PROPERTIES += \
Kris Chenf5141282022-05-24 20:15:22 +0800225 persist.vendor.udfps.lhbm_controlled_in_hal_supported=true \
226 persist.vendor.udfps.als_feed_forward_supported=true
227
Kris Chen36cf68c2022-04-19 22:12:00 +0800228
Cyan_Hsieha327e422021-05-26 11:56:31 +0800229# Keyboard side padding in dp for portrait mode
230PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_r=11
231PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_l=11
Michael Ayoubica6b3522021-05-25 02:09:47 +0000232
233# DCK properties based on target
234PRODUCT_PROPERTY_OVERRIDES += \
Jeffrey Carlyleeaaa3f22023-02-17 15:01:11 -0800235 ro.gms.dck.eligible_wcc=3 \
236 ro.gms.dck.se_capability=1
Yanting Yang3b1f8ef2021-05-31 03:53:40 +0800237
238# SKU specific RROs
239PRODUCT_PACKAGES += \
Yanting Yangc1583a92021-08-23 13:34:59 +0800240 SettingsOverlayGF5KQ \
241 SettingsOverlayGLU0G \
242 SettingsOverlayG8V0U
Robin Peng6e4640b2021-06-01 18:03:27 +0800243
244# Trusty liboemcrypto.so
245PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts
Cyan_Hsieh9926df82023-10-25 18:16:54 +0800246ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
247PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/trusty/24Q1
248else
249PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts/trusty/trunk
250endif
Bill Lin964bf232021-06-04 08:48:58 +0800251
252# Set support one-handed mode
253PRODUCT_PRODUCT_PROPERTIES += \
254 ro.support_one_handed_mode=true
Zhijun He59a30612021-07-09 11:33:45 -0700255
256# Enable camera exif model/make reporting
Charles Chiu57fc7062021-07-28 14:58:36 +0800257PRODUCT_VENDOR_PROPERTIES += \
Zhijun He59a30612021-07-09 11:33:45 -0700258 persist.vendor.camera.exif_reveal_make_model=true
jonerlin972d2c22021-06-29 16:36:29 +0800259
Mars Lineabb3bf2022-06-08 22:11:37 +0800260# tetheroffload HAL
261PRODUCT_PACKAGES += \
262 vendor.samsung_slsi.hardware.tetheroffload@1.1-service
263
jiabinc4ffb642021-07-16 22:34:35 +0000264# Override default distortion output gain according to UX experiments
265PRODUCT_PRODUCT_PROPERTIES += \
266 vendor.audio.hapticgenerator.distortion.output.gain=0.5
Martin Liubbb311a2021-10-05 12:24:18 +0000267
Tri Vode03be02023-01-30 15:59:51 -0800268# RKPD
269PRODUCT_PRODUCT_PROPERTIES += \
Tri Vode03be02023-01-30 15:59:51 -0800270 remote_provisioning.hostname=remoteprovisioning.googleapis.com \
271
Martin Liubbb311a2021-10-05 12:24:18 +0000272# Set zram size
273PRODUCT_VENDOR_PROPERTIES += \
274 vendor.zram.size=3g
Alex Hongb8033582021-11-17 19:10:08 +0800275
276# This device is shipped with 31 (Android S)
277PRODUCT_SHIPPING_API_LEVEL := 31
Alice Kuo8ee46192021-12-17 13:28:08 +0800278
justinweng20a2a952022-01-25 15:45:21 +0800279# declare use of spatial audio
280PRODUCT_PROPERTY_OVERRIDES += \
281 ro.audio.spatializer_enabled=true
282
Andy Hung3f8d5cf2022-12-16 13:42:45 -0800283# optimize spatializer effect
284PRODUCT_PROPERTY_OVERRIDES += \
285 audio.spatializer.effect.util_clamp_min=300
286
justinweng20a2a952022-01-25 15:45:21 +0800287PRODUCT_PACKAGES += \
288 libspatialaudio
289
Ben Murdochb5b42572022-03-10 10:44:27 +0000290# Device features
291PRODUCT_COPY_FILES += \
292 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
Matt Buckley0f365e02022-08-10 18:59:17 +0000293
joenchen81330ea2022-09-07 12:59:12 +0000294# Display RRS default Config
295PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1440x3120@120
296
kuanyuhuang932c8172022-10-27 10:03:03 +0000297# Bluetooth OPUS codec
298PRODUCT_PRODUCT_PROPERTIES += \
299 persist.bluetooth.opus.enabled=true
Jakub Pawlowski9d6e6652022-10-31 22:04:26 +0100300
Adam Shih7845ccf2022-10-21 14:39:46 +0800301# Location
302ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
303 PRODUCT_COPY_FILES += \
304 device/google/raviole/location/gps.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
305else
306 PRODUCT_COPY_FILES += \
307 device/google/raviole/location/gps_user.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
308endif
Jiaming Liu9e53e0e2023-05-12 01:36:04 +0000309
Avichal Rakeshd5521192023-02-06 13:32:35 -0800310# Enable DeviceAsWebcam support
311PRODUCT_VENDOR_PROPERTIES += \
312 ro.usb.uvc.enabled=true
Shivakumar Neginal4fb3e742023-10-16 18:53:29 +0000313# Quick Start device-specific settings
314PRODUCT_PRODUCT_PROPERTIES += \
315 ro.quick_start.oem_id=00e0 \
316 ro.quick_start.device_id=raven