84 files changed, 28178 insertions, 0 deletions
diff --git a/device.mk b/device.mk new file mode 100644 index 0000000..580d4c1 --- a/dev/null +++ b/device.mk @@ -0,0 +1,71 @@ +# +# Copyright (C) 2013 The Android Open-Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +PRODUCT_COPY_FILES += device/amlogic/common/products/mbox/init.amlogic.rc:root/init.amlogic.rc + +PRODUCT_COPY_FILES += \ + device/amlogic/p230/init.amlogic.usb.rc:root/init.amlogic.usb.rc \ + device/amlogic/common/products/mbox/ueventd.amlogic.rc:root/ueventd.amlogic.rc \ + device/amlogic/p230/init.amlogic.board.rc:root/init.amlogic.board.rc + +PRODUCT_COPY_FILES += \ + device/amlogic/p230/files/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ + device/amlogic/p230/files/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ + device/amlogic/p230/files/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ + device/amlogic/p230/files/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ + device/amlogic/p230/files/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ + device/amlogic/p230/files/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ + device/amlogic/p230/files/mesondisplay.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/mesondisplay.cfg \ + device/amlogic/p230/files/remote.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/remote.cfg \ + device/amlogic/p230/files/remote.tab1:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab1 \ + device/amlogic/p230/files/remote.tab2:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab2 \ + device/amlogic/p230/files/remote.tab3:$(TARGET_COPY_OUT_VENDOR)/etc/remote.tab3 \ + frameworks/native/data/etc/android.hardware.hdmi.cec.xml:system/etc/permissions/android.hardware.hdmi.cec.xml \ + device/amlogic/p230/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml + +PRODUCT_COPY_FILES += \ + device/amlogic/p230/recovery/init.recovery.amlogic.rc:root/init.recovery.amlogic.rc \ + device/amlogic/p230/recovery/recovery.kl:recovery/root/etc/recovery.kl \ + device/amlogic/p230/files/mesondisplay.cfg:recovery/root/etc/mesondisplay.cfg \ + device/amlogic/p230/recovery/busybox:recovery/root/sbin/busybox \ + device/amlogic/p230/recovery/remotecfg:recovery/root/sbin/remotecfg \ + device/amlogic/p230/files/remote.cfg:recovery/root/etc/remote.cfg \ + device/amlogic/p230/files/remote.tab1:recovery/root/etc/remote.tab1 \ + device/amlogic/p230/files/remote.tab2:recovery/root/etc/remote.tab2 \ + device/amlogic/p230/files/remote.tab3:recovery/root/etc/remote.tab3 \ + device/amlogic/p230/recovery/sh:recovery/root/sbin/sh + +# remote IME config file +PRODUCT_COPY_FILES += \ + device/amlogic/p230/files/Vendor_0001_Product_0001.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl \ + device/amlogic/p230/files/Generic.kl:/$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl +PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi +PRODUCT_AAPT_PREF_CONFIG := hdpi + +PRODUCT_CHARACTERISTICS := mbx,nosdcard + +DEVICE_PACKAGE_OVERLAYS := \ + device/amlogic/p230/overlay + +PRODUCT_TAGS += dalvik.gc.type-precise + + +# setup dalvik vm configs. +$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) + +# set default USB configuration +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + persist.sys.usb.config=mtp |