• 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# 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_PACKAGES += \
23    SettingsIntelligence \
24    SystemUI \
25    TvSettings
26
27# Do not include the Live Channels app if USE_OEM_TV_APP flag is set.
28# The feature com.google.android.tv.installed is used to tell whether a device
29# has the pre-installed Live Channels app. This is necessary for the Play Store
30# to identify the compatible devices that can install later updates of the app.
31ifneq ($(USE_OEM_TV_APP),true)
32PRODUCT_PACKAGES += LiveTv
33
34PRODUCT_COPY_FILES += \
35    device/google/atv/permissions/com.google.android.tv.installed.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.google.android.tv.installed.xml
36endif
37