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