forked from thune-xiaobai/Android_device_xiaomi_pisces
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcm.mk
36 lines (26 loc) · 901 Bytes
/
cm.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
# Release name
PRODUCT_RELEASE_NAME := pisces
# Inherit some common CM stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
# Enhanced NFC
$(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
# Inherit device configuration
$(call inherit-product, device/xiaomi/pisces/device_pisces.mk)
## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := pisces
PRODUCT_NAME := cm_pisces
PRODUCT_BRAND := Xiaomi
PRODUCT_MODEL := MI 3
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.timezone=Asia/Shanghai \
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.locale.language=zh \
ro.product.locale.region=CN \
# Boot animation
TARGET_SCREEN_WIDTH := 1080
TARGET_SCREEN_HEIGHT := 1920
# device specific settings menu supported by CM
BOARD_HARDWARE_CLASS := device/xiaomi/pisces/cmhw/
# Enable Torch
PRODUCT_PACKAGES += Torch