blob: ffdd33a6304d4dbd881df597928beb66364c087a
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 | ifneq ($(BOARD_USES_RECOVERY_AS_BOOT), true) |
18 | ifeq ($(AB_OTA_UPDATER),true) |
19 | PRODUCT_COPY_FILES += device/amlogic/common/products/mbox/init.amlogic.ab.rc:root/init.amlogic.rc |
20 | else |
21 | PRODUCT_COPY_FILES += device/amlogic/common/products/mbox/init.amlogic.rc:root/init.amlogic.rc |
22 | endif |
23 | |
24 | PRODUCT_COPY_FILES += \ |
25 | device/amlogic/p212/init.amlogic.usb.rc:root/init.amlogic.usb.rc \ |
26 | device/amlogic/common/products/mbox/ueventd.amlogic.rc:root/ueventd.amlogic.rc \ |
27 | device/amlogic/p212/init.amlogic.board.rc:root/init.amlogic.board.rc |
28 | else |
29 | ifeq ($(AB_OTA_UPDATER),true) |
30 | PRODUCT_COPY_FILES += device/amlogic/common/products/mbox/init.amlogic.ab.rc:recovery/root/init.amlogic.rc |
31 | else |
32 | PRODUCT_COPY_FILES += device/amlogic/common/products/mbox/init.amlogic.rc:recovery/root/init.amlogic.rc |
33 | endif |
34 | |
35 | PRODUCT_COPY_FILES += \ |
36 | device/amlogic/p212/init.amlogic.usb.$(BOARD_KERNEL_VERSION).rc:recovery/root/init.amlogic.usb.rc \ |
37 | device/amlogic/common/products/mbox/ueventd.amlogic.rc:recovery/root/ueventd.amlogic.rc \ |
38 | device/amlogic/p212/init.amlogic.board.rc:recovery/root/init.amlogic.board.rc |
39 | endif |
40 | |
41 | PRODUCT_COPY_FILES += \ |
42 | device/amlogic/p212/files/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ |
43 | device/amlogic/p212/files/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
44 | device/amlogic/p212/files/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
45 | device/amlogic/p212/files/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
46 | device/amlogic/p212/files/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
47 | device/amlogic/p212/files/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
48 | device/amlogic/p212/files/mesondisplay.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/mesondisplay.cfg \ |
49 | device/amlogic/p212/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml |
50 | |
51 | # remote IME config file |
52 | PRODUCT_COPY_FILES += \ |
53 | device/amlogic/p212/files/remote.conf:$(TARGET_COPY_OUT_VENDOR)/etc/remote.conf \ |
54 | device/amlogic/p212/files/Vendor_0001_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl \ |
55 | device/amlogic/p212/files/Generic.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl |
56 | PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi |
57 | PRODUCT_AAPT_PREF_CONFIG := hdpi |
58 | |
59 | PRODUCT_CHARACTERISTICS := mbx,nosdcard |
60 | |
61 | DEVICE_PACKAGE_OVERLAYS := \ |
62 | device/amlogic/p212/overlay |
63 | |
64 | PRODUCT_TAGS += dalvik.gc.type-precise |
65 | |
66 | |
67 | # setup dalvik vm configs. |
68 | $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
69 | |
70 | # set default USB configuration |
71 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
72 | persist.sys.usb.config=mtp |
73 |