forked from cupid-development/android_device_xiaomi_mondrian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
61 lines (52 loc) · 1.6 KB
/
device.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
#
# Copyright (C) 2022-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# NFC
PRODUCT_SYSTEM_EXT_PROPERTIES += \
persist.nfc.camera.pause_polling=true
# Inherit from xiaomi sm8450-common
$(call inherit-product, device/xiaomi/sm8450-common/common.mk)
# Inherit from the proprietary version
$(call inherit-product, vendor/xiaomi/mondrian/mondrian-vendor.mk)
# Overlay
PRODUCT_PACKAGES += \
ApertureResMondrian \
FrameworksResMondrian \
FrameworksResMondrianGlobal \
LineageResMondrian \
NfcResMondrian \
SettingsProviderResMondrian \
SettingsProviderResMondrianCN \
SettingsResMondrian \
SystemUIResMondrian \
WifiResMondrian \
WifiResMondrianCN
# Logging
SPAMMY_LOG_TAGS := \
MiStcImpl \
SDM \
SDM-histogram \
SRE \
WifiHAL \
cnss-daemon \
libsensor-displayalgo \
libsensor-parseRGB \
libsensor-ssccalapi \
sensors \
vendor.qti.hardware.display.composer-service \
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# System properties
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_ODM)/etc/build_CN.prop \
$(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_ODM)/etc/build_GL.prop
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_CN.prop \
$(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_GL.prop
PRODUCT_SYSTEM_PROPERTIES += \
ro.miui.notch=1