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 17# Generate source.properties for image target 18PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \ 19 device/google/atv/sdk/images_source.prop_template 20 21PRODUCT_USE_DYNAMIC_PARTITIONS := true 22 23# The system image of aosp_tv_x86-userdebug is a GSI for the devices with: 24# - x86 32 bits user space 25# - 64 bits binder interface 26# - VNDK enforcement 27# - compatible property override enabled 28 29# 30# All components inherited here go to system image 31# 32$(call inherit-product, device/google/atv/products/atv_generic_system.mk) 33 34# Enable mainline checking for excat this product name 35ifeq (aosp_tv_x86,$(TARGET_PRODUCT)) 36PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 37endif 38 39# 40# All components inherited here go to system_ext image 41# 42$(call inherit-product, device/google/atv/products/atv_system_ext.mk) 43# Packages required for ATV GSI 44PRODUCT_PACKAGES += \ 45 TvProvision 46 47# 48# All components inherited here go to product image 49# 50$(call inherit-product, device/google/atv/products/atv_product.mk) 51# Packages required for ATV GSI 52PRODUCT_PACKAGES += \ 53 LeanbackIME \ 54 TvSampleLeanbackLauncher 55 56# 57# All components inherited here go to vendor image 58# 59$(call inherit-product, device/google/atv/products/atv_emulator_vendor.mk) 60$(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk) 61$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk) 62 63ifeq (aosp_tv_x86,$(TARGET_PRODUCT)) 64$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk) 65endif 66 67PRODUCT_NAME := aosp_tv_x86 68PRODUCT_DEVICE := generic_x86 69PRODUCT_BRAND := Android 70PRODUCT_MODEL := AOSP TV on x86 71