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