blob: e42d72487fb32ec7335c7adbe42e03ec9a49738b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# Copyright (C) 2012-2014 Paul Kocialkowski <contact@paulk.fr>
#
# 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 <http://www.gnu.org/licenses/>.
# 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
# Graphics
PRODUCT_LOCALES := hdpi
PRODUCT_COPY_FILES += \
device/goldelico/gta04/rootdir/initlogo.rle:root/initlogo.rle
# Audio
PRODUCT_PACKAGES += \
audio.primary.omap3
PRODUCT_COPY_FILES += \
device/goldelico/gta04/configs/tinyalsa-audio.xml:system/etc/tinyalsa-audio.xml
# Lights
PRODUCT_PACKAGES += \
lights.gta04
# GPS
PRODUCT_PACKAGES += \
gps.gta04
# Permissions
PRODUCT_COPY_FILES += \
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
# APNS
PRODUCT_COPY_FILES += \
vendor/replicant/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml
# 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
|