-
Notifications
You must be signed in to change notification settings - Fork 4
/
msm8916_64.mk
executable file
·344 lines (287 loc) · 17.1 KB
/
msm8916_64.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
DEVICE_PACKAGE_OVERLAYS := device/qcom/msm8916_64/overlay
QC_PROP_ROOT := vendor/qcom/msm8916_64
TARGET_USES_QCOM_BSP := true
# Add QC Video Enhancements flag
TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
ifeq ($(strip $(TARGET_BOARD_SUFFIX)),)
PREBUILT_BOARD_PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)$(TARGET_BOARD_SUFFIX)
else
PREBUILT_BOARD_PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)
endif
#QTIC flag
-include $(QCPATH)/common/config/qtic-config.mk
#for android_filesystem_config.h
PRODUCT_PACKAGES += \
fs_config_files
# Enable features in video HAL that can compile only on this platform
TARGET_USES_MEDIA_EXTENSIONS := true
# qcom shell
PRODUCT_PACKAGES += \
init.qcom.power.sh \
init.qcom.zram.sh
# root
PRODUCT_PACKAGES += \
init.target.rc \
init.carrier.rc \
fstab.qcom
# media_profiles and media_codecs xmls for 8916
ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS), true)
PRODUCT_COPY_FILES += device/qcom/msm8916_32/media/media_profiles_8916.xml:system/etc/media_profiles.xml \
device/qcom/msm8916_32/media/media_codecs_8916.xml:system/etc/media_codecs.xml \
device/qcom/msm8916_32/media/media_codecs_performance_8916_64.xml:system/etc/media_codecs_performance.xml \
device/qcom/msm8916_32/media/media_codecs_performance_8929.xml:system/etc/media_codecs_performance_8929.xml \
device/qcom/msm8916_32/media/media_codecs_8939.xml:system/etc/media_codecs_8939.xml \
device/qcom/msm8916_32/media/media_codecs_performance_8916_64_8939.xml:system/etc/media_codecs_performance_8939.xml \
device/qcom/msm8916_32/media/media_codecs_8929.xml:system/etc/media_codecs_8929.xml
endif
TARGET_USES_NQ_NFC := false
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=128m
$(call inherit-product, device/qcom/common/common64.mk)
PRODUCT_NAME := msm8916_64
PRODUCT_DEVICE := msm8916_64
PRODUCT_BRAND := TCL
PRODUCT_MODEL := TCL_M3G
# When can normal compile this module, need module owner enable below commands
# 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
PRODUCT_BOOT_JARS += qcom.fmradio
#PRODUCT_BOOT_JARS += vcard
PRODUCT_BOOT_JARS += tcmiface
#PRODUCT_BOOT_JARS += qcmediaplayer
# QTI extended functionality of android telephony.
# Required for MSIM manual provisioning and other related features.
PRODUCT_PACKAGES += telephony-ext
PRODUCT_BOOT_JARS += telephony-ext
ifneq ($(strip $(QCPATH)),)
#PRODUCT_BOOT_JARS += com.qti.dpmframework
#PRODUCT_BOOT_JARS += dpmapi
PRODUCT_BOOT_JARS += oem-services
#PRODUCT_BOOT_JARS += com.qti.location.sdk
endif
PRODUCT_BOOT_JARS += WfdCommon
# default is nosdcard, S/W button enabled in resource
PRODUCT_CHARACTERISTICS := nosdcard
#Android EGL implementation
PRODUCT_PACKAGES += libGLES_android
PRODUCT_PACKAGES += \
libqcomvisualizer \
libqcompostprocbundle \
libqcomvoiceprocessing
# Audio configuration file
-include $(TOPDIR)hardware/qcom/audio/configs/msm8916_64/msm8916_64.mk
# MIDI feature
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml
#ANT+ stack
PRODUCT_PACKAGES += \
AntHalService \
libantradio \
antradio_app
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
camera2.portability.force_api=1
PRODUCT_PACKAGES += wcnss_service
# MSM IRQ Balancer configuration file
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf
# Keylayout
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \
device/qcom/msm8916_64/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
device/qcom/msm8916_64/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \
device/qcom/msm8916_64/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl
# acdb
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Bluetooth_cal.acdb:system/etc/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Bluetooth_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_General_cal.acdb:system/etc/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_General_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Global_cal.acdb:system/etc/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Global_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Handset_cal.acdb:system/etc/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Handset_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Hdmi_cal.acdb:system/etc/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Hdmi_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Headset_cal.acdb:system/etc/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Headset_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Speaker_cal.acdb:system/etc/acdbdata/MTP/msm8939-tapan-snd-card/MTP_WCD9306_Speaker_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/MTP_Bluetooth_cal.acdb:system/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/MTP_General_cal.acdb:system/etc/acdbdata/MTP/MTP_General_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/MTP_Global_cal.acdb:system/etc/acdbdata/MTP/MTP_Global_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/MTP_Handset_cal.acdb:system/etc/acdbdata/MTP/MTP_Handset_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/MTP_Hdmi_cal.acdb:system/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/MTP_Headset_cal.acdb:system/etc/acdbdata/MTP/MTP_Headset_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/MTP/MTP_Speaker_cal.acdb:system/etc/acdbdata/MTP/MTP_Speaker_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/QRD/QRD_Bluetooth_cal.acdb:system/etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/QRD/QRD_General_cal.acdb:system/etc/acdbdata/QRD/QRD_General_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/QRD/QRD_Global_cal.acdb:system/etc/acdbdata/QRD/QRD_Global_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/QRD/QRD_Handset_cal.acdb:system/etc/acdbdata/QRD/QRD_Handset_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/QRD/QRD_Hdmi_cal.acdb:system/etc/acdbdata/QRD/QRD_Hdmi_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/QRD/QRD_Headset_cal.acdb:system/etc/acdbdata/QRD/QRD_Headset_cal.acdb \
device/qcom/msm8916_64/config/acdbdata/QRD/QRD_Speaker_cal.acdb:system/etc/acdbdata/QRD/QRD_Speaker_cal.acdb
# firmware
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/firmware/wcd9306/wcd9306_anc.bin:system/etc/firmware/wcd9306/wcd9306_anc.bin \
device/qcom/msm8916_64/config/firmware/wcd9306/wcd9306_mbhc.bin:system/etc/firmware/wcd9306/wcd9306_mbhc.bin \
device/qcom/msm8916_64/config/firmware/a225p5_pm4.fw:system/etc/firmware/a225p5_pm4.fw \
device/qcom/msm8916_64/config/firmware/a225_pfp.fw:system/etc/firmware/a225_pfp.fw \
device/qcom/msm8916_64/config/firmware/a225_pm4.fw:system/etc/firmware/a225_pm4.fw \
device/qcom/msm8916_64/config/firmware/a300_pfp.fw:system/etc/firmware/a300_pfp.fw \
device/qcom/msm8916_64/config/firmware/a300_pm4.fw:system/etc/firmware/a300_pm4.fw \
device/qcom/msm8916_64/config/firmware/a330_pfp.fw:system/etc/firmware/a330_pfp.fw \
device/qcom/msm8916_64/config/firmware/a330_pm4.fw:system/etc/firmware/a330_pm4.fw \
device/qcom/msm8916_64/config/firmware/a420_pfp.fw:system/etc/firmware/a420_pfp.fw \
device/qcom/msm8916_64/config/firmware/a420_pm4.fw:system/etc/firmware/a420_pm4.fw \
device/qcom/msm8916_64/config/firmware/cpp_firmware_v1_1_1.fw:system/etc/firmware/cpp_firmware_v1_1_1.fw \
device/qcom/msm8916_64/config/firmware/cpp_firmware_v1_1_6.fw:system/etc/firmware/cpp_firmware_v1_1_6.fw \
device/qcom/msm8916_64/config/firmware/cpp_firmware_v1_2_0.fw:system/etc/firmware/cpp_firmware_v1_2_0.fw \
device/qcom/msm8916_64/config/firmware/cpp_firmware_v1_4_0.fw:system/etc/firmware/cpp_firmware_v1_4_0.fw \
device/qcom/msm8916_64/config/firmware/ice40.bin:system/etc/firmware/ice40.bin \
device/qcom/msm8916_64/config/firmware/leia_pfp_470.fw:system/etc/firmware/leia_pfp_470.fw \
device/qcom/msm8916_64/config/firmware/leia_pm4_470.fw:system/etc/firmware/leia_pm4_470.fw \
device/qcom/msm8916_64/config/firmware/Signedrompatch_v20.bin:system/etc/firmware/Signedrompatch_v20.bin \
device/qcom/msm8916_64/config/firmware/Signedrompatch_v21.bin:system/etc/firmware/Signedrompatch_v21.bin \
device/qcom/msm8916_64/config/firmware/Signedrompatch_v24.bin:system/etc/firmware/Signedrompatch_v24.bin \
device/qcom/msm8916_64/config/firmware/Signedrompatch_v30.bin:system/etc/firmware/Signedrompatch_v30.bin \
device/qcom/msm8916_64/config/firmware/venus.b00:system/etc/firmware/venus.b00 \
device/qcom/msm8916_64/config/firmware/venus.b01:system/etc/firmware/venus.b01 \
device/qcom/msm8916_64/config/firmware/venus.b02:system/etc/firmware/venus.b02 \
device/qcom/msm8916_64/config/firmware/venus.b03:system/etc/firmware/venus.b03 \
device/qcom/msm8916_64/config/firmware/venus.b04:system/etc/firmware/venus.b04 \
device/qcom/msm8916_64/config/firmware/venus.mbn:system/etc/firmware/venus.mbn \
device/qcom/msm8916_64/config/firmware/venus.mdt:system/etc/firmware/venus.mdt
# cacert
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/cacert_location.pem:system/etc/cacert_location.pem
# config
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/capability.xml:system/etc/capability.xml \
device/qcom/msm8916_64/config/cdma_call_conf.xml:system/etc/cdma_call_conf.xml \
device/qcom/msm8916_64/config/ftm_test_config:system/etc/ftm_test_config \
device/qcom/msm8916_64/config/ftm_test_config_mtp:system/etc/ftm_test_config_mtp \
device/qcom/msm8916_64/config/ftm_test_config_wcd9306:system/etc/ftm_test_config_wcd9306 \
device/qcom/msm8916_64/config/lowi.conf:system/etc/lowi.conf \
device/qcom/msm8916_64/config/qmi_fw.conf:system/etc/qmi_fw.conf \
device/qcom/msm8916_64/config/spn-conf.xml:system/etc/spn-conf.xml \
device/qcom/msm8916_64/config/wfdconfigsink.xml:system/etc/wfdconfigsink.xml \
device/qcom/msm8916_64/config/wfdconfig.xml:system/etc/wfdconfig.xml \
device/qcom/msm8916_64/config/xtra_root_cert.pem:system/etc/xtra_root_cert.pem \
device/qcom/msm8916_64/config/xtwifi.conf:system/etc/xtwifi.conf \
device/qcom/msm8916_64/config/apns-conf.xml:system/etc/apns-conf.xml
# surround sound
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/surround_sound/filter1i.pcm:system/etc/surround_sound/filter1i.pcm \
device/qcom/msm8916_64/config/surround_sound/filter1r.pcm:system/etc/surround_sound/filter1r.pcm \
device/qcom/msm8916_64/config/surround_sound/filter2i.pcm:system/etc/surround_sound/filter2i.pcm \
device/qcom/msm8916_64/config/surround_sound/filter2r.pcm:system/etc/surround_sound/filter2r.pcm \
device/qcom/msm8916_64/config/surround_sound/filter3i.pcm:system/etc/surround_sound/filter3i.pcm \
device/qcom/msm8916_64/config/surround_sound/filter3r.pcm:system/etc/surround_sound/filter3r.pcm \
device/qcom/msm8916_64/config/surround_sound/filter4i.pcm:system/etc/surround_sound/filter4i.pcm \
device/qcom/msm8916_64/config/surround_sound/filter4r.pcm:system/etc/surround_sound/filter4r.pcm
# cne
PRODUCT_COPY_FILES += \
device/tcl/q39/config/cne/andsfCne.xml:system/etc/cne/andsfCne.xml \
device/tcl/q39/config/cne/SwimConfig.xml:system/etc/cne/SwimConfig.xml \
device/tcl/q39/config/cne/wqeclient/profile1.xml:system/etc/cne/wqeclient/profile1.xml \
device/tcl/q39/config/cne/wqeclient/profile2.xml:system/etc/cne/wqeclient/profile2.xml \
device/tcl/q39/config/cne/wqeclient/profile3.xml:system/etc/cne/wqeclient/profile3.xml \
device/tcl/q39/config/cne/wqeclient/profile4.xml:system/etc/cne/wqeclient/profile4.xml \
device/tcl/q39/config/cne/wqeclient/profile5.xml:system/etc/cne/wqeclient/profile5.xml
# dpm
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/dpm/dpm.conf:system/etc/dpm/dpm.conf \
device/qcom/msm8916_64/config/dpm/nsrm/NsrmConfiguration.xml:system/etc/dpm/nsrm/NsrmConfiguration.xml
# mmi
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/mmi/fail.png:system/etc/mmi/fail.png \
device/qcom/msm8916_64/config/mmi/fonts.ttf:system/etc/mmi/fonts.ttf \
device/qcom/msm8916_64/config/mmi/pass.png:system/etc/mmi/pass.png \
device/qcom/msm8916_64/config/mmi/strings.xml:system/etc/mmi/strings.xml \
device/qcom/msm8916_64/config/mmi/strings-zh-rCN.xml:system/etc/mmi/strings-zh-rCN.xml
# permissions
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/config/permissions/btmultisim.xml:system/etc/permissions/btmultisim.xml \
device/qcom/msm8916_64/config/permissions/cneapiclient.xml:system/etc/permissions/cneapiclient.xml \
device/qcom/msm8916_64/config/permissions/com.qrd.wappush.xml:system/etc/permissions/com.qrd.wappush.xml \
device/qcom/msm8916_64/config/permissions/com.qti.dpmframework.xml:system/etc/permissions/com.qti.dpmframework.xml \
device/qcom/msm8916_64/config/permissions/com.qti.snapdragon.sdk.display.xml:system/etc/permissions/com.qti.snapdragon.sdk.display.xml \
device/qcom/msm8916_64/config/permissions/com.qualcomm.qmapbridge.xml:system/etc/permissions/com.qualcomm.qmapbridge.xml \
device/qcom/msm8916_64/config/permissions/com.qualcomm.qti.smartsearch.xml:system/etc/permissions/com.qualcomm.qti.smartsearch.xml \
device/qcom/msm8916_64/config/permissions/com.quicinc.cne.xml:system/etc/permissions/com.quicinc.cne.xml \
device/qcom/msm8916_64/config/permissions/ConnectivityExt.xml:system/etc/permissions/ConnectivityExt.xml \
device/qcom/msm8916_64/config/permissions/dpmapi.xml:system/etc/permissions/dpmapi.xml \
device/qcom/msm8916_64/config/permissions/embms.xml:system/etc/permissions/embms.xml \
device/qcom/msm8916_64/config/permissions/imscm.xml:system/etc/permissions/imscm.xml \
device/qcom/msm8916_64/config/permissions/qcnvitems.xml:system/etc/permissions/qcnvitems.xml \
device/qcom/msm8916_64/config/permissions/qcrilhook.xml:system/etc/permissions/qcrilhook.xml \
device/qcom/msm8916_64/config/permissions/qti_permissions.xml:system/etc/permissions/qti_permissions.xml \
device/qcom/msm8916_64/config/permissions/rcsimssettings.xml:system/etc/permissions/rcsimssettings.xml
#wlan driver
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
device/qcom/msm8916_64/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \
device/qcom/msm8916_64/wifi/WCNSS_wlan_dictionary.dat:persist/WCNSS_wlan_dictionary.dat \
device/qcom/msm8916_64/wifi/WCNSS_qcom_wlan_nv.bin:persist/WCNSS_qcom_wlan_nv.bin
ifeq ($(strip $(BOARD_HAS_QCOM_WLAN)),true)
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \
device/qcom/msm8916_64/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
device/qcom/msm8916_64/wifi/hostapd.conf:system/etc/hostapd/hostapd_default.conf \
device/qcom/msm8916_64/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
device/qcom/msm8916_64/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny
endif
PRODUCT_PACKAGES += \
wpa_supplicant
# dhcpcd
PRODUCT_PACKAGES += \
dhcpcd-6.8.2
# debuggerd
PRODUCT_PACKAGES += \
debuggerd \
debuggerd64
# sdcard
PRODUCT_PACKAGES += \
sdcard
# logwrapper
PRODUCT_PACKAGES += \
logwrapper
# mdnsd
PRODUCT_PACKAGES += \
mdnsd
# keystore
PRODUCT_PACKAGES += \
keystore
# healthd
PRODUCT_PACKAGES += \
healthd
# rild
PRODUCT_PACKAGES += \
rild
# init
PRODUCT_PACKAGES += \
init
# mtpd
PRODUCT_PACKAGES += \
mtpd
# logd
PRODUCT_PACKAGES += \
logd
# twrp
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/recovery/twrp.fstab:recovery/root/etc/twrp.fstab
# Defined the locales
PRODUCT_LOCALES += th_TH vi_VN tl_PH hi_IN ar_EG ru_RU tr_TR pt_BR bn_IN mr_IN ta_IN te_IN zh_HK \
in_ID my_MM km_KH sw_KE uk_UA pl_PL sr_RS sl_SI fa_IR kn_IN ml_IN ur_IN gu_IN or_IN zh_CN
# When can normal compile this module, need module owner enable below commands
# Add the overlay path
PRODUCT_PACKAGE_OVERLAYS := $(QCPATH)/qrdplus/Extension/res \
$(PRODUCT_PACKAGE_OVERLAYS)
#$(QCPATH)/qrdplus/globalization/multi-language/res-overlay \
PRODUCT_SUPPORTS_VERITY := true
PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/bootdevice/by-name/system
# Sensor HAL conf file
PRODUCT_COPY_FILES += \
device/qcom/msm8916_64/sensors/hals.conf:system/etc/sensors/hals.conf
GMS_ENABLE_OPTIONAL_MODULES := false
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/tcl/q39/q39-vendor.mk)
$(call inherit-product-if-exists, $(QC_PROP_ROOT)/prebuilt_HY22/Android.mk)
$(call inherit-product-if-exists, $(QC_PROP_ROOT)/prebuilt_HY22/target/product/$(PREBUILT_BOARD_PLATFORM_DIR)/prebuilt.mk)