-
Notifications
You must be signed in to change notification settings - Fork 7
/
pocoparts.mk
31 lines (24 loc) · 1.07 KB
/
pocoparts.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
VENDOR_PATH := vendor/PocoParts
# Files Dirac
PRODUCT_COPY_FILES += \
$(VENDOR_PATH)/vendor/lib/libDiracAPI_SHARED.so:$(TARGET_COPY_OUT_VENDOR)/lib/libDiracAPI_SHARED.so \
$(VENDOR_PATH)/vendor/lib/soundfx/libdirac.so:$(TARGET_COPY_OUT_VENDOR)/lib/soundfx/libdirac.so \
$(VENDOR_PATH)/vendor/etc/diracmobile.config:$(TARGET_COPY_OUT_VENDOR)/etc/diracmobile.config \
$(VENDOR_PATH)/vendor/etc/diracvdd.bin:$(TARGET_COPY_OUT_VENDOR)/etc/diracvdd.bin
# PocoParts
PRODUCT_SOONG_NAMESPACES += \
vendor/PocoParts
PRODUCT_PACKAGES += \
PocoParts \
XiaomiParts
PRODUCT_COPY_FILES += \
$(VENDOR_PATH)/init/init.pocoparts.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.pocoparts.rc \
$(VENDOR_PATH)/init/init.pocoparts.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.pocoparts.rc
PRODUCT_PRODUCT_PROPERTIES += \
persist.lcd.cabc_mode=1
# Properties
TARGET_VENDOR_PROP += $(VENDOR_PATH)/vendor.prop
# Sepolicy
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(VENDOR_PATH)/sepolicy/private
BOARD_SEPOLICY_DIRS += $(VENDOR_PATH)/sepolicy/vendor
TARGET_SEPOLICY_DIR := msmsteppe