forked from CyanogenMod/android_device_semc_msm7x30-common
-
Notifications
You must be signed in to change notification settings - Fork 3
/
msm7x30.mk
126 lines (114 loc) · 4.95 KB
/
msm7x30.mk
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#
# Copyright (C) 2011 The CyanogenMod 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.
#
# These is the hardware-specific overlay, which points to the location
# of hardware-specific resource overrides, typically the frameworks and
# application settings that are stored in resourced.
DEVICE_PACKAGE_OVERLAYS += device/semc/msm7x30-common/overlay
$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
# These are the common hardware-specific features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.touchscreen.xml:system/etc/permissions/android.hardware.touchscreen.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
# Common device specific configs
PRODUCT_COPY_FILES += \
device/semc/msm7x30-common/prebuilt/media_profiles.xml:system/etc/media_profiles.xml \
device/semc/msm7x30-common/prebuilt/media_codecs.xml:system/etc/media_codecs.xml \
device/semc/msm7x30-common/prebuilt/audio_policy.conf:system/etc/audio_policy.conf \
device/semc/msm7x30-common/prebuilt/10hostapconf:system/etc/init.d/10hostapconf \
device/semc/msm7x30-common/prebuilt/10dhcpcd:system/etc/init.d/10dhcpcd \
device/semc/msm7x30-common/prebuilt/ueventd.semc.rc:root/ueventd.semc.rc \
device/semc/msm7x30-common/prebuilt/vold.fstab:system/etc/vold.fstab \
device/semc/msm7x30-common/prebuilt/fstab:root/fstab \
device/semc/msm7x30-common/prebuilt/fstab.semc:root/fstab.semc \
device/semc/msm7x30-common/prebuilt/postrecoveryboot.sh:root/sbin/postrecoveryboot.sh
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
audio.primary.msm7x30 \
audio_policy.msm7x30
# Graphics
PRODUCT_PACKAGES += \
gralloc.msm7x30 \
copybit.msm7x30 \
hwcomposer.msm7x30 \
libgenlock \
libtilerenderer \
libmemalloc \
liboverlay
# Hal
PRODUCT_PACKAGES += \
power.semc \
gps.semc \
lights.semc \
camera.semc \
sensors.default
# QCOM OMX
PRODUCT_PACKAGES += \
libstagefrighthw \
libOmxCore \
libOmxVdec \
libOmxVenc \
libmm-omxcore \
libdivxdrmdecrypt
# Misc
PRODUCT_PACKAGES += \
com.android.future.usb.accessory \
LegacyCamera \
Torch
# WiFi
PRODUCT_PACKAGES += \
libnetcmdiface
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
# Common device properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=131072 \
rild.libpath=/system/lib/libril-qc-1.so \
rild.libargs=-d/dev/smd0 \
ro.ril.hsxpa=1 \
ro.ril.gprsclass=10 \
ro.ril.def.agps.mode=2 \
ro.ril.def.agps.feature=1 \
ro.telephony.call_ring.multiple=false \
wifi.supplicant_scan_interval=15 \
keyguard.no_require_sim=true \
ro.com.google.locationfeatures=1 \
ro.product.locale.language=en \
ro.product.locale.region=US \
persist.ro.ril.sms_sync_sending=1 \
ro.use_data_netmgrd=true \
ro.tethering.kb_disconnect=1 \
com.qc.hardware=true \
debug.sf.hw=1 \
debug.composition.type=gpu \
hwui.render_dirty_regions=false \
hwui.disable_vsync=true \
debug.mdpcomp.logs=0 \
BUILD_UTC_DATE=0 \
persist.sys.usb.config=mass_storage \
debug.camcorder.disablemeta=1 \
ro.debuggable=1 \
persist.sys.strictmode.visual=0 \
persist.sys.strictmode.disable=1