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