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