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