1#
2# Copyright (C) 2019 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
22PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
23
24#
25# All components inherited here go to system_ext image
26#
27$(call inherit-product, device/google/atv/products/atv_system_ext.mk)
28
29#
30# All components inherited here go to product image
31#
32$(call inherit-product, device/google/atv/products/atv_product.mk)
33
34#
35# All components inherited here go to vendor image
36#
37$(call inherit-product, device/google/cuttlefish/shared/tv/device_vendor.mk)
38
39#
40# Special settings for the target
41#
42$(call inherit-product, device/google/cuttlefish/vsoc_x86_64/bootloader.mk)
43
44# Stub SetupWizard for AOSP TV
45PRODUCT_PACKAGES += TvProvision
46
47# Exclude features that are not available on AOSP devices.
48PRODUCT_COPY_FILES += \
49    frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml
50
51PRODUCT_NAME := aosp_cf_x86_tv
52PRODUCT_DEVICE := vsoc_x86
53PRODUCT_MANUFACTURER := Google
54PRODUCT_MODEL := Cuttlefish x86 tv
55
56PRODUCT_VENDOR_PROPERTIES += \
57    ro.soc.manufacturer=$(PRODUCT_MANUFACTURER) \
58    ro.soc.model=$(PRODUCT_DEVICE)
59