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