Home | History | Annotate | Download | only in products
      1 #
      2 # Copyright (C) 2014 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 PRODUCT_IS_ATV := true
     18 
     19 PRODUCT_PACKAGES := \
     20     TvProvider \
     21     TvSettings \
     22     SettingsIntelligence \
     23     tv_input.default
     24 
     25 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
     26 PRODUCT_PACKAGES += Traceur
     27 endif
     28 
     29 PRODUCT_COPY_FILES := \
     30     device/google/atv/permissions/tv_core_hardware.xml:system/etc/permissions/tv_core_hardware.xml
     31 
     32 DEVICE_PACKAGE_OVERLAYS := \
     33     device/google/atv/overlay
     34 
     35 # From build/target/product/core_base.mk
     36 PRODUCT_PACKAGES += \
     37     ContactsProvider \
     38     DefaultContainerService \
     39     UserDictionaryProvider \
     40     libaudiopreprocessing \
     41     libfilterpack_imageproc \
     42     libgabi++ \
     43     libkeystore \
     44     libstagefright_soft_aacdec \
     45     libstagefright_soft_aacenc \
     46     libstagefright_soft_amrdec \
     47     libstagefright_soft_amrnbenc \
     48     libstagefright_soft_amrwbenc \
     49     libstagefright_soft_avcdec \
     50     libstagefright_soft_avcenc \
     51     libstagefright_soft_flacdec \
     52     libstagefright_soft_flacenc \
     53     libstagefright_soft_g711dec \
     54     libstagefright_soft_gsmdec \
     55     libstagefright_soft_hevcdec \
     56     libstagefright_soft_mp3dec \
     57     libstagefright_soft_mpeg2dec \
     58     libstagefright_soft_mpeg4dec \
     59     libstagefright_soft_mpeg4enc \
     60     libstagefright_soft_opusdec \
     61     libstagefright_soft_rawdec \
     62     libstagefright_soft_vorbisdec \
     63     libstagefright_soft_vpxdec \
     64     libstagefright_soft_vpxenc \
     65     mdnsd \
     66     requestsync
     67 
     68 # From build/target/product/core.mk
     69 PRODUCT_PACKAGES += \
     70     BasicDreams \
     71     CalendarProvider \
     72     CaptivePortalLogin \
     73     CertInstaller \
     74     DocumentsUIMinimal \
     75     ExternalStorageProvider \
     76     FusedLocation \
     77     InputDevices \
     78     KeyChain \
     79     PacProcessor \
     80     PrintSpooler \
     81     ProxyHandler \
     82     SharedStorageBackup \
     83     VpnDialogs \
     84     com.android.media.tv.remoteprovider \
     85     com.android.media.tv.remoteprovider.xml
     86 
     87 # From build/target/product/generic_no_telephony.mk
     88 PRODUCT_PACKAGES += \
     89     Bluetooth \
     90     SystemUI \
     91     librs_jni \
     92     audio.primary.default \
     93     clatd \
     94     clatd.conf \
     95     local_time.default \
     96     screenrecord
     97 
     98 PRODUCT_COPY_FILES += \
     99     frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
    100 
    101 # Enable frame-exact AV sync
    102 PRODUCT_PROPERTY_OVERRIDES += \
    103     persist.sys.media.avsync=true
    104 
    105 # Do not include the Live Channels app if USE_OEM_TV_APP flag is set.
    106 # The feature com.google.android.tv.installed is used to tell whether a device
    107 # has the pre-installed Live Channels app. This is necessary for the Play Store
    108 # to identify the compatible devices that can install later updates of the app.
    109 ifneq ($(USE_OEM_TV_APP),true)
    110     ifneq ($(PRODUCT_IS_ATV_SDK),true)
    111         PRODUCT_PACKAGES += TV
    112     else
    113         PRODUCT_PACKAGES += LiveTv
    114     endif # if PRODUCT_IS_ATV_SDK
    115 
    116     PRODUCT_COPY_FILES += \
    117         device/google/atv/permissions/com.google.android.tv.installed.xml:system/etc/permissions/com.google.android.tv.installed.xml
    118 endif
    119 
    120 # To enable access to /dev/dvb*
    121 BOARD_SEPOLICY_DIRS += device/google/atv/sepolicy
    122 
    123 
    124 # Copy .kl file for generic voice remotes
    125 PRODUCT_COPY_FILES += \
    126     device/google/atv/Generic.kl:system/usr/keylayout/Generic.kl
    127 
    128 $(call inherit-product-if-exists, frameworks/base/data/sounds/AudioTv.mk)
    129 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
    130 $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
    131 $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
    132 $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
    133 $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk)
    134 $(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
    135 $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
    136 $(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk)
    137 $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
    138 $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
    139 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk)
    140