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