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 20PRODUCT_PUBLIC_SEPOLICY_DIRS += device/google/atv/audio_proxy/sepolicy/public 21 22PRODUCT_PACKAGES += \ 23 TvNetworkStackOverlay \ 24 TvFrameworkOverlay \ 25 TvSettingsProviderOverlay \ 26 TvWifiOverlay \ 27 SettingsIntelligence 28 29# Override com.android.* overlays with com.google.android.* overlays for mainline 30ifeq ($(PRODUCT_IS_ATV_MAINLINE), true) 31PRODUCT_PACKAGES += \ 32 TvWifiOverlayGoogle 33endif 34 35PRODUCT_COPY_FILES += \ 36 device/google/atv/atv-component-overrides.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/atv-component-overrides.xml 37 38PRODUCT_COPY_FILES += \ 39 frameworks/native/data/etc/android.hardware.gamepad.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.gamepad.xml 40 41# Too many tombstones can cause bugreports to grow too large to be uploaded. 42PRODUCT_PRODUCT_PROPERTIES += \ 43 tombstoned.max_tombstone_count?=10 44