-
Notifications
You must be signed in to change notification settings - Fork 9
/
msm8x60-common.mk
executable file
·365 lines (296 loc) · 8.31 KB
/
msm8x60-common.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
#
# Copyright (C) 2012 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.
#
#----------------------------------------------------------------------
# Below projects/packages with LOCAL_MODULEs will be used by
# PRODUCT_PACKAGES to build LOCAL_MODULEs that are tagged with
# optional tag, which will not be available on target unless
# explicitly list here. Where project corresponds to the vars here
# in CAPs.
#ANGLE
PRODUCT_PACKAGES += libangle
#AUDIO_HARDWARE
PRODUCT_PACKAGES += \
audio.primary.default \
audio.a2dp.default \
audio.usb.default \
audio.r_submix.default
#AUDIO_POLICY
PRODUCT_PACKAGES += \
audio_policy.default \
audio_policy.conf
#AMPLOADER
PRODUCT_PACKAGES += amploader
#APPS
PRODUCT_PACKAGES += \
QualcommSoftAP \
TSCalibration
#BSON
PRODUCT_PACKAGES += libbson
#BT
PRODUCT_PACKAGES += \
javax.btobex \
libattrib_static \
hcidump.sh
#C2DColorConvert
PRODUCT_PACKAGES += libc2dcolorconvert
#CONNECTIVITY
PRODUCT_PACKAGES += \
libcnefeatureconfig \
services-ext
#CURL
PRODUCT_PACKAGES += \
libcurl \
curl
#DASH
PRODUCT_PACKAGES += \
libdashplayer \
qcmediaplayer
#E2FSPROGS
PRODUCT_PACKAGES += e2fsck
#FM
PRODUCT_PACKAGES += \
qcom.fmradio \
libqcomfm_jni
#GPS
PRODUCT_PACKAGES += \
gps.conf \
gps.default \
gps.mahimahi \
libloc_adapter \
libgps.utils \
libloc_eng \
libloc_api_v02
#HDMID
PRODUCT_PACKAGES += hdmid
#HOSTAPD
PRODUCT_PACKAGES += \
hostapd \
hostapd_cli \
nt_password_hash \
hlr_auc_gw \
test-milenage \
hostapd.conf \
hostapd_default.conf \
hostapd.deny \
hostapd.accept
#INIT
PRODUCT_PACKAGES += \
init.qcom.composition_type.sh \
init.target.8x25.sh \
init.qcom.mdm_links.sh \
init.qcom.modem_links.sh \
init.qcom.thermal_conf.sh \
init.qcom.sensor.sh \
init.target.rc \
init.qcom.bt.sh \
init.qcom.btdun.sh \
init.qcom.coex.sh \
init.qcom.fm.sh \
init.qcom.early_boot.sh \
init.qcom.post_boot.sh \
init.qcom.syspart_fixup.sh \
init.qcom.rc \
init.qcom.sdio.sh \
init.qcom.sh \
init.qcom.class_core.sh \
init.qcom.class_main.sh \
init.qcom.wifi.sh \
vold.fstab \
init.qcom.ril.path.sh \
init.qcom.ril.sh \
init.qcom.usb.rc \
init.qcom.usb.sh \
usf_post_boot.sh \
init.qcom.efs.sync.sh \
ueventd.qcom.rc \
init.ath3k.bt.sh \
init.qcom.audio.sh
#IPROUTE2
PRODUCT_PACKAGES += \
ip \
libiprouteutil
#IPTABLES
PRODUCT_PACKAGES += \
libiptc \
libext \
iptables
#KERNEL_TESTS
PRODUCT_PACKAGES += mm-audio-native-test
#KS
PRODUCT_PACKAGES += \
ks \
qcks \
efsks
#LIB_NL
PRODUCT_PACKAGES += libnl_2
#LIB_XML2
PRODUCT_PACKAGES += libxml2
#LIBCAMERA
PRODUCT_PACKAGES += \
libcamera \
libmmcamera_interface \
libmmcamera_interface2 \
libmmjpeg_interface \
mm-qcamera-app
#LIBCOPYBITP
#LIBGESTURES
PRODUCT_PACKAGES += \
libgestures
#LIBGRALLOC
PRODUCT_PACKAGES += \
gralloc.default \
libmemalloc
#LIBLIGHTS
#LIBHWCOMPOSER
#LIBAUDIOPARAM -- Exposing AudioParameter as dynamic library for SRS TruMedia to work
PRODUCT_PACKAGES += libaudioparameter
#LIBAUDIORESAMPLER -- High-quality audio resampler
PRODUCT_PACKAGES += libaudio-resampler
#LIBOPENCOREHW
PRODUCT_PACKAGES += libopencorehw
#LIBOVERLAY
PRODUCT_PACKAGES += \
liboverlay \
overlay.default
#LIBGENLOCK
PRODUCT_PACKAGES += libgenlock
#LIBPERFLOCK
PRODUCT_PACKAGES += org.codeaurora.Performance
#LIBQCOMUI
#PRODUCT_PACKAGES += libQcomUI
#LIBQDUTILS
PRODUCT_PACKAGES += libqdutils
#LIBQDMETADATA
PRODUCT_PACKAGES += libqdMetaData
#LIBPOWER (CM don't used QCOM power)
#PRODUCT_PACKAGES += power.qcom
#LOC_API
PRODUCT_PACKAGES += libloc_api-rpc-qc
#MEDIA_PROFILES
PRODUCT_PACKAGES += media_profiles.xml
#MM_AUDIO
PRODUCT_PACKAGES += \
libOmxAacDec \
libOmxAacEnc \
libOmxAmrEnc \
libOmxEvrcEnc \
libOmxMp3Dec \
libOmxQcelp13Enc \
libOmxAc3HwDec
#MM_CORE
PRODUCT_PACKAGES += \
libmm-omxcore \
libOmxCore
#MM_VIDEO
PRODUCT_PACKAGES += \
libdivxdrmdecrypt \
liblasic \
libOmxVdec \
libOmxVenc \
libOmxVidEnc \
libstagefrighthw
#PPP
PRODUCT_PACKAGES += ip-up-vpn
#PVOMX
PRODUCT_PACKAGES += \
libqcomm_omx \
01_qcomm_omx
#SOFTAP
PRODUCT_PACKAGES += \
libQWiFiSoftApCfg \
libqsap_sdk
#STK
PRODUCT_PACKAGES += Stk
#TSLIB_EXTERNAL
PRODUCT_PACKAGES += \
corgi \
dejitter \
inputraw \
linear \
variance \
pthres \
libtslib \
tsprint \
tstest \
tsutils \
tscalib \
ts
#QRGND
PRODUCT_PACKAGES += \
qrngd \
qrngtest
#WPA
PRODUCT_PACKAGES += wpa_supplicant.conf
#ZLIB
PRODUCT_PACKAGES += \
gzip \
minigzip \
libunz
#Charger (Refactor to platform repo)
#PRODUCT_PACKAGES += charger charger_res_images
#VT_JNI
#PRODUCT_PACKAGES += libvt_jni
#CRDA
PRODUCT_PACKAGES += \
crda \
regdbdump \
regulatory.bin \
linville.key.pub.pem \
init.crda.sh
#WLAN
PRODUCT_PACKAGES += prima_wlan.ko
# Live Wallpapers
PRODUCT_PACKAGES += \
LiveWallpapers \
LiveWallpapersPicker \
VisualizationWallpapers \
librs_jni
# Filesystem management tools
PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs
# Flatland
PRODUCT_PACKAGES += flatland
#----------------------------------------------------------------------
# Permissions
PRODUCT_COPY_FILES += \
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.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.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.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.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.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml
# Postrecoveryboot
PRODUCT_COPY_FILES += \
device/pantech/msm8x60-common/recovery/postrecoveryboot.sh:recovery/root/sbin/postrecoveryboot.sh \
device/pantech/msm8x60-common/recovery/postrecoveryboot.sh:recovery/system/bin/postrecoveryboot.sh
#----------------------------------------------------------------------
# enable overlays to use our version of
# source/resources etc.
DEVICE_PACKAGE_OVERLAYS += device/pantech/msm8x60-common/overlay
# Propertys spacific for this device
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=/system/lib/libqc-opt.so
#----------------------------------------------------------------------
$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)