blob: 80ba3cbdc995677f01d66f397582242a166b5fdd [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
Peter_Liang52231592022-05-11 13:23:43 +080021include device/google/gs101/tts/voice_packs.mk
Robin Pengc2b5ca92021-02-23 20:00:28 +080022
Roger Liao69ff0492022-07-27 18:59:37 +080023ifneq ($(BOARD_WITHOUT_RADIO),true)
Robin Pengc2b5ca92021-02-23 20:00:28 +080024# Telephony
25PRODUCT_COPY_FILES += \
26 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 +080027endif
Robin Pengc2b5ca92021-02-23 20:00:28 +080028
ChengYou Hoca32dea2021-06-02 01:42:58 +080029# Android Verified Boot
30PRODUCT_COPY_FILES += \
Gillian Lin579543d2021-06-15 21:48:02 +080031 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 +080032
joeshih21f53122021-03-08 17:22:29 +080033# Factory OTA
joeshihbcbf46d2021-08-24 16:11:17 +080034-include vendor/unbundled_google/packages/FactoryOtaPrebuilt/factoryota.mk
joeshih21f53122021-03-08 17:22:29 +080035
Wilson Sung230a8352021-04-16 19:21:26 +080036# Set system properties identifying the chipset
37PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
Aaron Ding2ca88b82021-08-10 14:45:40 +080038PRODUCT_VENDOR_PROPERTIES += ro.soc.model=Tensor
Jenny Ho82014112021-05-03 15:40:25 +080039
40PRODUCT_PRODUCT_PROPERTIES += \
Jenny Ho90217292021-05-18 09:00:06 +080041 persist.vendor.testing_battery_profile=2
Martin Liuc739bbe2021-06-11 08:48:26 +080042
SongFerngWangc6a76022021-06-23 03:49:21 +080043# The default value of this variable is false and should only be set to true when
44# the device allows users to retain eSIM profiles after factory reset of user data.
45PRODUCT_PRODUCT_PROPERTIES += \
46 masterclear.allow_retain_esim_profiles_after_fdr=true
47
Martin Liuc739bbe2021-06-11 08:48:26 +080048# ZramWriteback
49-include hardware/google/pixel/mm/device_gki.mk
Sayanna Chandula73301072022-10-11 10:25:11 -070050
51# Set thermal warm reset
52PRODUCT_PRODUCT_PROPERTIES += \
53 ro.thermal_warmreset = true
Paul Lawrence1bc693d2023-10-24 07:59:40 -070054
55# Trigger fsck on upgrade (305658663)
56PRODUCT_PRODUCT_PROPERTIES += \
57 ro.preventative_fsck = 1