-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathleo.mk
More file actions
57 lines (43 loc) · 1.45 KB
/
leo.mk
File metadata and controls
57 lines (43 loc) · 1.45 KB
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
DEVICE_PATH := device/xiaomi/leo
BOARD_PLATFORM := msm8994
# Get non-open-source specific aspects
$(call inherit-product, device/xiaomi/msm8994-common/msm8994-common.mk)
$(call inherit-product, vendor/xiaomi/leo/leo-vendor.mk)
# System properties
-include $(DEVICE_PATH)/system_prop.mk
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay
# Haters gonna hate..
PRODUCT_CHARACTERISTICS := nosdcard
# Media
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/media/media_codecs_performance.xml:system/vendor/etc/media_codecs_performance.xml
# Audio
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/audio/audio_platform_info.xml:system/vendor/etc/audio_platform_info.xml \
$(DEVICE_PATH)/audio/mixer_paths.xml:system/vendor/etc/mixer_paths.xml
# IRQ
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf
# keylayout
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/keylayout/cyttsp_button.kl:system/vendor/usr/keylayout/cyttsp_button.kl \
$(DEVICE_PATH)/keylayout/synaptics_dsx.kl:system/vendor/usr/keylayout/synaptics_dsx.kl
# Sensors
PRODUCT_PACKAGES += \
sensors.msm8994
# Screen density
PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
# Touch
PRODUCT_PACKAGES += \
vendor.mokee.touch@1.0-service.leo
# Boot animation
TARGET_SCREEN_HEIGHT := 2560
TARGET_SCREEN_WIDTH := 1440
PRODUCT_NAME := full_leo
PRODUCT_DEVICE := leo
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_MODEL := Mi Note Pro
# Ramdisk
PRODUCT_PACKAGES += \
init.target.rc