blob: 0cc6a40fbaa4fc1b5d3d8fcb2f0f76b9642c86ab [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
Terry Huangeed4ae22022-01-06 07:43:17 +000017-include vendor/google_devices/gs101/proprietary/telephony/device-vendor.mk
Robin Pengc2b5ca92021-02-23 20:00:28 +080018include device/google/gs101/device.mk
Peter_Liang52231592022-05-11 13:23:43 +080019include device/google/gs101/tts/voice_packs.mk
Robin Pengc2b5ca92021-02-23 20:00:28 +080020
Roger Liao69ff0492022-07-27 18:59:37 +080021ifneq ($(BOARD_WITHOUT_RADIO),true)
Robin Pengc2b5ca92021-02-23 20:00:28 +080022# Telephony
23PRODUCT_COPY_FILES += \
24 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 +080025endif
Robin Pengc2b5ca92021-02-23 20:00:28 +080026
ChengYou Hoca32dea2021-06-02 01:42:58 +080027# Android Verified Boot
28PRODUCT_COPY_FILES += \
Gillian Lin579543d2021-06-15 21:48:02 +080029 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 +080030
joeshih21f53122021-03-08 17:22:29 +080031# Factory OTA
joeshihbcbf46d2021-08-24 16:11:17 +080032-include vendor/unbundled_google/packages/FactoryOtaPrebuilt/factoryota.mk
joeshih21f53122021-03-08 17:22:29 +080033
Wilson Sung230a8352021-04-16 19:21:26 +080034# Set system properties identifying the chipset
35PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
Aaron Ding2ca88b82021-08-10 14:45:40 +080036PRODUCT_VENDOR_PROPERTIES += ro.soc.model=Tensor
Jenny Ho82014112021-05-03 15:40:25 +080037
38PRODUCT_PRODUCT_PROPERTIES += \
Jenny Ho90217292021-05-18 09:00:06 +080039 persist.vendor.testing_battery_profile=2
Martin Liuc739bbe2021-06-11 08:48:26 +080040
SongFerngWangc6a76022021-06-23 03:49:21 +080041# The default value of this variable is false and should only be set to true when
42# the device allows users to retain eSIM profiles after factory reset of user data.
43PRODUCT_PRODUCT_PROPERTIES += \
44 masterclear.allow_retain_esim_profiles_after_fdr=true
45
Martin Liuc739bbe2021-06-11 08:48:26 +080046# ZramWriteback
47-include hardware/google/pixel/mm/device_gki.mk
Oleg Matcovschi8afd9f92022-05-27 14:43:59 -070048
49# Set thermal warm reset
50PRODUCT_PRODUCT_PROPERTIES += \
51 ro.thermal_warmreset = true