blob: 1e626f4e6a6eea75ebbfe4f1cb8854cb1844e948
1 | # |
2 | # Copyright (C) 2013 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 | ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE), true) |
18 | PRODUCT_COPY_FILES += \ |
19 | device/amlogic/common/products/mbox/init.amlogic.system.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.rc |
20 | else |
21 | PRODUCT_COPY_FILES += \ |
22 | device/amlogic/common/products/mbox/init.amlogic.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.rc |
23 | endif |
24 | |
25 | PRODUCT_COPY_FILES += \ |
26 | device/amlogic/braun/init.amlogic.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.usb.rc \ |
27 | device/amlogic/braun/init.amlogic.board.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.board.rc |
28 | |
29 | PRODUCT_COPY_FILES += \ |
30 | device/amlogic/common/products/mbox/ueventd.amlogic.rc:vendor/ueventd.rc |
31 | |
32 | PRODUCT_COPY_FILES += \ |
33 | device/amlogic/braun/files/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ |
34 | device/amlogic/braun/files/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
35 | device/amlogic/braun/files/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
36 | device/amlogic/braun/files/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
37 | device/amlogic/braun/files/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
38 | device/amlogic/braun/files/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
39 | device/amlogic/braun/files/mesondisplay.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/mesondisplay.cfg \ |
40 | device/amlogic/braun/files/remote.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/remote.cfg \ |
41 | device/amlogic/braun/files/remote.tab1:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab1 \ |
42 | device/amlogic/braun/files/remote.tab2:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab2 \ |
43 | device/amlogic/braun/files/remote.tab3:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab3 \ |
44 | frameworks/native/data/etc/android.hardware.hdmi.cec.xml:system/etc/permissions/android.hardware.hdmi.cec.xml |
45 | |
46 | ifeq ($(TARGET_WITH_MEDIA_EXT), true) |
47 | PRODUCT_COPY_FILES += \ |
48 | device/amlogic/braun/files/media_codecs_ext.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_ext.xml |
49 | endif |
50 | |
51 | PRODUCT_COPY_FILES += \ |
52 | device/amlogic/braun/recovery/init.recovery.amlogic.rc:root/init.recovery.amlogic.rc \ |
53 | device/amlogic/braun/recovery/recovery.kl:recovery/root/etc/recovery.kl \ |
54 | device/amlogic/braun/files/mesondisplay.cfg:recovery/root/etc/mesondisplay.cfg \ |
55 | device/amlogic/braun/recovery/remotecfg:recovery/root/sbin/remotecfg \ |
56 | device/amlogic/braun/files/remote.cfg:recovery/root/etc/remote.cfg \ |
57 | device/amlogic/braun/files/remote.tab1:recovery/root/etc/remote.tab1 \ |
58 | device/amlogic/braun/files/remote.tab2:recovery/root/etc/remote.tab2 \ |
59 | device/amlogic/braun/files/remote.tab3:recovery/root/etc/remote.tab3 \ |
60 | device/amlogic/braun/recovery/sh:recovery/root/sbin/sh |
61 | |
62 | # remote IME config file |
63 | PRODUCT_COPY_FILES += \ |
64 | device/amlogic/braun/files/Vendor_0001_Product_0001.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl \ |
65 | device/amlogic/common/products/mbox/Vendor_1915_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_1915_Product_0001.kl |
66 | ifneq ($(TARGET_BUILD_GOOGLE_ATV), true) |
67 | PRODUCT_COPY_FILES += \ |
68 | device/amlogic/braun/files/Generic.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl |
69 | else |
70 | PRODUCT_COPY_FILES += \ |
71 | device/amlogic/common/Generic.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl |
72 | endif |
73 | PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi |
74 | PRODUCT_AAPT_PREF_CONFIG := hdpi |
75 | |
76 | PRODUCT_CHARACTERISTICS := mbx,nosdcard |
77 | |
78 | PRODUCT_TAGS += dalvik.gc.type-precise |
79 | |
80 | |
81 | # setup dalvik vm configs. |
82 | $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
83 | |
84 | # set default USB configuration |
85 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
86 | persist.sys.usb.config=mtp |
87 | |
88 | #To remove healthd from the build |
89 | PRODUCT_PACKAGES += android.hardware.health@2.0-service.override |
90 | DEVICE_FRAMEWORK_MANIFEST_FILE += \ |
91 | system/libhidl/vintfdata/manifest_healthd_exclude.xml |
92 | |
93 | #To keep healthd in the build |
94 | PRODUCT_PACKAGES += android.hardware.health@2.0-service |
95 |