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# This makefile contains the product partition contents for 17# a generic TV device. 18$(call inherit-product, $(SRC_TARGET_DIR)/product/media_product.mk) 19 20$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioTv.mk) 21 22PRODUCT_PUBLIC_SEPOLICY_DIRS += device/google/atv/audio_proxy/sepolicy/public 23 24PRODUCT_PACKAGES += \ 25 TvFrameworkOverlay \ 26 TvSettingsProviderOverlay \ 27 TvWifiOverlay 28 29PRODUCT_COPY_FILES += \ 30 device/google/atv/atv-component-overrides.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/atv-component-overrides.xml 31 32PRODUCT_COPY_FILES += \ 33 frameworks/native/data/etc/android.hardware.gamepad.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.gamepad.xml 34 35# Too many tombstones can cause bugreports to grow too large to be uploaded. 36PRODUCT_PRODUCT_PROPERTIES += \ 37 tombstoned.max_tombstone_count?=10 38