• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17ifneq ($(BOARD_WITHOUT_RADIO),true)
18-include vendor/google_devices/gs201/proprietary/telephony/device-vendor.mk
19endif
20include device/google/gs201/device.mk
21include device/google/gs101/tts/voice_packs.mk
22
23ifneq ($(BOARD_WITHOUT_RADIO),true)
24# 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
27endif
28
29# Android Verified Boot
30PRODUCT_COPY_FILES += \
31    frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
32
33# Set system properties identifying the chipset
34PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
35PRODUCT_VENDOR_PROPERTIES += ro.soc.model=GS201
36
37PRODUCT_PRODUCT_PROPERTIES += \
38    persist.vendor.testing_battery_profile=2
39
40# The default value of this variable is false and should only be set to true when
41# the device allows users to retain eSIM profiles after factory reset of user data.
42PRODUCT_PRODUCT_PROPERTIES += \
43    masterclear.allow_retain_esim_profiles_after_fdr=true
44
45# ZramWriteback
46-include hardware/google/pixel/mm/device_gki.mk
47
48# Set thermal warm reset
49PRODUCT_PRODUCT_PROPERTIES += \
50    ro.thermal_warmreset = true
51
52# Trigger fsck on upgrade (305658663)
53PRODUCT_PRODUCT_PROPERTIES += \
54    ro.preventative_fsck = 1