-
Notifications
You must be signed in to change notification settings - Fork 0
/
msm8937_64.mk
510 lines (410 loc) · 17.3 KB
/
msm8937_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
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
ALLOW_MISSING_DEPENDENCIES=true
# AAPT
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# Camera
PRODUCT_PACKAGES += \
camera.msm8937 \
SnapdragonCamera
# Gyro sensor
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml
# USB HAL
PRODUCT_PACKAGES += \
# Vulkan
VULKAN_FEATURE_LEVEL_0_TARGETS_LIST += $(XIAOMI_DEVICE)
# Xiaomi props
PRODUCT_PROPERTY_OVERRIDES := \
persist.vendor.camera.stats.test=5 \
ro.vendor.sensors.pseudo_gyro=true
# Default A/B configuration.
ENABLE_AB := false
# Dynamic-partition disabled by default
BOARD_DYNAMIC_PARTITION_ENABLE := false
ifeq ($(strip $(BOARD_DYNAMIC_PARTITION_ENABLE)),true)
PRODUCT_USE_DYNAMIC_PARTITIONS := true
PRODUCT_PACKAGES += fastbootd
# Add default implementation of fastboot HAL.
PRODUCT_PACKAGES += [email protected]
PRODUCT_COPY_FILES += $(LOCAL_PATH)/fstab/fstab.qcom:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom
endif
# Enable AVB 2.0
ifneq ($(wildcard kernel/msm-4.9),)
BOARD_AVB_ENABLE := true
ifeq ($(strip $(BOARD_DYNAMIC_PARTITION_ENABLE)),true)
# Enable product partition
#PRODUCT_BUILD_PRODUCT_IMAGE := true
# enable vbmeta_system
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
BOARD_AVB_VBMETA_SYSTEM := system
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA2048
BOARD_AVB_RECOVERY_ROLLBACK_INDEX := 1
BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1
$(call inherit-product, build/make/target/product/gsi_keys.mk)
endif
endif
TARGET_USES_AOSP := false
TARGET_USES_AOSP_FOR_AUDIO := false
TARGET_USES_QCOM_BSP := false
TARGET_SYSTEM_PROP := device/xiaomi/sdm439-common/system.prop
ifeq ($(TARGET_USES_AOSP),true)
TARGET_DISABLE_DASH := true
endif
DEVICE_PACKAGE_OVERLAYS := device/xiaomi/sdm439-common/overlay
# Default vendor configuration.
ifeq ($(ENABLE_VENDOR_IMAGE),)
ENABLE_VENDOR_IMAGE :=true
endif
# Disable QTIC until it's brought up in split system/vendor
# configuration to avoid compilation breakage.
ifeq ($(ENABLE_VENDOR_IMAGE), true)
#TARGET_USES_QTIC := false
endif
TARGET_USES_NQ_NFC := false
ifeq ($(TARGET_USES_NQ_NFC),true)
PRODUCT_COPY_FILES += \
device/qcom/common/nfc/libnfc-brcm.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf
endif
ifneq ($(wildcard kernel/msm-3.18),)
TARGET_KERNEL_VERSION := 3.18
$(warning "Build with 3.18 kernel.")
else ifneq ($(wildcard kernel/msm-4.9),)
TARGET_KERNEL_VERSION := 4.9
$(warning "Build with 4.9 kernel")
#Enable llvm support for kernel
KERNEL_LLVM_SUPPORT := true
#Enable sd-llvm suppport for kernel
KERNEL_SD_LLVM_SUPPORT := true
else
$(warning "Unknown kernel")
endif
TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
-include $(QCPATH)/common/config/qtic-config.mk
# Enable features in video HAL that can compile only on this platform
TARGET_USES_MEDIA_EXTENSIONS := true
# media_profiles and media_codecs xmls for msm8937
ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS), true)
PRODUCT_COPY_FILES += device/qcom/msm8937_32/media/media_profiles_8937.xml:system/etc/media_profiles.xml \
device/qcom/msm8937_32/media/media_profiles_8937.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
device/qcom/msm8937_32/media/media_profiles_8956.xml:system/etc/media_profiles_8956.xml \
device/qcom/msm8937_32/media/media_profiles_8956.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_8956.xml \
device/qcom/msm8937_32/media/media_codecs_8937.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
device/qcom/msm8937_32/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
device/qcom/msm8937_32/media/media_codecs_8937_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_8937_v1.xml \
device/qcom/msm8937_32/media/media_codecs_8956.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_8956.xml \
device/qcom/msm8937_32/media/media_codecs_performance_8937.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
device/qcom/msm8937_32/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml
# Vendor property overrides
#Rank OMX SW codecs lower than OMX HW codecs
PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.omx_default_rank.sw-audio=1
PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.omx_default_rank=0
endif
# video seccomp policy files
PRODUCT_COPY_FILES += \
device/qcom/msm8937_32/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
device/qcom/msm8937_32/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
PRODUCT_PROPERTY_OVERRIDES += \
vendor.vidc.disable.split.mode=1
# privapp-permissions whitelisting
PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=enforce
TARGET_DEFINES_DALVIK_HEAP := true
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
$(call inherit-product, device/qcom/common/common64.mk)
#Property to enable Swap
PRODUCT_PROPERTY_OVERRIDES += ro.vendor.qti.config.swap=1
PRODUCT_DEVICE := $(XIAOMI_DEVICE)
PRODUCT_NAME := $(XIAOMI_DEVICE)
BOARD_VENDOR := xiaomi
PRODUCT_BRAND := xiaomi
PRODUCT_MODEL := $(XIAOMI_MODEL)
PRODUCT_MANUFACTURER := xiaomi
TARGET_VENDOR := xiaomi
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
PRODUCT_BOOT_JARS += tcmiface
# Kernel modules install path
KERNEL_MODULES_INSTALL := dlkm
KERNEL_MODULES_OUT := out/target/product/$(PRODUCT_NAME)/$(KERNEL_MODULES_INSTALL)/lib/modules
ifneq ($(strip $(QCPATH)),)
PRODUCT_BOOT_JARS += WfdCommon
#PRODUCT_BOOT_JARS += com.qti.dpmframework
#PRODUCT_BOOT_JARS += dpmapi
#PRODUCT_BOOT_JARS += com.qti.location.sdk
#Android oem shutdown hook
#PRODUCT_BOOT_JARS += oem-services
endif
DEVICE_MANIFEST_FILE := device/xiaomi/sdm439-common/manifest.xml
ifeq ($(ENABLE_AB), true)
DEVICE_MANIFEST_FILE += device/xiaomi/sdm439-common/manifest_ab.xml
endif
ifeq ($(strip $(TARGET_KERNEL_VERSION)), 3.18)
DEVICE_MANIFEST_FILE += device/xiaomi/sdm439-common/manifest_target_level_2.xml
endif
ifeq ($(TARGET_KERNEL_VERSION), 4.9)
ifeq ($(strip $(BOARD_DYNAMIC_PARTITION_ENABLE)),true)
DEVICE_MANIFEST_FILE += device/xiaomi/sdm439-common/manifest_target_level_4.xml
else
DEVICE_MANIFEST_FILE += device/xiaomi/sdm439-common/manifest_target_level_3.xml
endif
endif
DEVICE_MATRIX_FILE := device/qcom/common/compatibility_matrix.xml
DEVICE_FRAMEWORK_MANIFEST_FILE := device/xiaomi/sdm439-common/framework_manifest.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
vendor/qcom/opensource/core-utils/vendor_framework_compatibility_matrix.xml
# default is nosdcard, S/W button enabled in resource
PRODUCT_CHARACTERISTICS := nosdcard
# 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
ifneq ($(TARGET_DISABLE_DASH), true)
# PRODUCT_BOOT_JARS += qcmediaplayer
endif
#Android EGL implementation
PRODUCT_PACKAGES += libGLES_android
# Audio configuration file
-include $(TOPDIR)hardware/qcom/audio/configs/msm8937/msm8937.mk
-include $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/msm8937.mk
USE_LIB_PROCESS_GROUP := true
#Audio DLKM
ifeq ($(TARGET_KERNEL_VERSION), 4.9)
AUDIO_DLKM := audio_apr.ko
AUDIO_DLKM += audio_q6_notifier.ko
AUDIO_DLKM += audio_adsp_loader.ko
AUDIO_DLKM += audio_q6.ko
AUDIO_DLKM += audio_usf.ko
AUDIO_DLKM += audio_pinctrl_wcd.ko
AUDIO_DLKM += audio_swr.ko
AUDIO_DLKM += audio_wcd_core.ko
AUDIO_DLKM += audio_swr_ctrl.ko
AUDIO_DLKM += audio_wsa881x.ko
AUDIO_DLKM += audio_wsa881x_analog.ko
AUDIO_DLKM += audio_platform.ko
AUDIO_DLKM += audio_cpe_lsm.ko
AUDIO_DLKM += audio_hdmi.ko
AUDIO_DLKM += audio_stub.ko
AUDIO_DLKM += audio_wcd9xxx.ko
AUDIO_DLKM += audio_mbhc.ko
AUDIO_DLKM += audio_wcd9335.ko
AUDIO_DLKM += audio_wcd_cpe.ko
AUDIO_DLKM += audio_digital_cdc.ko
AUDIO_DLKM += audio_analog_cdc.ko
AUDIO_DLKM += audio_native.ko
AUDIO_DLKM += audio_machine_sdm450.ko
AUDIO_DLKM += audio_machine_ext_sdm450.ko
PRODUCT_PACKAGES += $(AUDIO_DLKM)
endif
# MIDI feature
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
#FEATURE_OPENGLES_EXTENSION_PACK support string config file
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml
PRODUCT_PACKAGES += [email protected]
#ANT+ stack
PRODUCT_PACKAGES += \
AntHalService \
libantradio \
antradio_app
# Display/Graphics
PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += wcnss_service
# FBE support
PRODUCT_COPY_FILES += \
device/xiaomi/sdm439-common/init.qti.qseecomd.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.qseecomd.sh
# VB xml
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.verified_boot.xml:system/etc/permissions/android.software.verified_boot.xml
# MSM IRQ Balancer configuration file
PRODUCT_COPY_FILES += \
device/xiaomi/sdm439-common/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf
#wlan driver
PRODUCT_COPY_FILES += \
device/xiaomi/sdm439-common/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \
device/qcom/msm8937_32/WCNSS_wlan_dictionary.dat:persist/WCNSS_wlan_dictionary.dat \
device/xiaomi/sdm439-common/WCNSS_qcom_wlan_nv.bin:persist/WCNSS_qcom_wlan_nv.bin
PRODUCT_PACKAGES += \
wpa_supplicant_overlay.conf \
p2p_supplicant_overlay.conf
#for wlan
PRODUCT_PACKAGES += \
wificond \
wifilogd
# Feature definition files for msm8937
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
PRODUCT_PACKAGES += telephony-ext
PRODUCT_BOOT_JARS += telephony-ext
#Camera QC extends API
ifeq ($(strip $(TARGET_USES_QTIC_EXTENSION)),true)
PRODUCT_BOOT_JARS += com.qualcomm.qti.camera
endif
# 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
# When can normal compile this module, need module owner enable below commands
# Add the overlay path
#PRODUCT_PACKAGE_OVERLAYS := $(QCPATH)/qrdplus/Extension/res \
# $(QCPATH)/qrdplus/globalization/multi-language/res-overlay \
# $(PRODUCT_PACKAGE_OVERLAYS)
#PRODUCT_PACKAGE_OVERLAYS := $(QCPATH)/qrdplus/Extension/res \
$(PRODUCT_PACKAGE_OVERLAYS)
# Powerhint configuration file
PRODUCT_COPY_FILES += \
device/xiaomi/sdm439-common/powerhint.xml:system/etc/powerhint.xml
#Healthd packages
PRODUCT_PACKAGES += [email protected] \
libhealthd.msm
PRODUCT_FULL_TREBLE_OVERRIDE := true
PRODUCT_VENDOR_MOVE_ENABLED := true
#for android_filesystem_config.h
PRODUCT_PACKAGES += \
fs_config_files
# Sensor HAL conf file
PRODUCT_COPY_FILES += \
device/xiaomi/sdm439-common/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
# Enable logdumpd service only for non-perf bootimage
ifeq ($(findstring perf,$(KERNEL_DEFCONFIG)),)
ifeq ($(TARGET_BUILD_VARIANT),user)
PRODUCT_DEFAULT_PROPERTY_OVERRIDES+= \
ro.logdumpd.enabled=0
else
#PRODUCT_DEFAULT_PROPERTY_OVERRIDES+= \
ro.logdumpd.enabled=1
endif
else
PRODUCT_DEFAULT_PROPERTY_OVERRIDES+= \
ro.logdumpd.enabled=0
endif
# Vibrator
PRODUCT_PACKAGES += \
# Power
PRODUCT_PACKAGES += \
# Camera configuration file. Shared by passthrough/binderized camera HAL
PRODUCT_PACKAGES += [email protected]
PRODUCT_PACKAGES += [email protected]
PRODUCT_PACKAGES += [email protected]
# Enable binderized camera HAL
PRODUCT_PACKAGES += [email protected]
PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
libandroid_net \
libandroid_net_32
#Enable Lights Impl HAL Compilation
PRODUCT_PACKAGES += [email protected]
#Thermal
PRODUCT_PACKAGES += [email protected] \
TARGET_SUPPORT_SOTER := true
#set KMGK_USE_QTI_SERVICE to true to enable QTI KEYMASTER and GATEKEEPER HIDLs
ifeq ($(ENABLE_VENDOR_IMAGE), true)
KMGK_USE_QTI_SERVICE := true
endif
#Enable AOSP KEYMASTER and GATEKEEPER HIDLs
ifneq ($(KMGK_USE_QTI_SERVICE), true)
PRODUCT_PACKAGES += [email protected] \
endif
#Enable KEYMASTER 4.0 for Android P not for OTA's
ifeq ($(strip $(TARGET_KERNEL_VERSION)), 4.9)
ENABLE_KM_4_0 := true
endif
ifeq ($(ENABLE_KM_4_0), true)
DEVICE_MANIFEST_FILE += device/xiaomi/sdm439-common/keymaster.xml
else
DEVICE_MANIFEST_FILE += device/xiaomi/sdm439-common/keymaster_ota.xml
endif
PRODUCT_PROPERTY_OVERRIDES += rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
PRODUCT_PROPERTY_OVERRIDES += vendor.rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
ifeq ($(TARGET_HAS_LOW_RAM), true)
PRODUCT_PROPERTY_OVERRIDES += persist.radio.multisim.config=ssss
endif
ifeq ($(ENABLE_AB),true)
#A/B related packages
PRODUCT_PACKAGES += update_engine \
update_engine_client \
update_verifier \
bootctrl.msm8937 \
PRODUCT_HOST_PACKAGES += \
brillo_update_payload
#Boot control HAL test app
PRODUCT_PACKAGES_DEBUG += bootctl
PRODUCT_STATIC_BOOT_CONTROL_HAL := \
bootctrl.msm8937 \
librecovery_updater_msm \
libz \
libcutils
PRODUCT_PACKAGES += \
update_engine_sideload
endif
TARGET_MOUNT_POINTS_SYMLINKS := false
ifeq ($(strip $(TARGET_KERNEL_VERSION)), 3.18)
PRODUCT_HOST_PACKAGES += \
AWBTestApp
endif
SDM660_DISABLE_MODULE := true
# When AVB 2.0 is enabled, dm-verity is enabled differently,
# below definitions are only required for AVB 1.0
ifeq ($(BOARD_AVB_ENABLE),false)
# dm-verity definitions
PRODUCT_SUPPORTS_VERITY := true
endif
ifeq ($(strip $(TARGET_KERNEL_VERSION)), 4.9)
# Enable vndk-sp Libraries
PRODUCT_PACKAGES += vndk_package
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
TARGET_USES_MKE2FS := true
$(call inherit-product, build/make/target/product/product_launched_with_p.mk)
endif
ifeq ($(strip $(TARGET_KERNEL_VERSION)), 3.18)
# Enable extra vendor libs
ENABLE_EXTRA_VENDOR_LIBS := true
PRODUCT_PACKAGES += vendor-extra-libs
$(call inherit-product, build/make/target/product/product_launched_with_o_mr1.mk)
endif
# For bringup
WLAN_BRINGUP_NEW_SP := true
DISP_BRINGUP_NEW_SP := true
CAM_BRINGUP_NEW_SP := true
SEC_USERSPACE_BRINGUP_NEW_SP := true
# Enable telephpony ims feature
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml
###################################################################################
# This is the End of target.mk file.
# Now, Pickup other split product.mk files:
###################################################################################
$(call inherit-product-if-exists, vendor/qcom/defs/product-defs/legacy/*.mk)
###################################################################################
# Inherit the proprietary files
$(call inherit-product, vendor/xiaomi/sdm439-common/sdm439-common-vendor.mk)