-
Notifications
You must be signed in to change notification settings - Fork 12
/
msm8909.mk
executable file
·346 lines (293 loc) · 13.8 KB
/
msm8909.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
DEVICE_PACKAGE_OVERLAYS := $(LOCAL_PATH)/overlay
TARGET_USES_QCOM_BSP := true
ifeq ($(TARGET_USES_QCOM_BSP), true)
# Add QC Video Enhancements flag
TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
endif #TARGET_USES_QCOM_BSP
#Audio
PRODUCT_COPY_FILES += \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml
PRODUCT_PACKAGES += \
libaudioroute \
libtinyxml \
audio.a2dp.default \
audio.primary.msm8909 \
audio.r_submix.default \
audio.usb.default
PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.disable=1
#Camera
PRODUCT_PACKAGES += \
camera.msm8909 \
libcamera \
libqomx_core \
libmm-qcamera \
libmmcamera_interface \
libmmjpeg_interface \
mm-qcamera-app
#Display
PRODUCT_PACKAGES += \
hwcomposer.msm8909 \
gralloc.msm8909 \
memtrack.msm8909 \
copybit.msm8909
# etc
PRODUCT_PACKAGES += \
init.qcom.audio.sh \
init.qcom.bt.sh \
init.qcom.coex.sh \
init.qcom.debug.sh \
init.qcom.efs.sync.sh \
init.qcom.fm.sh \
init.qcom.modem_links.sh \
init.qcom.post_boot.sh \
init.qcom.sdio.sh \
init.qcom.uicc.sh \
init.qcom.wifi.sh \
init.qcom.zram.sh \
init.qti.ims.sh \
init.qti.synaptics_dsx_qhd.sh
# GPS
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf
PRODUCT_PROPERTY_OVERRIDES += \
persist.gps.qc_nlp_in_use=1 \
persist.loc.nlp_name=com.qualcomm.location \
ro.gps.agps_provider=1
# Init
PRODUCT_PACKAGES += \
fstab.qcom \
init.carrier.rc \
init.class_main.sh \
init.mdm.sh \
init.qcom.bms.sh \
init.qcom.class_core.sh \
init.qcom.factory.rc \
init.qcom.rc \
init.qcom.serialno.sh \
init.qcom.sh \
init.qcom.usb.rc \
init.target.rc \
ueventd.qcom.rc
# Media
PRODUCT_PACKAGES += \
libstagefrighthw \
libc2dcolorconvert \
libOmxAacEnc \
libOmxAmrEnc \
libOmxCore \
libOmxEvrcEnc \
libOmxQcelp13Enc \
libOmxVdec \
libOmxVenc
PRODUCT_BOOT_JARS += \
libstagefrighthw
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.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.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.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.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.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.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.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.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml
PRODUCT_PACKAGES += \
libxml2
#QTIC flag
-include $(QCPATH)/common/config/qtic-config.mk
# media_profiles and media_codecs xmls for msm8909
ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS), true)
PRODUCT_COPY_FILES += $(LOCAL_PATH)/media/media_profiles_8909.xml:system/etc/media_profiles.xml \
$(LOCAL_PATH)/media/media_codecs_8909.xml:system/etc/media_codecs.xml \
$(LOCAL_PATH)/media/media_codecs_performance_8909.xml:system/etc/media_codecs_performance.xml
endif
$(call inherit-product, frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk)
#PRODUCT_PROPERTY_OVERRIDES += \
# dalvik.vm.heapgrowthlimit=128m \
# dalvik.vm.heapminfree=6m
#$(call inherit-product, device/qcom/common/common.mk)
ifeq ($(strip $(TARGET_USES_QTIC)),true)
# font rendering engine feature switch
-include $(QCPATH)/common/config/rendering-engine.mk
ifneq (,$(strip $(wildcard $(PRODUCT_RENDERING_ENGINE_REVLIB))))
MULTI_LANG_ENGINE := REVERIE
# MULTI_LANG_ZAWGYI := REVERIE
endif
endif
#Android EGL implementation
PRODUCT_PACKAGES += libGLES_android
# Audio configuration file
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_PATH)/audio_effects.conf:system/vendor/etc/audio_effects.conf \
$(LOCAL_PATH)/mixer_paths_qrd_skuh.xml:system/etc/mixer_paths_qrd_skuh.xml \
$(LOCAL_PATH)/mixer_paths_qrd_skui.xml:system/etc/mixer_paths_qrd_skui.xml \
$(LOCAL_PATH)/mixer_paths.xml:system/etc/mixer_paths.xml \
$(LOCAL_PATH)/mixer_paths_msm8909_pm8916.xml:system/etc/mixer_paths_msm8909_pm8916.xml \
$(LOCAL_PATH)/mixer_paths_wcd9326_i2s.xml:system/etc/mixer_paths_wcd9326_i2s.xml \
$(LOCAL_PATH)/mixer_paths_skua.xml:system/etc/mixer_paths_skua.xml \
$(LOCAL_PATH)/mixer_paths_skuc.xml:system/etc/mixer_paths_skuc.xml \
$(LOCAL_PATH)/mixer_paths_skue.xml:system/etc/mixer_paths_skue.xml \
$(LOCAL_PATH)/mixer_paths_qrd_skut.xml:system/etc/mixer_paths_qrd_skut.xml \
$(LOCAL_PATH)/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \
$(LOCAL_PATH)/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml \
$(LOCAL_PATH)/audio_platform_info.xml:system/etc/audio_platform_info.xml
PRODUCT_BOOT_JARS += qcom.fmradio \
PRODUCT_BOOT_JARS += tcmiface
PRODUCT_BOOT_JARS += qcmediaplayer
ifneq ($(strip $(QCPATH)),)
PRODUCT_BOOT_JARS += oem-services
PRODUCT_BOOT_JARS += com.qti.dpmframework
PRODUCT_BOOT_JARS += dpmapi
PRODUCT_BOOT_JARS += com.qti.location.sdk
endif
# Listen configuration file
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/listen_platform_info.xml:system/etc/listen_platform_info.xml
# Feature definition files for msm8909
PRODUCT_COPY_FILES += \
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.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.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.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml
#fstab.qcom
#Added by zhaohupeng to add msic\ssd\devinfo\config SW00184621 2016-02-22 begin
PRODUCT_PACKAGES += fstab.qcom \
misc.bin \
ssd.bin \
devinfo.bin \
config.img
#Added by zhaohupeng to add msic\ssd\devinfo\config SW00184621 2016-02-22 end
#add sparse tools by baiyongjie 20131013
PRODUCT_PACKAGES += \
rawprogram0.xml \
checksparse.py
#added by zhangjie to add runtimetest and factorykit code from 650X (650X) for SW00183738 SW00183729 2016-01-29 begin
#added by zhangjie to add RawDataTest for (A650X_M) SW00185238 2016-03-02 begin
PRODUCT_PACKAGES += \
RuntimeTest \
FactoryKit \
EngineeringMode \
RawDataTest
#added by zhangjie to add RawDataTest for (A650X_M) SW00185238 2016-03-02 end
#added by zhangjie to add runtimetest and factorykit code from 650X (650X) for SW00183738 SW00183729 2016-01-29 end
# Added by wangjunbo to add YepSetProp SW00183378 2016-02-18 begin
PRODUCT_PACKAGES += YepSetProp
# Added by wangjunbo to add YepSetProp SW00183378 2016-02-18 end
# Added by chaofubang to add audio audio test SW00188625 20160617 start
PRODUCT_PACKAGES += audiotest
# Added by chaofubang to add audio audio test SW00188625 20160617 end
PRODUCT_PACKAGES += \
libqcomvisualizer \
libqcompostprocbundle \
libqcomvoiceprocessing
#OEM Services library
PRODUCT_PACKAGES += oem-services
PRODUCT_PACKAGES += libsubsystem_control
PRODUCT_PACKAGES += libSubSystemShutdown
PRODUCT_PACKAGES += wcnss_service
#/* Modified by rentianzhi add AP diag module SW00183351 2016-01-28 begin */
PRODUCT_PACKAGES += hwdiag
#/* Modified by rentianzhi add AP diag module SW00183351 2016-01-28 end */
#wlan driver
#/* Modified by rentianzhi Add R/W WLAN MAC for diag module 2016-02-03 begin */
#/*Deleted by yujunfeng moved WCNSS_qcom_cfg.ini to product_config_xxx 2016-04-28 begin*/
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/WCNSS_wlan_dictionary.dat:persist/WCNSS_wlan_dictionary.dat \
$(LOCAL_PATH)/wlan_mac.bin:persist/wlan_mac.bin \
$(LOCAL_PATH)/WCNSS_qcom_wlan_nv.bin:system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
#/*Deleted by yujunfeng moved WCNSS_qcom_cfg.ini to product_config_xxx 2016-04-27 end*/
#/* Modified by rentianzhi Add R/W WLAN MAC for diag module 2016-02-03 end */
# Added by wangjunbo for factory current test (A6505) SW00188623 2016-06-17 begin
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init.currenttest.timeout.sh:system/etc/init.currenttest.timeout.sh
# Added by wangjunbo for factory current test (A6505) SW00188623 2016-06-17 end
PRODUCT_PACKAGES += \
libwifi-hal-qcom
PRODUCT_PACKAGES += \
hostapd \
libwpa_client \
wpa_supplicant \
wpa_supplicant.conf
PRODUCT_PACKAGES += \
wpa_supplicant_overlay.conf \
p2p_supplicant_overlay.conf
# MIDI feature
#/*Deleted by shenxinyu for cts android.software.midi 2016-05-25 begin*/
#PRODUCT_COPY_FILES += \
# frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml
#/*Deleted by shenxinyu for cts android.software.midi 2016-05-25 end*/
#ANT+ stack
PRODUCT_PACKAGES += \
AntHalService \
libantradio \
antradio_app
# Defined the locales
#Modified by liqiang for launage list (A650X) SW00188549 20160627 begin
#Modified by liqiang for add en_za (A650X) A6501M-2875 20160801 begin
PRODUCT_LOCALES := zh_CN en_US en_AU en_IN en_ZA fr_FR it_IT es_ES et_EE de_DE nl_NL cs_CZ pl_PL ja_JP zh_TW zh_HK ru_RU ko_KR nb_NO es_US da_DK el_GR tr_TR pt_PT pt_BR rm_CH sv_SE bg_BG ca_ES en_GB fi_FI hi_IN hr_HR hu_HU in_ID iw_IL lt_LT lv_LV ro_RO sk_SK sl_SI sr_RS uk_UA vi_VN tl_PH ar_EG fa_IR th_TH sw_TZ ms_MY af_ZA zu_ZA am_ET hi_IN en_XA ar_XB fr_CA km_KH lo_LA ne_NP mn_MN hy_AM az_AZ ka_GE my_MM mr_IN ml_IN is_IS mk_MK ky_KG eu_ES gl_ES bn_BD ta_IN kn_IN te_IN uz_UZ ur_PK kk_KZ en_NZ en_SG nl_BE en_CA en_IE fr_BE fr_CH de_LI de_AT de_CH it_CH bn_IN my_MM be_BY uz_UZ am_ET ar_IL
#Modified by liqiang for add en_za (A650X) A6501M-2875 20160801 end
#Modified by liqiang for launage list (A650X) SW00188549 20160627 end
# mayingda 2016.05.20 modified to del Android_M res-overlay , 650X, SW00187993 , begin
# Add the overlay path
PRODUCT_PACKAGE_OVERLAYS := $(QCPATH)/qrdplus/Extension/res-overlay \
$(PRODUCT_PACKAGE_OVERLAYS)
# mayingda 2016.05.20 modified to del Android_M res-overlay , 650X, SW00187993 , end
#add by zhaohupeng for include product_config for A650x 2016-02-04 begin
ifeq ($(findstring AR6500,$(YEP_PRODUCT_NAME)),AR6500)
include product_config_A6500/product_config.mk
endif
ifeq ($(findstring AR6501,$(YEP_PRODUCT_NAME)),AR6501)
include product_config_A6501/product_config.mk
endif
ifeq ($(findstring AR6502,$(YEP_PRODUCT_NAME)),AR6502)
include product_config_A6502/product_config.mk
endif
ifeq ($(findstring AR6505,$(YEP_PRODUCT_NAME)),AR6505)
include product_config_A6505/product_config.mk
endif
#add by zhaohupeng for include product_config for A650x 2016-02-04 end
# <A650X-m zhaohupeng 2016-2-18 begin
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.strictmode.visual=0 \
persist.sys.strictmode.disable=1
# A650X-m zhaohupeng 2016-2-18 end >
# Sensor HAL conf file
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/sensors/hals.conf:system/etc/sensors/hals.conf
#add by shenxinyu for update ISO for A6505 SW00189102 2016-07-25 begin
ifeq ($(YEP_PRODUCT_NAME),AR6505)
PRODUCT_COPY_FILES += $(LOCAL_PATH)/YEPAUTOINST_ARH_ROW.ISO:system/etc/YEPAUTOINST.ISO
else
ifeq ($(findstring PRC,$(PRODUCT_EXTERNAL_VERSION)),PRC)
PRODUCT_COPY_FILES += $(LOCAL_PATH)/YEPAUTOINST_PRC.ISO:system/etc/YEPAUTOINST.ISO
else
PRODUCT_COPY_FILES += $(LOCAL_PATH)/YEPAUTOINST_ROW.ISO:system/etc/YEPAUTOINST.ISO
endif
endif
#add by shenxinyu for update ISO for A6505 SW00189102 2016-07-25 end
#add by wangqi for SW00188085 to add tptest begin
#PRODUCT_COPY_FILES += packages/yepapp/YepFactoryKit/assets/Conf_MultipleTest.ini:system/etc/Conf_MultipleTest.ini
#add by wangqi for SW00188085 to add tptest end
#Add by tansen for Widevine fuction 20160408 SW00186672 begin
#include vendor/qcom/proprietary/widevine/config.mk
#Add by tansen for Widevine fuction 20160408 SW00186672 end
#Add by wangtianyu for country list 20160425 SW00146745 begin
PRODUCT_PACKAGES += \
CountryList
#Add by wangtianyu for country list 20160425 SW00146745 end
#Add by wangtianyu for country list 20160425 SW00183743 begin
PRODUCT_PACKAGES += \
setproperties
#Add by wangtianyu for country list 20160425 SW00183743 end
$(call inherit-product-if-exists, vendor/lenovo/x103f/x103f-vendor.mk)