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_SDK := true
     18 
     19 PRODUCT_PACKAGES := \
     20     EmulatorSmokeTests \
     21     LeanbackSampleApp \
     22     TelephonyProvider \
     23     SdkSetup \
     24     audio.primary.goldfish \
     25     rild
     26 
     27 DEVICE_PACKAGE_OVERLAYS := \
     28     device/google/atv/sdk_overlay \
     29     development/sdk_overlay
     30 
     31 PRODUCT_COPY_FILES := \
     32     device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
     33     device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \
     34     device/google/atv/init.goldfish.rc:root/init.goldfish.rc \
     35     device/google/atv/init.ranchu.rc:root/init.ranchu.rc \
     36     frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
     37     frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \
     38     frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
     39     frameworks/av/media/libstagefright/data/media_codecs_google_tv.xml:system/etc/media_codecs_google_tv.xml \
     40     frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
     41     hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
     42 
     43 # Put en_US first in the list, so make it default.
     44 PRODUCT_LOCALES := en_US
     45 
     46 # Include drawables for various densities.
     47 PRODUCT_AAPT_CONFIG := normal large xlarge tvdpi hdpi xhdpi xxhdpi
     48 
     49 # Add TV skins to SDK, in addition to (not replacing) original SDK tree
     50 PRODUCT_SDK_ATREE_FILES := \
     51     development/build/sdk.atree \
     52     device/google/atv/sdk/atv_sdk.atree
     53 
     54 # Define the host tools and libs that are parts of the SDK.
     55 -include sdk/build/product_sdk.mk
     56 -include development/build/product_sdk.mk
     57 
     58 include $(SRC_TARGET_DIR)/product/emulator.mk
     59 
     60 $(call inherit-product, device/google/atv/products/atv_base.mk)
     61 
     62 # include available languages for TTS in the system image
     63 -include external/svox/pico/lang/PicoLangDeDeInSystem.mk
     64 -include external/svox/pico/lang/PicoLangEnGBInSystem.mk
     65 -include external/svox/pico/lang/PicoLangEnUsInSystem.mk
     66 -include external/svox/pico/lang/PicoLangEsEsInSystem.mk
     67 -include external/svox/pico/lang/PicoLangFrFrInSystem.mk
     68 -include external/svox/pico/lang/PicoLangItItInSystem.mk
     69 
     70 # Overrides
     71 PRODUCT_NAME := sdk_atv_armv7
     72 PRODUCT_DEVICE := generic
     73 PRODUCT_BRAND := generic
     74