blob: 4c925e5925e4e9134369820ace94450ed6c3c8fd [file] [log] [blame]
Robin Pengc2b5ca92021-02-23 20:00:28 +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
Roger Liaod8610a12022-07-27 19:04:58 +080017ifneq ($(BOARD_WITHOUT_RADIO),true)
Terry Huangeed4ae22022-01-06 07:43:17 +000018-include vendor/google_devices/gs101/proprietary/telephony/device-vendor.mk
Roger Liaod8610a12022-07-27 19:04:58 +080019endif
Robin Pengc2b5ca92021-02-23 20:00:28 +080020include device/google/gs101/device.mk
21
Roger Liao69ff0492022-07-27 18:59:37 +080022ifneq ($(BOARD_WITHOUT_RADIO),true)
Robin Pengc2b5ca92021-02-23 20:00:28 +080023# Telephony
24PRODUCT_COPY_FILES += \
25 frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml
Roger Liao69ff0492022-07-27 18:59:37 +080026endif
Robin Pengc2b5ca92021-02-23 20:00:28 +080027
ChengYou Hoca32dea2021-06-02 01:42:58 +080028# Android Verified Boot
29PRODUCT_COPY_FILES += \
Gillian Lin579543d2021-06-15 21:48:02 +080030 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
ChengYou Hoca32dea2021-06-02 01:42:58 +080031
Wilson Sung230a8352021-04-16 19:21:26 +080032# Set system properties identifying the chipset
33PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
Aaron Ding2ca88b82021-08-10 14:45:40 +080034PRODUCT_VENDOR_PROPERTIES += ro.soc.model=Tensor
Jenny Ho82014112021-05-03 15:40:25 +080035
36PRODUCT_PRODUCT_PROPERTIES += \
Jenny Ho90217292021-05-18 09:00:06 +080037 persist.vendor.testing_battery_profile=2
Martin Liuc739bbe2021-06-11 08:48:26 +080038
SongFerngWangc6a76022021-06-23 03:49:21 +080039# The default value of this variable is false and should only be set to true when
40# the device allows users to retain eSIM profiles after factory reset of user data.
41PRODUCT_PRODUCT_PROPERTIES += \
42 masterclear.allow_retain_esim_profiles_after_fdr=true
43
Martin Liuc739bbe2021-06-11 08:48:26 +080044# ZramWriteback
45-include hardware/google/pixel/mm/device_gki.mk
Sayanna Chandula73301072022-10-11 10:25:11 -070046
47# Set thermal warm reset
48PRODUCT_PRODUCT_PROPERTIES += \
49 ro.thermal_warmreset = true
Paul Lawrence1bc693d2023-10-24 07:59:40 -070050
51# Trigger fsck on upgrade (305658663)
52PRODUCT_PRODUCT_PROPERTIES += \
53 ro.preventative_fsck = 1