• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2021 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
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
20TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_SHIBA_VERSION)
21# Keeps flexibility for kasan and ufs builds
22TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_SHIBA_DIR)
23TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_SHIBA_DIR)/kernel-headers
24
25LOCAL_PATH := device/google/shusky
26
27DEVICE_PAGE_AGNOSTIC ?= $(if $(filter %_pgagnostic,$(TARGET_PRODUCT)),true,false)
28
29ifeq ($(DEVICE_PAGE_AGNOSTIC),true)
30TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
31TARGET_KERNEL_DIR := $(RELEASE_KERNEL_SHIBA_DIR)/16kb
32TARGET_RW_FILE_SYSTEM_TYPE := ext4
33else
34PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_SHIBA_16K_DEVELOPER_OPTION)
35endif
36
37$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-shiba.mk)
38$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
39$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
40$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/shiba/device-vendor-shiba.mk)
41$(call inherit-product-if-exists, vendor/google_devices/shiba/proprietary/device-vendor.mk)
42$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/WallpapersShiba.mk)
43
44DEVICE_PACKAGE_OVERLAYS += device/google/shusky/shiba/overlay
45CAMERA_PRODUCT ?= shiba
46
47ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA),true)
48USE_AUDIO_HAL_AIDL := true
49endif
50
51include device/google/shusky/camera/camera.mk
52include device/google/shusky/audio/shiba/audio-tables.mk
53include device/google/zuma/device-shipping-common.mk
54include hardware/google/pixel/vibrator/cs40l26/device.mk
55include device/google/gs-common/bcmbt/bluetooth.mk
56include device/google/gs-common/touch/gti/gti.mk
57
58# Init files
59PRODUCT_COPY_FILES += \
60	device/google/shusky/conf/init.shiba.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.shiba.rc
61
62# Recovery files
63PRODUCT_COPY_FILES += \
64        device/google/shusky/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.shiba.rc
65
66# MIPI Coex Configs
67PRODUCT_COPY_FILES += \
68        device/google/shusky/shiba/radio/shiba_camera_front_dbr_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_dbr_coex_table.csv \
69        device/google/shusky/shiba/radio/shiba_camera_front_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_mipi_coex_table.csv \
70		device/google/shusky/shiba/radio/shiba_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv
71
72# Camera
73PRODUCT_PROPERTY_OVERRIDES += \
74        persist.vendor.camera.rls_range_supported=false
75
76# NFC
77PRODUCT_COPY_FILES += \
78	frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
79	frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
80	frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
81	frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
82	frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
83	device/google/shusky/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
84	device/google/shusky/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
85
86PRODUCT_PACKAGES += \
87	$(RELEASE_PACKAGE_NFC_STACK) \
88	Tag \
89	android.hardware.nfc-service.st
90
91# SecureElement
92PRODUCT_PACKAGES += \
93	android.hardware.secure_element-service.thales
94
95PRODUCT_COPY_FILES += \
96	frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
97	frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
98	device/google/shusky/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
99
100# Bluetooth HAL
101PRODUCT_COPY_FILES += \
102	device/google/shusky/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
103PRODUCT_PROPERTY_OVERRIDES += \
104    ro.bluetooth.a2dp_offload.supported=true \
105    persist.bluetooth.a2dp_offload.disabled=false \
106    persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
107
108# Enable Bluetooth AutoOn feature
109PRODUCT_PRODUCT_PROPERTIES += \
110    bluetooth.server.automatic_turn_on=true
111
112# Bluetooth Tx power caps
113PRODUCT_COPY_FILES += \
114	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
115	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_CA.csv \
116	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
117	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
118	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv \
119	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_CA.csv \
120	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_EU.csv \
121	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_JP.csv \
122	$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_US.csv
123
124# POF
125PRODUCT_PRODUCT_PROPERTIES += \
126    ro.bluetooth.finder.supported=true
127
128# Spatial Audio
129PRODUCT_PACKAGES += \
130	libspatialaudio
131
132# declare use of spatial audio
133PRODUCT_PROPERTY_OVERRIDES += \
134       ro.audio.spatializer_enabled=true
135
136# Sound Dose
137PRODUCT_PACKAGES += \
138	android.hardware.audio.sounddose-vendor-impl \
139	audio_sounddose_aoc
140
141# Audio CCA property
142PRODUCT_PROPERTY_OVERRIDES += \
143	persist.vendor.audio.cca.enabled=false
144
145# DCK properties based on target
146PRODUCT_PROPERTY_OVERRIDES += \
147    ro.gms.dck.eligible_wcc=2 \
148    ro.gms.dck.se_capability=1
149
150# Bluetooth hci_inject test tool
151PRODUCT_PACKAGES_DEBUG += \
152    hci_inject
153
154# Bluetooth OPUS codec
155PRODUCT_PRODUCT_PROPERTIES += \
156    persist.bluetooth.opus.enabled=true
157
158# Bluetooth SAR test tool
159PRODUCT_PACKAGES_DEBUG += \
160    sar_test
161
162# Bluetooth EWP test tool
163PRODUCT_PACKAGES_DEBUG += \
164    ewp_tool
165
166# Bluetooth AAC VBR
167PRODUCT_PRODUCT_PROPERTIES += \
168    persist.bluetooth.a2dp_aac.vbr_supported=true
169
170# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
171ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
172PRODUCT_PRODUCT_PROPERTIES += \
173    persist.bluetooth.bqr.event_mask=295006 \
174    persist.bluetooth.bqr.vnd_quality_mask=29 \
175    persist.bluetooth.bqr.vnd_trace_mask=0 \
176    persist.bluetooth.vendor.btsnoop=true
177else
178PRODUCT_PRODUCT_PROPERTIES += \
179    persist.bluetooth.bqr.event_mask=295006 \
180    persist.bluetooth.bqr.vnd_quality_mask=16 \
181    persist.bluetooth.bqr.vnd_trace_mask=0 \
182    persist.bluetooth.vendor.btsnoop=false
183endif
184
185# Spatial Audio
186PRODUCT_PACKAGES += \
187	libspatialaudio \
188	librondo
189
190# Bluetooth Super Wide Band
191PRODUCT_PRODUCT_PROPERTIES += \
192	bluetooth.hfp.swb.supported=true
193
194# Bluetooth LE Audio
195PRODUCT_PRODUCT_PROPERTIES += \
196	ro.bluetooth.leaudio_switcher.supported?=true \
197	bluetooth.profile.bap.unicast.client.enabled?=true \
198	bluetooth.profile.csip.set_coordinator.enabled?=true \
199	bluetooth.profile.hap.client.enabled?=true \
200	bluetooth.profile.mcp.server.enabled?=true \
201	bluetooth.profile.ccp.server.enabled?=true \
202	bluetooth.profile.vcp.controller.enabled?=true
203
204ifeq ($(RELEASE_PIXEL_BROADCAST_ENABLED), true)
205PRODUCT_PRODUCT_PROPERTIES += \
206	bluetooth.profile.bap.broadcast.assist.enabled=true \
207	bluetooth.profile.bap.broadcast.source.enabled=true
208endif
209
210# Bluetooth LE Audio enable hardware offloading
211PRODUCT_PRODUCT_PROPERTIES += \
212	ro.bluetooth.leaudio_offload.supported=true \
213	persist.bluetooth.leaudio_offload.disabled=false
214
215# Bluetooth LE Auido offload capabilities setting
216PRODUCT_COPY_FILES += \
217	device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
218
219# LE Audio Unicast Allowlist
220PRODUCT_PRODUCT_PROPERTIES += \
221    persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5
222
223# Bluetooth LE Audio CIS handover to SCO
224# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
225PRODUCT_PRODUCT_PROPERTIES += \
226	persist.bluetooth.leaudio.notify.idle.during.call=true
227
228# Support LE Audio dual mic SWB call
229PRODUCT_PRODUCT_PROPERTIES += \
230    bluetooth.leaudio.dual_bidirection_swb.supported=true
231
232# Support LE & Classic concurrent encryption (b/330704060)
233PRODUCT_PRODUCT_PROPERTIES += \
234    bluetooth.ble.allow_enc_with_bredr=true
235
236# Support One-Handed mode
237PRODUCT_PRODUCT_PROPERTIES += \
238    ro.support_one_handed_mode=true
239
240# Keymaster HAL
241#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
242
243# Gatekeeper HAL
244#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= android.hardware.gatekeeper@1.0-service.software
245
246
247# Gatekeeper
248# PRODUCT_PACKAGES += \
249# 	android.hardware.gatekeeper@1.0-service.software
250
251# Keymint replaces Keymaster
252# PRODUCT_PACKAGES += \
253# 	android.hardware.security.keymint-service
254
255# Keymaster
256#PRODUCT_PACKAGES += \
257#	android.hardware.keymaster@4.0-impl \
258#	android.hardware.keymaster@4.0-service
259
260#PRODUCT_PACKAGES += android.hardware.keymaster@4.0-service.remote
261#PRODUCT_PACKAGES += android.hardware.keymaster@4.1-service.remote
262#LOCAL_KEYMASTER_PRODUCT_PACKAGE := android.hardware.keymaster@4.1-service
263#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
264
265# PRODUCT_PROPERTY_OVERRIDES += \
266# 	ro.hardware.keystore_desede=true \
267# 	ro.hardware.keystore=software \
268# 	ro.hardware.gatekeeper=software
269
270# PowerStats HAL
271PRODUCT_SOONG_NAMESPACES += \
272    device/google/shusky/powerstats/shiba \
273    device/google/shusky
274
275# WiFi Overlay
276PRODUCT_PACKAGES += \
277	WifiOverlay2023 \
278	PixelWifiOverlay2023
279
280# Trusty liboemcrypto.so
281PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
282
283# Location
284# SDK build system
285include device/google/gs-common/gps/brcm/device.mk
286
287PRODUCT_COPY_FILES += \
288       device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
289
290ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
291        PRODUCT_COPY_FILES += \
292            device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
293            device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
294            device/google/shusky/location/gps.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
295else
296        PRODUCT_COPY_FILES += \
297            device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
298            device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
299            device/google/shusky/location/gps_user.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
300endif
301
302# Set zram size
303PRODUCT_VENDOR_PROPERTIES += \
304	vendor.zram.size=50p \
305	persist.device_config.configuration.disable_rescue_party=true
306
307# Fingerprint HAL
308GOODIX_CONFIG_BUILD_VERSION := g7_trusty
309APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts
310$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk)
311ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
312$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk)
313else
314$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk)
315endif
316
317# Fingerprint exposure compensation
318PRODUCT_VENDOR_PROPERTIES += \
319    persist.vendor.udfps.auto_exposure_compensation_supported=true
320
321# Display
322PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1000
323PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
324# lhbm peak brightness delay: decided by kernel
325PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=0
326
327# display color data
328PRODUCT_COPY_FILES += \
329	device/google/shusky/shiba/panel_config_google-bigsurf_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-bigsurf_cal0.pb \
330	device/google/shusky/shiba/panel_config_google-shoreline_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-shoreline_cal0.pb
331
332PRODUCT_VENDOR_PROPERTIES += \
333    persist.vendor.udfps.als_feed_forward_supported=true \
334    persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
335
336PRODUCT_COPY_FILES += \
337	device/google/shusky/shiba/display_colordata_google-bigsurf_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_google-bigsurf_cal0.pb \
338	device/google/shusky/shiba/display_colordata_google-shoreline_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_google-shoreline_cal0.pb \
339    device/google/shusky/shiba/display_golden_google-bigsurf_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_google-bigsurf_cal0.pb \
340    device/google/shusky/shiba/display_golden_google-shoreline_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_google-shoreline_cal0.pb \
341    device/google/shusky/display_golden_external_display_cal2.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_external_display_cal2.pb
342
343# Camera Vendor property
344PRODUCT_VENDOR_PROPERTIES += \
345    persist.vendor.camera.front_720P_always_binning=true
346
347# Media Performance Class 14
348PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=34
349
350# Display LBE
351PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
352
353# Vibrator HAL
354$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
355ACTUATOR_MODEL := luxshare_ict_081545
356ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
357PRODUCT_VENDOR_PROPERTIES += \
358    persist.vendor.vibrator.hal.chirp.enabled=0 \
359    ro.vendor.vibrator.hal.device.mass=0.187 \
360    ro.vendor.vibrator.hal.loc.coeff=2.75 \
361    persist.vendor.vibrator.hal.context.enable=false \
362    persist.vendor.vibrator.hal.context.scale=60 \
363    persist.vendor.vibrator.hal.context.fade=true \
364    persist.vendor.vibrator.hal.context.cooldowntime=1600 \
365    persist.vendor.vibrator.hal.context.settlingtime=5000 \
366    ro.vendor.vibrator.hal.dbc.enable=true \
367    ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
368    ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
369    ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
370    ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
371    ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
372    ro.vendor.vibrator.hal.pm.activetimeout=5
373
374# Increment the SVN for any official public releases
375ifdef RELEASE_SVN_SHIBA
376TARGET_SVN ?= $(RELEASE_SVN_SHIBA)
377else
378# Set this for older releases that don't use build flag
379TARGET_SVN ?= 35
380endif
381
382PRODUCT_VENDOR_PROPERTIES += \
383    ro.vendor.build.svn=$(TARGET_SVN)
384
385# P23 Devices no longer need rlsservice
386PRODUCT_VENDOR_PROPERTIES += \
387    persist.vendor.camera.rls_supported=false
388
389# WLC userdebug specific
390ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
391    PRODUCT_COPY_FILES += \
392        device/google/zuma/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
393endif
394
395# Setup Wizard device-specific settings
396PRODUCT_PRODUCT_PROPERTIES += \
397    setupwizard.feature.enable_quick_start_flow=true \
398
399# Quick Start device-specific settings
400PRODUCT_PRODUCT_PROPERTIES += \
401    ro.quick_start.oem_id=00e0 \
402    ro.quick_start.device_id=shiba
403
404# PKVM Memory Reclaim
405PRODUCT_VENDOR_PROPERTIES += \
406    hypervisor.memory_reclaim.supported=1
407
408# Settings Overlay
409PRODUCT_PACKAGES += \
410    SettingsShibaOverlay
411
412# Window Extensions
413$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
414
415# Disable Settings large-screen optimization enabled by Window Extensions
416PRODUCT_SYSTEM_PROPERTIES += \
417    persist.settings.large_screen_opt.enabled=false
418
419# Keyboard bottom padding in dp for portrait mode
420PRODUCT_PRODUCT_PROPERTIES += \
421     ro.com.google.ime.kb_pad_port_b=8
422
423# Enable camera exif model/make reporting
424PRODUCT_VENDOR_PROPERTIES += \
425    persist.vendor.camera.exif_reveal_make_model=true
426
427# AVF assignable devices xml
428PRODUCT_PACKAGES += shusky_assignable_devices.xml
429
430# Enable DeviceAsWebcam support
431PRODUCT_VENDOR_PROPERTIES += \
432    ro.usb.uvc.enabled=true
433
434PRODUCT_PACKAGES += \
435    NfcOverlayShiba
436
437# Set support hide display cutout feature
438PRODUCT_PRODUCT_PROPERTIES += \
439    ro.support_hide_display_cutout=true
440
441PRODUCT_PACKAGES += \
442    NoCutoutOverlay \
443    AvoidAppsInCutoutOverlay
444
445# ETM
446ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
447$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
448endif
449
450PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
451PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
452