• 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# Factory OTA
34-include vendor/unbundled_google/packages/FactoryOtaPrebuilt/factoryota.mk
35
36# Set system properties identifying the chipset
37PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
38PRODUCT_VENDOR_PROPERTIES += ro.soc.model=GS201
39
40PRODUCT_PRODUCT_PROPERTIES += \
41    persist.vendor.testing_battery_profile=2
42
43# 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
48# ZramWriteback
49-include hardware/google/pixel/mm/device_gki.mk
50
51# Set thermal warm reset
52PRODUCT_PRODUCT_PROPERTIES += \
53    ro.thermal_warmreset = true
54