blob: c43a59dce38f85f845c42134f74c99d50d8f155d
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 | PRODUCT_PROPERTY_OVERRIDES += ro.hdmi.device_type=4 |
39 | |
40 | #Tvsettings |
41 | PRODUCT_PACKAGES += \ |
42 | TvSettings |
43 | |
44 | |
45 | #USB PM |
46 | PRODUCT_PACKAGES += \ |
47 | usbtestpm \ |
48 | usbpower |
49 | |
50 | PRODUCT_COPY_FILES += \ |
51 | frameworks/native/data/etc/android.software.app_widgets.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.app_widgets.xml \ |
52 | frameworks/native/data/etc/android.software.backup.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.backup.xml \ |
53 | frameworks/native/data/etc/android.hardware.audio.output.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.output.xml \ |
54 | frameworks/native/data/etc/android.hardware.location.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.xml \ |
55 | frameworks/native/data/etc/android.hardware.hdmi.cec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hdmi.cec.xml \ |
56 | |
57 | #copy lowmemorykiller.txt |
58 | ifeq ($(BUILD_WITH_LOWMEM_COMMON_CONFIG),true) |
59 | PRODUCT_COPY_FILES += \ |
60 | device/amlogic/common/config/lowmemorykiller_2G.txt:$(TARGET_COPY_OUT_VENDOR)/etc/lowmemorykiller_2G.txt \ |
61 | device/amlogic/common/config/lowmemorykiller.txt:$(TARGET_COPY_OUT_VENDOR)/etc/lowmemorykiller.txt \ |
62 | device/amlogic/common/config/lowmemorykiller_512M.txt:$(TARGET_COPY_OUT_VENDOR)/etc/lowmemorykiller_512M.txt |
63 | endif |
64 | |
65 | #DDR LOG |
66 | PRODUCT_COPY_FILES += \ |
67 | device/amlogic/common/ddrtest.sh:$(TARGET_COPY_OUT_VENDOR)/bin/ddrtest.sh |
68 | |
69 | # USB |
70 | PRODUCT_COPY_FILES += \ |
71 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
72 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml |
73 | |
74 | custom_keylayouts := $(wildcard device/amlogic/common/keyboards/*.kl) |
75 | PRODUCT_COPY_FILES += $(foreach file,$(custom_keylayouts),\ |
76 | $(file):$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/$(notdir $(file))) |
77 | |
78 | # hdcp_tx22 |
79 | PRODUCT_COPY_FILES += \ |
80 | $(LOCAL_PATH)/../../hdcp_tx22/hdcp_tx22:$(TARGET_COPY_OUT_VENDOR)/bin/hdcp_tx22 |
81 | |
82 | # bootanimation |
83 | PRODUCT_COPY_FILES += \ |
84 | $(LOCAL_PATH)/bootanimation.zip:system/media/bootanimation.zip |
85 | |
86 | PRODUCT_COPY_FILES += \ |
87 | $(LOCAL_PATH)/mbox.mp4:$(TARGET_COPY_OUT_VENDOR)/etc/bootvideo |
88 | |
89 | # default wallpaper for mbox to fix bug 106225 |
90 | PRODUCT_COPY_FILES += \ |
91 | $(LOCAL_PATH)/default_wallpaper.png:$(TARGET_COPY_OUT_VENDOR)/etc/default_wallpaper.png |
92 | |
93 | # Include BUILD_NUMBER if defined |
94 | VERSION_ID=$(shell find device/*/$(TARGET_PRODUCT) -name version_id.mk) |
95 | $(call inherit-product, $(VERSION_ID)) |
96 | |
97 | DISPLAY_BUILD_NUMBER := true |
98 |