Robin Peng | c2b5ca9 | 2021-02-23 20:00:28 +0800 | [diff] [blame] | 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 | |
Terry Huang | eed4ae2 | 2022-01-06 07:43:17 +0000 | [diff] [blame] | 17 | -include vendor/google_devices/gs101/proprietary/telephony/device-vendor.mk |
Robin Peng | c2b5ca9 | 2021-02-23 20:00:28 +0800 | [diff] [blame] | 18 | include device/google/gs101/device.mk |
Peter_Liang | 5223159 | 2022-05-11 13:23:43 +0800 | [diff] [blame] | 19 | include device/google/gs101/tts/voice_packs.mk |
Robin Peng | c2b5ca9 | 2021-02-23 20:00:28 +0800 | [diff] [blame] | 20 | |
Roger Liao | 69ff049 | 2022-07-27 18:59:37 +0800 | [diff] [blame^] | 21 | ifneq ($(BOARD_WITHOUT_RADIO),true) |
Robin Peng | c2b5ca9 | 2021-02-23 20:00:28 +0800 | [diff] [blame] | 22 | # Telephony |
| 23 | PRODUCT_COPY_FILES += \ |
| 24 | frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml |
Roger Liao | 69ff049 | 2022-07-27 18:59:37 +0800 | [diff] [blame^] | 25 | endif |
Robin Peng | c2b5ca9 | 2021-02-23 20:00:28 +0800 | [diff] [blame] | 26 | |
ChengYou Ho | ca32dea | 2021-06-02 01:42:58 +0800 | [diff] [blame] | 27 | # Android Verified Boot |
| 28 | PRODUCT_COPY_FILES += \ |
Gillian Lin | 579543d | 2021-06-15 21:48:02 +0800 | [diff] [blame] | 29 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml |
ChengYou Ho | ca32dea | 2021-06-02 01:42:58 +0800 | [diff] [blame] | 30 | |
joeshih | 21f5312 | 2021-03-08 17:22:29 +0800 | [diff] [blame] | 31 | # Factory OTA |
joeshih | bcbf46d | 2021-08-24 16:11:17 +0800 | [diff] [blame] | 32 | -include vendor/unbundled_google/packages/FactoryOtaPrebuilt/factoryota.mk |
joeshih | 21f5312 | 2021-03-08 17:22:29 +0800 | [diff] [blame] | 33 | |
Wilson Sung | 230a835 | 2021-04-16 19:21:26 +0800 | [diff] [blame] | 34 | # Set system properties identifying the chipset |
| 35 | PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google |
Aaron Ding | 2ca88b8 | 2021-08-10 14:45:40 +0800 | [diff] [blame] | 36 | PRODUCT_VENDOR_PROPERTIES += ro.soc.model=Tensor |
Jenny Ho | 8201411 | 2021-05-03 15:40:25 +0800 | [diff] [blame] | 37 | |
| 38 | PRODUCT_PRODUCT_PROPERTIES += \ |
Jenny Ho | 9021729 | 2021-05-18 09:00:06 +0800 | [diff] [blame] | 39 | persist.vendor.testing_battery_profile=2 |
Martin Liu | c739bbe | 2021-06-11 08:48:26 +0800 | [diff] [blame] | 40 | |
SongFerngWang | c6a7602 | 2021-06-23 03:49:21 +0800 | [diff] [blame] | 41 | # 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. |
| 43 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 44 | masterclear.allow_retain_esim_profiles_after_fdr=true |
| 45 | |
Martin Liu | c739bbe | 2021-06-11 08:48:26 +0800 | [diff] [blame] | 46 | # ZramWriteback |
| 47 | -include hardware/google/pixel/mm/device_gki.mk |
Oleg Matcovschi | 8afd9f9 | 2022-05-27 14:43:59 -0700 | [diff] [blame] | 48 | |
| 49 | # Set thermal warm reset |
| 50 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 51 | ro.thermal_warmreset = true |