# Copyright (C) 2012-2014 Paul Kocialkowski # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Overlay DEVICE_PACKAGE_OVERLAYS := device/goldelico/gta04/overlay # Install script PRODUCT_COPY_FILES += \ device/goldelico/gta04/replicant_gta04_install.sh:replicant_gta04_install.sh # Ramdisk PRODUCT_COPY_FILES += \ device/goldelico/gta04/rootdir/init.gta04.rc:root/init.gta04.rc \ device/goldelico/gta04/rootdir/init.gta04.usb.rc:root/init.gta04.usb.rc \ device/goldelico/gta04/rootdir/ueventd.gta04.rc:root/ueventd.gta04.rc \ device/goldelico/gta04/rootdir/fstab.gta04:root/fstab.gta04 # Recovery PRODUCT_COPY_FILES += \ device/goldelico/gta04/recovery/init.recovery.gta04.rc:root/init.recovery.gta04.rc PRODUCT_PROPERTY_OVERRIDES += \ ro.cwm.forbid_format=/boot # USB PRODUCT_PROPERTY_OVERRIDES += \ persist.sys.usb.config=mtp # Storage PRODUCT_COPY_FILES += \ device/goldelico/gta04/configs/vold.fstab:system/etc/vold.fstab # Input PRODUCT_COPY_FILES += \ device/goldelico/gta04/usr/idc/TSC2007_Touchscreen.idc:system/usr/idc/TSC2007_Touchscreen.idc \ device/goldelico/gta04/usr/keylayout/twl4030_pwrbutton.kl:system/usr/keylayout/twl4030_pwrbutton.kl \ device/goldelico/gta04/usr/keylayout/Phone_button.kl:system/usr/keylayout/Phone_button.kl \ device/goldelico/gta04/usr/keylayout/gta04_Headset_Jack.kl:system/usr/keylayout/gta04_Headset_Jack.kl # Graphics PRODUCT_LOCALES := hdpi # Media PRODUCT_COPY_FILES += \ device/goldelico/gta04/configs/media_codecs.xml:system/etc/media_codecs.xml # Audio PRODUCT_PACKAGES += \ audio.primary.omap3 PRODUCT_COPY_FILES += \ device/goldelico/gta04/configs/tinyalsa-audio.xml:system/etc/tinyalsa-audio.xml \ device/goldelico/gta04/configs/audio_policy.conf:system/etc/audio_policy.conf # Lights PRODUCT_PACKAGES += \ lights.gta04 # GPS PRODUCT_PACKAGES += \ gps.gta04 # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ frameworks/native/data/etc/android.hardware.touchscreen.xml:system/etc/permissions/android.hardware.touchscreen.xml \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml # Wi-Fi PRODUCT_COPY_FILES += \ device/goldelico/gta04/configs/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf PRODUCT_PROPERTY_OVERRIDES += \ wifi.interface=wlan0 # Bluetooth PRODUCT_PACKAGES += \ libbt-vendor # Dalvik PRODUCT_PROPERTY_OVERRIDES += \ dalvik.vm.dexopt-data-only=1 \ dalvik.vm.checkjni=false \ ro.kernel.android.checkjni=0 PRODUCT_TAGS += dalvik.gc.type-precise include frameworks/native/build/phone-hdpi-512-dalvik-heap.mk