summaryrefslogtreecommitdiffstats
path: root/gta04.mk
blob: 2a284ce524db36e4f0d5ca722e00daa02eff8333 (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
# Copyright (C) 2012-2014 Paul Kocialkowski <contact@paulk.fr>
#
# 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.

# 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 \

# 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