1# Board platforms lists to be used for
2# TARGET_BOARD_PLATFORM specific featurization
3QCOM_BOARD_PLATFORMS += msm8974
4QCOM_BOARD_PLATFORMS += msm8610
5QCOM_BOARD_PLATFORMS += msm8226
6QCOM_BOARD_PLATFORMS += apq8084
7QCOM_BOARD_PLATFORMS += mpq8092
8QCOM_BOARD_PLATFORMS += msm_bronze
9QCOM_BOARD_PLATFORMS += msm8916
10QCOM_BOARD_PLATFORMS += msm8916_32
11QCOM_BOARD_PLATFORMS += msm8916_32_512
12QCOM_BOARD_PLATFORMS += msm8916_64
13QCOM_BOARD_PLATFORMS += msm8994
14QCOM_BOARD_PLATFORMS += msm8909
15QCOM_BOARD_PLATFORMS += msm8909_512
16QCOM_BOARD_PLATFORMS += msm8992
17QCOM_BOARD_PLATFORMS += msm8996
18QCOM_BOARD_PLATFORMS += msm8952
19QCOM_BOARD_PLATFORMS += msm8937
20QCOM_BOARD_PLATFORMS += titanium
21QCOM_BOARD_PLATFORMS += msmcobalt
22
23QSD8K_BOARD_PLATFORMS := qsd8k
24
25TARGET_USE_VENDOR_CAMERA_EXT := true
26
27#List of targets that use video hw
28MSM_VIDC_TARGET_LIST := msm8974 msm8610 msm8226 apq8084 msm8916 msm8994 msm8909 msm8992 msm8996 msm8952 msm8937 titanium msmcobalt
29
30#List of targets that use master side content protection
31MASTER_SIDE_CP_TARGET_LIST := msm8996
32
33# Below projects/packages with LOCAL_MODULEs will be used by
34# PRODUCT_PACKAGES to build LOCAL_MODULEs that are tagged with
35# optional tag, which will not be available on target unless
36# explicitly list here. Where project corresponds to the vars here
37# in CAPs.
38
39#ALSA
40ALSA_HARDWARE := alsa.msm8960
41ALSA_HARDWARE += alsa.msm8974
42ALSA_HARDWARE += alsa.msm8226
43ALSA_HARDWARE += alsa.msm8610
44ALSA_HARDWARE += alsa.apq8084
45
46ALSA_UCM := snd_soc_msm
47ALSA_UCM += snd_soc_msm_2x
48ALSA_UCM += snd_soc_msm_2x_mpq
49ALSA_UCM += snd_soc_msm_2x_Fusion3
50ALSA_UCM += snd_soc_msm_Sitar
51ALSA_UCM += snd_soc_msm_auxpcm
52ALSA_UCM += snd_soc_msm_2x_auxpcm
53ALSA_UCM += snd_soc_msm_2x_mpq_auxpcm
54ALSA_UCM += snd_soc_msm_2x_Fusion3_auxpcm
55ALSA_UCM += snd_soc_msm_Sitar_auxpcm
56ALSA_UCM += snd_soc_msm_Taiko
57ALSA_UCM += snd_soc_msm_Taiko_CDP
58ALSA_UCM += snd_soc_msm_Taiko_Fluid
59ALSA_UCM += snd_soc_msm_Taiko_liquid
60ALSA_UCM += snd_soc_apq_Taiko_DB
61ALSA_UCM += snd_soc_msm_I2SFusion
62ALSA_UCM += snd_soc_msm_Tapan
63ALSA_UCM += snd_soc_msm_TapanLite
64ALSA_UCM += snd_soc_msm_Tapan_SKUF
65ALSA_UCM += snd_soc_msm_TapanLite_SKUF
66ALSA_UCM += snd_soc_msm_8x10_wcd
67ALSA_UCM += snd_soc_msm_8x10_wcd_skuab
68ALSA_UCM += snd_soc_msm_8x10_wcd_skuaa
69ALSA_UCM += snd_soc_msm_samarium_Tapan
70
71#ANGLE
72ANGLE := libangle
73
74#APPOPS_POLICY
75#APPOPS_POLICY := appops_policy.xml
76
77AUDIO_HARDWARE := audio.primary.mpq8064
78AUDIO_HARDWARE += audio.primary.apq8084
79AUDIO_HARDWARE += audio.primary.msm8960
80AUDIO_HARDWARE += audio.primary.msm8974
81AUDIO_HARDWARE += audio.primary.msm8226
82AUDIO_HARDWARE += audio.primary.msm8660
83AUDIO_HARDWARE += audio.primary.msm8610
84#AUDIO_HARDWARE += audio.primary.msm7627_surf
85AUDIO_HARDWARE += audio.primary.msm7627a
86AUDIO_HARDWARE += audio.primary.msm7630_surf
87AUDIO_HARDWARE += audio.primary.msm7630_fusion
88#AUDIO_HARDWARE += audio.primary.default
89AUDIO_HARDWARE += audio.a2dp.default
90AUDIO_HARDWARE += audio.usb.default
91AUDIO_HARDWARE += audio.r_submix.default
92AUDIO_HARDWARE += audio.primary.mpq8092
93AUDIO_HARDWARE += audio.primary.msm8916
94AUDIO_HARDWARE += audio.primary.msm8909
95AUDIO_HARDWARE += audio.primary.msm8994
96AUDIO_HARDWARE += audio.primary.msm8992
97AUDIO_HARDWARE += audio.primary.msm8996
98AUDIO_HARDWARE += audio.primary.msm8952
99AUDIO_HARDWARE += audio.primary.msm8937
100AUDIO_HARDWARE += audio.primary.thorium
101#
102AUDIO_POLICY := audio_policy.mpq8064
103AUDIO_POLICY += audio_policy.apq8084
104AUDIO_POLICY += audio_policy.msm8960
105AUDIO_POLICY += audio_policy.msm8974
106AUDIO_POLICY += audio_policy.msm8226
107AUDIO_POLICY += audio_policy.msm8660
108AUDIO_POLICY += audio_policy.msm8610
109AUDIO_POLICY += audio_policy.mpq8092
110#AUDIO_POLICY += audio_policy.msm7627_surf
111AUDIO_POLICY += audio_policy.msm7627a
112AUDIO_POLICY += audio_policy.msm7630_surf
113AUDIO_POLICY += audio_policy.msm7630_fusion
114#AUDIO_POLICY += audio_policy.default
115AUDIO_POLICY += audio_policy.conf
116AUDIO_POLICY += audio_policy_8064.conf
117AUDIO_POLICY += audio_policy.msm8916
118AUDIO_POLICY += audio_policy.msm8909
119AUDIO_POLICY += audio_policy.msm8994
120AUDIO_POLICY += audio_policy.msm8992
121AUDIO_POLICY += audio_policy.msm8996
122AUDIO_POLICY += audio_policy.msm8952
123AUDIO_POLICY += audio_policy.msm8937
124AUDIO_POLICY += audio_policy.thorium
125
126#tinyalsa test apps
127TINY_ALSA_TEST_APPS := tinyplay
128TINY_ALSA_TEST_APPS += tinycap
129TINY_ALSA_TEST_APPS += tinymix
130TINY_ALSA_TEST_APPS += tinypcminfo
131TINY_ALSA_TEST_APPS += cplay
132
133#AMPLOADER
134AMPLOADER := amploader
135
136#APPS
137APPS := QualcommSoftAP
138APPS += TSCalibration
139
140#BRCTL
141BRCTL := brctl
142BRTCL += libbridge
143
144#BSON
145BSON := libbson
146
147#BT
148BT := javax.btobex
149BT += libattrib_static
150BT += hcidump.sh
151BT += libbt-vendor
152BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/google/marlin/bluetooth
153
154#C2DColorConvert
155C2DCC := libc2dcolorconvert
156
157CHROMIUM := libwebviewchromium
158CHROMIUM += libwebviewchromium_loader
159CHROMIUM += libwebviewchromium_plat_support
160
161#CIMAX
162CIMAX := libcimax_spi
163
164#CONNECTIVITY
165CONNECTIVITY := libcnefeatureconfig
166CONNECTIVITY += services-ext
167
168#CURL
169CURL := libcurl
170CURL += curl
171
172#DASH
173DASH := libdashplayer
174DASH += libqcmediaplayer
175DASH += qcmediaplayer
176DASH += libextmedia_jni
177
178#EXTENDEDMEDIA_EXT
179EXTENDEDMEDIA_EXT := libextendedmediaextractor
180EXTENDEDMEDIA_EXT += libextendedmediaextractor_jni
181EXTENDEDMEDIA_EXT += extendedmediaextractor
182EXTENDEDMEDIA_EXT += ExtendedMediaPlayer
183
184
185#DATA_OS
186DATA_OS := librmnetctl
187DATA_OS += rmnetcli
188
189#E2FSPROGS
190E2FSPROGS := e2fsck
191
192#EBTABLES
193EBTABLES := ebtables
194EBTABLES += ethertypes
195EBTABLES += libebtc
196
197#FASTPOWERON
198FASTPOWERON := FastBoot
199
200#GPS
201#GPS_HARDWARE := gps.conf
202GPS_HARDWARE := gps.default
203GPS_HARDWARE += libgps.utils
204GPS_HARDWARE += libloc_eng
205GPS_HARDWARE += libloc_api_v02
206GPS_HARDWARE += libloc_ds_api
207
208#HDMID
209HDMID := hdmid
210
211#HOSTAPD
212HOSTAPD := hostapd
213HOSTAPD += hostapd_cli
214
215#I420COLORCONVERT
216I420CC := libI420colorconvert
217
218#INIT
219INIT := init.qcom.composition_type.sh
220INIT += init.target.8x25.sh
221INIT += init.qcom.mdm_links.sh
222INIT += init.qcom.modem_links.sh
223INIT += init.qcom.sensor.sh
224INIT += init.common.rc
225INIT += init.qti.ims.sh
226INIT += hsic.control.bt.sh
227INIT += init.qcom.coex.sh
228INIT += init.qcom.fm.sh
229INIT += init.qcom.early_boot.sh
230INIT += init.qcom.syspart_fixup.sh
231INIT += init.qcom.rc
232INIT += init.qcom.factory.rc
233INIT += init.qcom.sdio.sh
234INIT += init.qcom.wifi.sh
235INIT += vold.fstab
236INIT += init.qcom.ril.path.sh
237INIT += init.qcom.usb.rc
238INIT += init.qcom.efs.sync.sh
239INIT += ueventd.qcom.rc
240INIT += init.ath3k.bt.sh
241INIT += qca6234-service.sh
242INIT += init.qcom.audio.sh
243INIT += ssr_setup
244INIT += enable_swap.sh
245INIT += init.qcom.uicc.sh
246INIT += fstab.common
247INIT += init.qcom.debug.sh
248INIT += charger.fstab.qcom
249
250#IPROUTE2
251IPROUTE2 := ip
252IPROUTE2 += libiprouteutil
253
254#IPACM
255IPACM += ipacm
256IPACM += IPACM_cfg.xml
257
258#IPTABLES
259IPTABLES := libiptc
260IPTABLES += libext
261IPTABLES += iptables
262
263#KERNEL_TESTS
264KERNEL_TESTS := mm-audio-native-test
265
266#KEYPAD
267KEYPAD := ffa-keypad_qwerty.kcm
268KEYPAD += ffa-keypad_numeric.kcm
269KEYPAD += fluid-keypad_qwerty.kcm
270KEYPAD += fluid-keypad_numeric.kcm
271KEYPAD += surf_keypad_qwerty.kcm
272KEYPAD += surf_keypad_numeric.kcm
273KEYPAD += surf_keypad.kcm
274KEYPAD += 7k_ffa_keypad.kcm
275KEYPAD += 7x27a_kp.kcm
276KEYPAD += keypad_8960_qwerty.kcm
277KEYPAD += 7k_ffa_keypad.kl
278KEYPAD += 7k_handset.kl
279KEYPAD += 7x27a_kp.kl
280KEYPAD += 8660_handset.kl
281KEYPAD += atmel_mxt_ts.kl
282KEYPAD += synaptics_rmi4_i2c.kl
283KEYPAD += synaptics_dsx.kl
284KEYPAD += cyttsp-i2c.kl
285KEYPAD += ft5x06_ts.kl
286KEYPAD += ffa-keypad.kl
287KEYPAD += fluid-keypad.kl
288KEYPAD += gpio-keys.kl
289KEYPAD += qpnp_pon.kl
290KEYPAD += keypad_8960.kl
291KEYPAD += keypad_8960_liquid.kl
292KEYPAD += synaptics_rmi4_i2c.kl
293KEYPAD += msm_tma300_ts.kl
294KEYPAD += philips_remote_ir.kl
295KEYPAD += samsung_remote_ir.kl
296KEYPAD += surf_keypad.kl
297KEYPAD += ue_rf4ce_remote.kl
298
299#KS
300KS := ks
301KS += qcks
302KS += efsks
303
304#LIB_NL
305LIB_NL := libnl_2
306
307#LIB_XML2
308LIB_XML2 := libxml2
309
310#LIBCAMERA
311LIBCAMERA := camera.apq8084
312LIBCAMERA += camera.msm8974
313LIBCAMERA += camera.msm8226
314LIBCAMERA += camera.msm8610
315LIBCAMERA += camera.msm8960
316LIBCAMERA += camera.msm8660
317LIBCAMERA += camera.msm7630_surf
318LIBCAMERA += camera.msm7630_fusion
319LIBCAMERA += camera.msm7627a
320LIBCAMERA += camera.msm8916
321LIBCAMERA += camera.msm8994
322LIBCAMERA += camera.msm8992
323LIBCAMERA += camera.msm8996
324LIBCAMERA += camera.msm8952
325LIBCAMERA += camera.msm8937
326LIBCAMERA += libcamera
327LIBCAMERA += libmmcamera_interface
328LIBCAMERA += libmmcamera_interface2
329LIBCAMERA += libmmjpeg_interface
330LIBCAMERA += libmmlib2d_interface
331LIBCAMERA += libqomx_core
332LIBCAMERA += mm-qcamera-app
333LIBCAMERA += camera_test
334LIBCAMERA += org.codeaurora.camera
335
336# Shared by passthrough/binderized camera HAL
337LIBCAMERA += camera.device@3.2-impl
338LIBCAMERA += android.hardware.camera.provider@2.4-impl
339
340# Enable binderized camera HAL
341LIBCAMERA += android.hardware.camera.provider@2.4-service
342
343#LIBCOPYBIT
344LIBCOPYBIT := copybit.msm8660
345LIBCOPYBIT += copybit.msm8960
346LIBCOPYBIT += copybit.msm8974
347LIBCOPYBIT += copybit.msm8226
348LIBCOPYBIT += copybit.msm8610
349LIBCOPYBIT += copybit.msm8909
350LIBCOPYBIT += copybit.msm8916
351LIBCOPYBIT += copybit.msm8994
352LIBCOPYBIT += copybit.msm8992
353LIBCOPYBIT += copybit.apq8084
354LIBCOPYBIT += copybit.msm7k
355LIBCOPYBIT += copybit.qsd8k
356LIBCOPYBIT += copybit.msm7630_surf
357LIBCOPYBIT += copybit.msm7630_fusion
358LIBCOPYBIT += copybit.msm7627_surf
359LIBCOPYBIT += copybit.msm7627_6x
360LIBCOPYBIT += copybit.msm7627a
361LIBCOPYBIT += copybit.msm8996
362LIBCOPYBIT += copybit.msm8952
363LIBCOPYBIT += copybit.msm8937
364
365#LIBGESTURES
366LIBGESTURES := libgestures
367LIBGESTURES += gestures.msm8960
368
369#LIBGRALLOC
370LIBGRALLOC := gralloc.default
371LIBGRALLOC += gralloc.msm8660
372LIBGRALLOC += gralloc.msm8960
373LIBGRALLOC += gralloc.msm8974
374LIBGRALLOC += gralloc.msm8226
375LIBGRALLOC += gralloc.msm8610
376LIBGRALLOC += gralloc.msm8909
377LIBGRALLOC += gralloc.msm8916
378LIBGRALLOC += gralloc.msm8994
379LIBGRALLOC += gralloc.msm8992
380LIBGRALLOC += gralloc.apq8084
381LIBGRALLOC += gralloc.mpq8092
382LIBGRALLOC += gralloc.msm7k
383LIBGRALLOC += gralloc.msm7630_surf
384LIBGRALLOC += gralloc.msm7630_fusion
385LIBGRALLOC += gralloc.msm7627_surf
386LIBGRALLOC += gralloc.msm7627_6x
387LIBGRALLOC += gralloc.msm7627a
388LIBGRALLOC += gralloc.msm8996
389LIBGRALLOC += gralloc.msm8952
390LIBGRALLOC += gralloc.msm8937
391LIBGRALLOC += libmemalloc
392
393#memtrack
394LIBMEMTRACK := memtrack.default
395LIBMEMTRACK += memtrack.msm8974
396LIBMEMTRACK += memtrack.msm8226
397LIBMEMTRACK += memtrack.msm8909
398LIBMEMTRACK += memtrack.msm8916
399LIBMEMTRACK += memtrack.msm8994
400LIBMEMTRACK += memtrack.msm8610
401LIBMEMTRACK += memtrack.apq8084
402LIBMEMTRACK += memtrack.mpq8092
403LIBMEMTRACK += memtrack.msm8996
404LIBMEMTRACK += memtrack.msm8952
405LIBMEMTRACK += memtrack.msm8937
406LIBMEMTRACK += android.hardware.memtrack@1.0-impl
407
408#LIBLIGHTS
409LIBLIGHTS := lights.msm8660
410LIBLIGHTS += lights.msm8960
411LIBLIGHTS += lights.msm8974
412LIBLIGHTS += lights.msm8226
413LIBLIGHTS += lights.msm8909
414LIBLIGHTS += lights.msm8916
415LIBLIGHTS += lights.msm8994
416LIBLIGHTS += lights.msm8992
417LIBLIGHTS += lights.msm7k
418LIBLIGHTS += lights.msm7630_surf
419LIBLIGHTS += lights.msm7630_fusion
420LIBLIGHTS += lights.msm7627_surf
421LIBLIGHTS += lights.msm7627_6x
422LIBLIGHTS += lights.msm7627a
423LIBLIGHTS += lights.msm8610
424LIBLIGHTS += lights.apq8084
425LIBLIGHTS += lights.msm8996
426LIBLIGHTS += lights.msm8952
427LIBLIGHTS += lights.msm8937
428
429#LIBHWCOMPOSER
430LIBHWCOMPOSER := hwcomposer.msm8660
431LIBHWCOMPOSER += hwcomposer.msm8960
432LIBHWCOMPOSER += hwcomposer.msm8974
433LIBHWCOMPOSER += hwcomposer.msm8226
434LIBHWCOMPOSER += hwcomposer.msm8610
435LIBHWCOMPOSER += hwcomposer.msm8909
436LIBHWCOMPOSER += hwcomposer.msm8916
437LIBHWCOMPOSER += hwcomposer.msm8994
438LIBHWCOMPOSER += hwcomposer.msm8992
439LIBHWCOMPOSER += hwcomposer.apq8084
440LIBHWCOMPOSER += hwcomposer.mpq8092
441LIBHWCOMPOSER += hwcomposer.msm7k
442LIBHWCOMPOSER += hwcomposer.msm7630_surf
443LIBHWCOMPOSER += hwcomposer.msm7630_fusion
444LIBHWCOMPOSER += hwcomposer.msm7627_surf
445LIBHWCOMPOSER += hwcomposer.msm7627_6x
446LIBHWCOMPOSER += hwcomposer.msm7627a
447LIBHWCOMPOSER += hwcomposer.msm8996
448LIBHWCOMPOSER += hwcomposer.msm8952
449LIBHWCOMPOSER += hwcomposer.msm8937
450
451#LIBAUDIOPARAM -- Exposing AudioParameter as dynamic library for SRS TruMedia to work
452LIBAUDIOPARAM := libaudioparameter
453
454#LIBAUDIORESAMPLER -- High-quality audio resampler
455LIBAUDIORESAMPLER := libaudio-resampler
456
457#LIBOPENCOREHW
458LIBOPENCOREHW := libopencorehw
459
460#LIBOVERLAY
461LIBOVERLAY := liboverlay
462LIBOVERLAY += overlay.default
463
464#LIBGENLOCK
465LIBGENLOCK := libgenlock
466
467#LIBPERFLOCK
468LIBPERFLOCK := org.codeaurora.Performance
469
470#LIBQCOMUI
471LIBQCOMUI := libQcomUI
472
473#LIBQDUTILS
474LIBQDUTILS := libqdutils
475
476#LIBQDMETADATA
477LIBQDMETADATA := libqdMetaData
478
479#LIBPOWER
480LIBPOWER := power.marlin
481LIBPOWER += android.hardware.power@1.0-impl
482
483#LLVM for RenderScript
484#use qcom LLVM
485$(call inherit-product-if-exists, external/llvm/llvm-select.mk)
486
487#LOC_API
488LOC_API := libloc_api-rpc-qc
489
490#MEDIA_PROFILES
491MEDIA_PROFILES := media_profiles.xml
492
493#MM_AUDIO
494MM_AUDIO := libOmxAacDec
495MM_AUDIO += libOmxAacEnc
496MM_AUDIO += libOmxAmrEnc
497MM_AUDIO += libOmxEvrcEnc
498MM_AUDIO += libOmxMp3Dec
499MM_AUDIO += libOmxQcelp13Enc
500MM_AUDIO += libOmxAc3HwDec
501MM_AUDIO += libstagefright_soft_flacdec
502
503#MM_CORE
504MM_CORE := libmm-omxcore
505MM_CORE += libOmxCore
506
507#MM_VIDEO
508MM_VIDEO := ast-mm-vdec-omx-test
509MM_VIDEO += liblasic
510MM_VIDEO += libOmxVdec
511MM_VIDEO += libOmxVdecHevc
512MM_VIDEO += libOmxVdpp
513MM_VIDEO += libOmxVenc
514MM_VIDEO += libOmxVidEnc
515MM_VIDEO += libOmxSwVdec
516MM_VIDEO += libOmxSwVencMpeg4
517MM_VIDEO += libstagefrighthw
518MM_VIDEO += mm-vdec-omx-property-mgr
519MM_VIDEO += mm-vdec-omx-test
520MM_VIDEO += mm-venc-omx-test
521MM_VIDEO += mm-venc-omx-test720p
522MM_VIDEO += mm-video-driver-test
523MM_VIDEO += mm-video-encdrv-test
524MM_VIDEO += ExoplayerDemo
525
526#OPENCORE
527OPENCORE := libomx_aacdec_sharedlibrary
528OPENCORE += libomx_amrdec_sharedlibrary
529OPENCORE += libomx_amrenc_sharedlibrary
530OPENCORE += libomx_avcdec_sharedlibrary
531OPENCORE += libomx_m4vdec_sharedlibrary
532OPENCORE += libomx_mp3dec_sharedlibrary
533OPENCORE += libomx_sharedlibrary
534OPENCORE += libopencore_author
535OPENCORE += libopencore_common
536OPENCORE += libopencore_download
537OPENCORE += libopencore_downloadreg
538OPENCORE += libopencore_mp4local
539OPENCORE += libopencore_mp4localreg
540OPENCORE += libopencore_net_support
541OPENCORE += libopencore_player
542OPENCORE += libopencore_rtsp
543OPENCORE += libopencore_rtspreg
544OPENCORE += libpvdecoder_gsmamr
545OPENCORE += libpvplayer_engine
546OPENCORE += libpvamrwbdecoder
547OPENCORE += libpvauthorengine
548OPENCORE += libomx_amr_component_lib
549OPENCORE += pvplayer
550OPENCORE += pvplayer_engine_test
551
552#PPP
553PPP := ip-up-vpn
554
555#PVOMX
556PVOMX := libqcomm_omx
557PVOMX += 01_qcomm_omx
558
559#RF4CE
560RF4CE := RemoTI_RNP.cfg
561RF4CE += rf4ce
562
563#SENSORS_HARDWARE
564SENSORS_HARDWARE := sensors.msm7630_surf
565SENSORS_HARDWARE += sensors.msm7630_fusion
566
567#SOFTAP
568SOFTAP := libQWiFiSoftApCfg
569SOFTAP += libqsap_sdk
570
571#STK
572STK := Stk
573
574#STM LOG
575STMLOG := libstm-log
576
577#TSLIB_EXTERNAL
578TSLIB_EXTERNAL := corgi
579TSLIB_EXTERNAL += dejitter
580TSLIB_EXTERNAL += inputraw
581TSLIB_EXTERNAL += linear
582TSLIB_EXTERNAL += variance
583TSLIB_EXTERNAL += pthres
584TSLIB_EXTERNAL += libtslib
585TSLIB_EXTERNAL += tsprint
586TSLIB_EXTERNAL += tstest
587TSLIB_EXTERNAL += tsutils
588TSLIB_EXTERNAL += tscalib
589TSLIB_EXTERNAL += ts
590
591#QRGND
592QRGND := qrngd
593QRGND += qrngp
594QRGND += qrngtest
595
596#WPA
597WPA := wpa_supplicant.conf
598WPA += wpa_supplicant_wcn.conf
599WPA += wpa_supplicant_ath6kl.conf
600WPA += wpa_supplicant
601WPA += hs20-osu-client
602
603#ZLIB
604ZLIB := gzip
605ZLIB += minigzip
606ZLIB += libunz
607
608#Charger
609CHARGER := charger
610CHARGER += charger_res_images
611
612#VT_JNI
613VT_JNI := libvt_jni
614
615# VT QTI Permissions
616VT_QTI_PERMISSIONS := qti_permissions.xml
617
618#IMS SETTINGS
619IMS_SETTINGS := imssettings
620
621#IMS Extension module for Android Telephony
622IMS_EXT := ims-ext-common
623
624#CRDA
625CRDA := crda
626CRDA += regdbdump
627CRDA += regulatory.bin
628CRDA += linville.key.pub.pem
629CRDA += init.crda.sh
630
631#WLAN
632WLAN := prima_wlan.ko
633WLAN += pronto_wlan.ko
634WLAN += qca_cld_wlan.ko
635
636#FSTMAN
637FSTMAN := fstman
638FSTMAN += fstman.ini
639
640PRODUCT_PACKAGES := \
641    AccountAndSyncSettings \
642    DeskClock \
643    AlarmProvider \
644    Bluetooth \
645    Calendar \
646    Camera \
647    CellBroadcastReceiver \
648    CertInstaller \
649    DrmProvider \
650    Email \
651	ExactCalculator \
652    Gallery2 \
653    LatinIME \
654    Mms \
655    Music \
656    Phone \
657    Provision \
658    QuickSearchBox \
659    Settings \
660    Sync \
661    SystemUI \
662    Updater \
663    CalendarProvider \
664    SyncProvider \
665    VoiceDialer \
666    VideoEditor
667
668
669ifneq ($(TARGET_USES_AOSP),true)
670PRODUCT_PACKAGES += \
671       BluetoothExt \
672       BTTestApp \
673       HiddTestApp \
674       BTLogKit \
675       a4wpservice \
676       BTLogSave \
677       wipowerservice
678endif
679
680PRODUCT_PACKAGES += $(ALSA_HARDWARE)
681PRODUCT_PACKAGES += $(ALSA_UCM)
682PRODUCT_PACKAGES += $(ANGLE)
683#PRODUCT_PACKAGES += $(APPOPS_POLICY)
684PRODUCT_PACKAGES += $(AUDIO_HARDWARE)
685PRODUCT_PACKAGES += $(AUDIO_POLICY)
686PRODUCT_PACKAGES += $(TINY_ALSA_TEST_APPS)
687PRODUCT_PACKAGES += $(AMPLOADER)
688PRODUCT_PACKAGES += $(APPS)
689PRODUCT_PACKAGES += $(BRCTL)
690PRODUCT_PACKAGES += $(BSON)
691PRODUCT_PACKAGES += $(BT)
692PRODUCT_PACKAGES += $(C2DCC)
693PRODUCT_PACKAGES += $(CHROMIUM)
694PRODUCT_PACKAGES += $(CIMAX)
695PRODUCT_PACKAGES += $(CONNECTIVITY)
696PRODUCT_PACKAGES += $(CHARGER)
697PRODUCT_PACKAGES += $(CURL)
698PRODUCT_PACKAGES += $(DASH)
699PRODUCT_PACKAGES += $(DATA_OS)
700PRODUCT_PACKAGES += $(E2FSPROGS)
701PRODUCT_PACKAGES += $(EBTABLES)
702PRODUCT_PACKAGES += $(EXTENDEDMEDIA_EXT)
703PRODUCT_PACKAGES += $(FASTPOWERON)
704PRODUCT_PACKAGES += $(FM)
705PRODUCT_PACKAGES += $(GPS_HARDWARE)
706PRODUCT_PACKAGES += $(HDMID)
707PRODUCT_PACKAGES += $(HOSTAPD)
708PRODUCT_PACKAGES += $(I420CC)
709PRODUCT_PACKAGES += $(INIT)
710PRODUCT_PACKAGES += $(IPROUTE2)
711PRODUCT_PACKAGES += $(IPTABLES)
712PRODUCT_PACKAGES += $(KERNEL_TESTS)
713PRODUCT_PACKAGES += $(KEYPAD)
714PRODUCT_PACKAGES += $(KS)
715PRODUCT_PACKAGES += $(LIB_NL)
716PRODUCT_PACKAGES += $(LIB_XML2)
717PRODUCT_PACKAGES += $(LIBCAMERA)
718PRODUCT_PACKAGES += $(LIBGESTURES)
719PRODUCT_PACKAGES += $(LIBCOPYBIT)
720PRODUCT_PACKAGES += $(LIBGRALLOC)
721PRODUCT_PACKAGES += $(LIBMEMTRACK)
722PRODUCT_PACKAGES += $(LIBLIGHTS)
723PRODUCT_PACKAGES += $(LIBAUDIOPARAM)
724PRODUCT_PACKAGES += $(LIBAUDIORESAMPLER)
725PRODUCT_PACKAGES += $(LIBOPENCOREHW)
726PRODUCT_PACKAGES += $(LIBOVERLAY)
727PRODUCT_PACKAGES += $(LIBHWCOMPOSER)
728PRODUCT_PACKAGES += $(LIBGENLOCK)
729PRODUCT_PACKAGES += $(LIBPERFLOCK)
730PRODUCT_PACKAGES += $(LIBQCOMUI)
731PRODUCT_PACKAGES += $(LIBQDUTILS)
732PRODUCT_PACKAGES += $(LIBQDMETADATA)
733PRODUCT_PACKAGES += $(LIBPOWER)
734PRODUCT_PACKAGES += $(LOC_API)
735PRODUCT_PACKAGES += $(MEDIA_PROFILES)
736PRODUCT_PACKAGES += $(MM_AUDIO)
737PRODUCT_PACKAGES += $(MM_CORE)
738PRODUCT_PACKAGES += $(MM_VIDEO)
739PRODUCT_PACKAGES += $(OPENCORE)
740PRODUCT_PACKAGES += $(PPP)
741PRODUCT_PACKAGES += $(PVOMX)
742PRODUCT_PACKAGES += $(RF4CE)
743PRODUCT_PACKAGES += $(SENSORS_HARDWARE)
744#PRODUCT_PACKAGES += $(SOFTAP)
745PRODUCT_PACKAGES += $(STK)
746PRODUCT_PACKAGES += $(STMLOG)
747PRODUCT_PACKAGES += $(TSLIB_EXTERNAL)
748PRODUCT_PACKAGES += $(QRGND)
749PRODUCT_PACKAGES += $(UPDATER)
750PRODUCT_PACKAGES += $(WPA)
751PRODUCT_PACKAGES += $(ZLIB)
752PRODUCT_PACKAGES += $(VT_JNI)
753PRODUCT_PACKAGES += $(VT_QTI_PERMISSIONS)
754PRODUCT_PACKAGES += $(IMS_SETTINGS)
755PRODUCT_PACKAGES += $(CRDA)
756PRODUCT_PACKAGES += $(WLAN)
757PRODUCT_PACKAGES += $(IPACM)
758PRODUCT_PACKAGES += $(FSTMAN)
759PRODUCT_PACKAGES += $(IMS_EXT)
760
761# Live Wallpapers
762PRODUCT_PACKAGES += \
763        LiveWallpapers \
764        LiveWallpapersPicker \
765        VisualizationWallpapers \
766        librs_jni
767
768# Filesystem management tools
769PRODUCT_PACKAGES += \
770    make_ext4fs \
771    setup_fs
772
773# Qcril configuration file
774PRODUCT_PACKAGES += qcril.db
775
776# GPT utils library
777PRODUCT_PACKAGES += libgptutils
778
779# vcard jar
780PRODUCT_PACKAGES += vcard
781
782# tcmiface for tcm support
783PRODUCT_PACKAGES += tcmiface
784
785# healthd libaray expanded for mode charger
786PRODUCT_PACKAGES += libhealthd.msm
787
788#intialise PRODUCT_PACKAGES_DEBUG list for debug modules
789PRODUCT_PACKAGES_DEBUG := init.qcom.testscripts.sh
790
791
792#NANOPB_LIBRARY_NAME := libnanopb-c-2.8.0
793PRODUCT_COPY_FILES := \
794    frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
795    frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
796    frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
797    frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
798    frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
799    frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
800    frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
801    frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
802    frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
803    frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
804    frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
805    frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
806    frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
807    frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
808    frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
809    frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
810    frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
811    frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
812    frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
813    frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml
814
815# Bluetooth configuration files
816#PRODUCT_COPY_FILES += \
817    system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \
818    system/bluetooth/data/auto_pairing.conf:system/etc/bluetooth/auto_pairing.conf \
819    system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \
820    system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \
821    system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf \
822
823#ifeq ($(BOARD_HAVE_BLUETOOTH_BLUEZ),true)
824#PRODUCT_COPY_FILES += \
825    system/bluetooth/data/stack.conf:system/etc/bluetooth/stack.conf
826#endif # BOARD_HAVE_BLUETOOTH_BLUEZ
827
828PRODUCT_COPY_FILES += \
829    frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
830    frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
831    frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
832
833# enable overlays to use our version of
834# source/resources etc.
835#DEVICE_PACKAGE_OVERLAYS += device/google/marlin/common/device/overlay
836#PRODUCT_PACKAGE_OVERLAYS += device/google/marlin/common/product/overlay
837
838# include additional build utilities
839-include device/google/marlin/common/utils.mk
840
841#Enabling Ring Tones
842#include frameworks/base/data/sounds/OriginalAudio.mk
843
844#Enabling video for live effects
845-include frameworks/base/data/videos/VideoPackage1.mk
846
847#TODO: move to device.mk
848# dm-verity definitions
849PRODUCT_SYSTEM_VERITY_PARTITION=/dev/block/platform/soc/624000.ufshc/by-name/system
850$(call inherit-product, build/target/product/verity.mk)
851
852#skip boot jars check
853SKIP_BOOT_JARS_CHECK := true
854
855PRODUCT_DEXPREOPT_SPEED_APPS += \
856  SystemUIGoogle \
857  SettingsGoogle \
858  NexusLauncherPrebuilt \
859  GoogleCamera \
860  Maps \
861