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 17-include vendor/google_devices/zuma/proprietary/telephony/device-vendor.mk 18include device/google/zuma/device.mk 19 20# Telephony 21PRODUCT_COPY_FILES += \ 22 frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml 23 24# Android Verified Boot 25PRODUCT_COPY_FILES += \ 26 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml 27 28# Set system properties identifying the chipset 29PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google 30TARGET_VENDOR_PROP += device/google/zuma/vendor.prop 31 32PRODUCT_PRODUCT_PROPERTIES += \ 33 persist.vendor.testing_battery_profile=2 34 35# The default value of this variable is false and should only be set to true when 36# the device allows users to retain eSIM profiles after factory reset of user data. 37PRODUCT_PRODUCT_PROPERTIES += \ 38 masterclear.allow_retain_esim_profiles_after_fdr=true 39 40# ZramWriteback 41-include hardware/google/pixel/mm/device_gki.mk 42 43# Set thermal warm reset 44PRODUCT_PRODUCT_PROPERTIES += \ 45 ro.thermal_warmreset = true 46 47# Trigger fsck on upgrade (305658663) 48PRODUCT_PRODUCT_PROPERTIES += \ 49 ro.preventative_fsck = 1 50 51# Indicate that the bootloader supports the MTE developer option switch 52# (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that 53# force enable MTE. 54ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT))) 55PRODUCT_PRODUCT_PROPERTIES += ro.arm64.memtag.bootctl_supported=1 56# N.B. persist properties in product Makefiles aren't actually persisted to the data 57# partition, so they will actually go away if we remove them here, or if the user 58# flashes from a normal build to a fullmte build. 59PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.app.com.android.se=off 60PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.app.com.google.android.bluetooth=off 61PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.app.com.android.nfc=off 62PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.system_server=off 63endif 64