summaryrefslogtreecommitdiff
path: root/common/products/mbox/product_mbox.mk (plain)
blob: 0b2614ec70f7008d7f86b09f68e12b07af42597b
1$(call inherit-product, device/amlogic/common/core_amlogic.mk)
2
3
4PRODUCT_PACKAGES += \
5 imageserver \
6 busybox \
7 utility_busybox
8
9# DLNA
10ifneq ($(TARGET_BUILD_GOOGLE_ATV), true)
11PRODUCT_PACKAGES += \
12 DLNA
13endif
14
15PRODUCT_PACKAGES += \
16 remotecfg
17
18USE_CUSTOM_AUDIO_POLICY := 1
19
20ifneq ($(TARGET_BUILD_GOOGLE_ATV), true)
21# NativeImagePlayer
22PRODUCT_PACKAGES += \
23 NativeImagePlayer
24
25#MboxLauncher
26PRODUCT_PACKAGES += \
27 MboxLauncher
28endif
29
30#droid vold
31PRODUCT_PACKAGES += \
32 droidvold
33
34# Camera Hal
35PRODUCT_PACKAGES += \
36 camera.amlogic
37
38# HDMITX CEC HAL
39PRODUCT_PACKAGES += \
40 hdmi_cec \
41 libhdmicec \
42 libhdmicec_jni \
43 hdmi_cec.amlogic
44
45PRODUCT_PROPERTY_OVERRIDES += ro.hdmi.device_type=4
46
47#Tvsettings
48PRODUCT_PACKAGES += \
49 TvSettings
50
51
52#USB PM
53PRODUCT_PACKAGES += \
54 usbtestpm \
55 usbpower
56
57PRODUCT_COPY_FILES += \
58 frameworks/native/data/etc/android.software.app_widgets.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.app_widgets.xml \
59 frameworks/native/data/etc/android.software.backup.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.backup.xml \
60 frameworks/native/data/etc/android.hardware.audio.output.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.output.xml \
61 frameworks/native/data/etc/android.hardware.location.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.xml \
62 frameworks/native/data/etc/android.hardware.hdmi.cec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hdmi.cec.xml \
63
64#copy lowmemorykiller.txt
65ifeq ($(BUILD_WITH_LOWMEM_COMMON_CONFIG),true)
66PRODUCT_COPY_FILES += \
67 device/amlogic/common/config/lowmemorykiller_2G.txt:$(TARGET_COPY_OUT_VENDOR)/etc/lowmemorykiller_2G.txt \
68 device/amlogic/common/config/lowmemorykiller.txt:$(TARGET_COPY_OUT_VENDOR)/etc/lowmemorykiller.txt \
69 device/amlogic/common/config/lowmemorykiller_512M.txt:$(TARGET_COPY_OUT_VENDOR)/etc/lowmemorykiller_512M.txt
70endif
71
72#DDR LOG
73PRODUCT_COPY_FILES += \
74 device/amlogic/common/ddrtest.sh:$(TARGET_COPY_OUT_VENDOR)/bin/ddrtest.sh
75
76# USB
77PRODUCT_COPY_FILES += \
78 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
79 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml
80
81custom_keylayouts := $(wildcard device/amlogic/common/keyboards/*.kl)
82PRODUCT_COPY_FILES += $(foreach file,$(custom_keylayouts),\
83 $(file):$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/$(notdir $(file)))
84
85# hdcp_tx22
86PRODUCT_COPY_FILES += \
87 $(LOCAL_PATH)/../../hdcp_tx22/hdcp_tx22:$(TARGET_COPY_OUT_VENDOR)/bin/hdcp_tx22
88
89# bootanimation
90PRODUCT_COPY_FILES += \
91 $(LOCAL_PATH)/bootanimation.zip:system/media/bootanimation.zip
92
93PRODUCT_COPY_FILES += \
94 $(LOCAL_PATH)/mbox.mp4:$(TARGET_COPY_OUT_VENDOR)/etc/bootvideo
95
96# default wallpaper for mbox to fix bug 106225
97PRODUCT_COPY_FILES += \
98 $(LOCAL_PATH)/default_wallpaper.png:$(TARGET_COPY_OUT_VENDOR)/etc/default_wallpaper.png
99
100# Include BUILD_NUMBER if defined
101VERSION_ID=$(shell find device/*/$(TARGET_PRODUCT) -name version_id.mk)
102$(call inherit-product, $(VERSION_ID))
103
104DISPLAY_BUILD_NUMBER := true
105