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