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