30 lines
1.3 KiB
Makefile
30 lines
1.3 KiB
Makefile
PRODUCT_COPY_FILES += \
|
|
hardware/google/pixel/mm/pixel-mm-gki.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/pixel-mm-gki.rc \
|
|
hardware/google/pixel/mm/fstab.zram.2g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.2g \
|
|
hardware/google/pixel/mm/fstab.zram.3g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.3g \
|
|
hardware/google/pixel/mm/fstab.zram.4g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.4g \
|
|
hardware/google/pixel/mm/fstab.zram.5g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.5g \
|
|
hardware/google/pixel/mm/fstab.zram.6g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.6g \
|
|
hardware/google/pixel/mm/fstab.zram.40p:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.40p \
|
|
hardware/google/pixel/mm/fstab.zram.50p:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.50p \
|
|
hardware/google/pixel/mm/fstab.zram.60p:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.60p
|
|
|
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
|
PRODUCT_PACKAGES += \
|
|
mm_logd
|
|
endif
|
|
|
|
# ZRAM writeback
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.zram.mark_idle_delay_mins=60 \
|
|
ro.zram.first_wb_delay_mins=1440 \
|
|
ro.zram.periodic_wb_delay_hours=24
|
|
|
|
# LMK tuning
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.lmk.filecache_min_kb=153600 \
|
|
ro.lmk.kill_timeout_ms=50 \
|
|
ro.lmk.stall_limit_critical=40
|
|
|
|
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/mm/gki
|