summaryrefslogtreecommitdiff
path: root/device.mk (plain)
blob: 1e626f4e6a6eea75ebbfe4f1cb8854cb1844e948
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
17ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE), true)
18PRODUCT_COPY_FILES += \
19 device/amlogic/common/products/mbox/init.amlogic.system.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.rc
20else
21PRODUCT_COPY_FILES += \
22 device/amlogic/common/products/mbox/init.amlogic.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.rc
23endif
24
25PRODUCT_COPY_FILES += \
26 device/amlogic/braun/init.amlogic.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.usb.rc \
27 device/amlogic/braun/init.amlogic.board.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.board.rc
28
29PRODUCT_COPY_FILES += \
30 device/amlogic/common/products/mbox/ueventd.amlogic.rc:vendor/ueventd.rc
31
32PRODUCT_COPY_FILES += \
33 device/amlogic/braun/files/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
34 device/amlogic/braun/files/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
35 device/amlogic/braun/files/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
36 device/amlogic/braun/files/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
37 device/amlogic/braun/files/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
38 device/amlogic/braun/files/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
39 device/amlogic/braun/files/mesondisplay.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/mesondisplay.cfg \
40 device/amlogic/braun/files/remote.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/remote.cfg \
41 device/amlogic/braun/files/remote.tab1:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab1 \
42 device/amlogic/braun/files/remote.tab2:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab2 \
43 device/amlogic/braun/files/remote.tab3:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab3 \
44 frameworks/native/data/etc/android.hardware.hdmi.cec.xml:system/etc/permissions/android.hardware.hdmi.cec.xml
45
46ifeq ($(TARGET_WITH_MEDIA_EXT), true)
47PRODUCT_COPY_FILES += \
48 device/amlogic/braun/files/media_codecs_ext.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_ext.xml
49endif
50
51PRODUCT_COPY_FILES += \
52 device/amlogic/braun/recovery/init.recovery.amlogic.rc:root/init.recovery.amlogic.rc \
53 device/amlogic/braun/recovery/recovery.kl:recovery/root/etc/recovery.kl \
54 device/amlogic/braun/files/mesondisplay.cfg:recovery/root/etc/mesondisplay.cfg \
55 device/amlogic/braun/recovery/remotecfg:recovery/root/sbin/remotecfg \
56 device/amlogic/braun/files/remote.cfg:recovery/root/etc/remote.cfg \
57 device/amlogic/braun/files/remote.tab1:recovery/root/etc/remote.tab1 \
58 device/amlogic/braun/files/remote.tab2:recovery/root/etc/remote.tab2 \
59 device/amlogic/braun/files/remote.tab3:recovery/root/etc/remote.tab3 \
60 device/amlogic/braun/recovery/sh:recovery/root/sbin/sh
61
62# remote IME config file
63PRODUCT_COPY_FILES += \
64 device/amlogic/braun/files/Vendor_0001_Product_0001.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl \
65 device/amlogic/common/products/mbox/Vendor_1915_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_1915_Product_0001.kl
66ifneq ($(TARGET_BUILD_GOOGLE_ATV), true)
67PRODUCT_COPY_FILES += \
68 device/amlogic/braun/files/Generic.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
69else
70PRODUCT_COPY_FILES += \
71 device/amlogic/common/Generic.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
72endif
73PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi
74PRODUCT_AAPT_PREF_CONFIG := hdpi
75
76PRODUCT_CHARACTERISTICS := mbx,nosdcard
77
78PRODUCT_TAGS += dalvik.gc.type-precise
79
80
81# setup dalvik vm configs.
82$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
83
84# set default USB configuration
85PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
86 persist.sys.usb.config=mtp
87
88#To remove healthd from the build
89PRODUCT_PACKAGES += android.hardware.health@2.0-service.override
90DEVICE_FRAMEWORK_MANIFEST_FILE += \
91 system/libhidl/vintfdata/manifest_healthd_exclude.xml
92
93#To keep healthd in the build
94PRODUCT_PACKAGES += android.hardware.health@2.0-service
95