1# 2# Copyright (C) 2022 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 17# Declare here to not install modules which are not supported on TV 18PRODUCT_IS_ATV := true 19 20# 21# All components inherited here go to system image 22# 23$(call inherit-product, device/google/atv/products/atv_generic_system.mk) 24 25# Enable mainline checking 26PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true 27 28# 29# All components inherited here go to system_ext image 30# 31$(call inherit-product, device/google/atv/products/atv_system_ext.mk) 32 33# Packages required for ATV GSI 34PRODUCT_PACKAGES += \ 35 TvProvision 36 37# Install a copy of the debug policy to the system_ext partition, and allow 38# init-second-stage to load debug policy from system_ext. 39# This option is only meant to be set by compliance GSI targets. 40PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT := true 41PRODUCT_PACKAGES += system_ext_userdebug_plat_sepolicy.cil 42 43# 44# All components inherited here go to product image 45# 46$(call inherit-product, device/google/atv/products/atv_product.mk) 47# Default sound experience 48$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioTv.mk) 49# Packages required for ATV GSI 50PRODUCT_PACKAGES += \ 51 LeanbackIME \ 52 TvSampleLeanbackLauncher 53# Specify product type 54PRODUCT_CHARACTERISTICS := tv 55 56# 57# Special settings for GSI releasing 58# 59$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk) 60