blob: 0de650313f1d5e0de4e1c77ad81291912c2c86fd
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/einstein/init.amlogic.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.usb.rc \ |
22 | device/amlogic/einstein/init.amlogic.board.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.board.rc |
23 | |
24 | ifneq ($(BOARD_USES_RECOVERY_AS_BOOT), true) |
25 | PRODUCT_COPY_FILES += device/amlogic/common/products/tv/ueventd.amlogic.rc:root/ueventd.amlogic.rc |
26 | else |
27 | PRODUCT_COPY_FILES += device/amlogic/common/products/tv/ueventd.amlogic.rc:recovery/root/ueventd.amlogic.rc |
28 | endif |
29 | |
30 | PRODUCT_COPY_FILES += \ |
31 | device/amlogic/einstein/files/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ |
32 | device/amlogic/einstein/files/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
33 | device/amlogic/einstein/files/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
34 | device/amlogic/einstein/files/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
35 | device/amlogic/einstein/files/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
36 | device/amlogic/einstein/files/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
37 | device/amlogic/einstein/files/mesondisplay.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/mesondisplay.cfg |
38 | |
39 | ifeq ($(TARGET_WITH_MEDIA_EXT), true) |
40 | PRODUCT_COPY_FILES += \ |
41 | device/amlogic/einstein/files/media_codecs_ext.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_ext.xml |
42 | endif |
43 | |
44 | # remote IME config file |
45 | PRODUCT_COPY_FILES += \ |
46 | device/amlogic/einstein/files/remote.conf:$(TARGET_COPY_OUT_VENDOR)/etc/remote.conf \ |
47 | device/amlogic/einstein/files/remote.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/remote.cfg \ |
48 | device/amlogic/einstein/files/remote.tab:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab \ |
49 | device/amlogic/common/products/tv/Vendor_0001_Product_0001.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl \ |
50 | device/amlogic/common/products/tv/Vendor_1915_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_1915_Product_0001.kl |
51 | ifneq ($(TARGET_BUILD_GOOGLE_ATV), true) |
52 | PRODUCT_COPY_FILES += \ |
53 | device/amlogic/einstein/files/Generic.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl |
54 | else |
55 | PRODUCT_COPY_FILES += \ |
56 | device/amlogic/common/Generic.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl |
57 | endif |
58 | |
59 | # recovery |
60 | PRODUCT_COPY_FILES += \ |
61 | device/amlogic/einstein/recovery/init.recovery.amlogic.rc:root/init.recovery.amlogic.rc \ |
62 | device/amlogic/einstein/recovery/recovery.kl:recovery/root/etc/recovery.kl \ |
63 | device/amlogic/einstein/files/mesondisplay.cfg:recovery/root/etc/mesondisplay.cfg \ |
64 | device/amlogic/einstein/recovery/remotecfg:recovery/root/sbin/remotecfg \ |
65 | device/amlogic/einstein/files/remote.cfg:recovery/root/etc/remote.cfg \ |
66 | device/amlogic/einstein/files/remote.tab:recovery/root/etc/remote.tab \ |
67 | device/amlogic/einstein/recovery/sh:recovery/root/sbin/sh |
68 | |
69 | # einstein config file |
70 | PRODUCT_COPY_FILES += \ |
71 | device/amlogic/einstein/files/tv/tvconfig.conf:$(TARGET_COPY_OUT_VENDOR)/etc/tvconfig.conf \ |
72 | device/amlogic/einstein/files/tv/tv_default.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/tv_default.cfg \ |
73 | device/amlogic/einstein/files/tv/tv_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/tv_default.xml \ |
74 | device/amlogic/einstein/files/tv/tv_setting_config.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/tv_setting_config.cfg \ |
75 | device/amlogic/einstein/files/tv/pq.db:$(TARGET_COPY_OUT_VENDOR)/etc/pq.db \ |
76 | device/amlogic/einstein/files/tv/dec:$(TARGET_COPY_OUT_VENDOR)/bin/dec \ |
77 | device/amlogic/einstein/files/tv/port_14.bin:$(TARGET_COPY_OUT_VENDOR)/etc/tvconfig/hdmi/port_14.bin \ |
78 | device/amlogic/einstein/files/tv/port_20.bin:$(TARGET_COPY_OUT_VENDOR)/etc/tvconfig/hdmi/port_20.bin \ |
79 | device/amlogic/einstein/files/tv/tv_rrt_define.xml:$(TARGET_COPY_OUT_VENDOR)/etc/tv_rrt_define.xml |
80 | #einstein tuner |
81 | PRODUCT_COPY_FILES += \ |
82 | device/amlogic/einstein/files/tv/mxl661_fe.ko:$(TARGET_COPY_OUT_VENDOR)/lib/mxl661_fe.ko |
83 | |
84 | PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi |
85 | PRODUCT_AAPT_PREF_CONFIG := hdpi |
86 | |
87 | PRODUCT_CHARACTERISTICS := einstein,nosdcard |
88 | |
89 | PRODUCT_TAGS += dalvik.gc.type-precise |
90 | |
91 | |
92 | # setup dalvik vm configs. |
93 | $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
94 | |
95 | # set default USB configuration |
96 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
97 | persist.sys.usb.config=mtp |
98 | |
99 | #To remove healthd from the build |
100 | PRODUCT_PACKAGES += android.hardware.health@2.0-service.override |
101 | DEVICE_FRAMEWORK_MANIFEST_FILE += \ |
102 | system/libhidl/vintfdata/manifest_healthd_exclude.xml |
103 | |
104 | #To keep healthd in the build |
105 | PRODUCT_PACKAGES += android.hardware.health@2.0-service |
106 |