forked from omnirom/android_device_oppo_find7op
-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.mk
executable file
·40 lines (30 loc) · 1.23 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
# This file includes all definitions that apply to ALL find7a devices, and
# are also specific to find7a devices
#
# Everything in this directory will become public
# Include common makefile
$(call inherit-product, device/oppo/msm8974-common/common.mk)
$(call inherit-product, frameworks/native-caf/build/phone-xxxhdpi-3072-dalvik-heap.mk)
$(call inherit-product, frameworks/native-caf/build/phone-xxhdpi-2048-hwui-memory.mk)
LOCAL_PATH := device/oppo/find7op
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Ramdisk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/init.find7op.rc:root/init.qcom.rc \
$(LOCAL_PATH)/configs/fstab.find7op:root/fstab.qcom \
$(LOCAL_PATH)/configs/twrp.fstab:recovery/root/etc/twrp.fstab
# NFC packages
PRODUCT_PACKAGES += \
NfcNci \
nfc_nci.find7op
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/libnfc-nxp.conf:system/etc/libnfc-nxp.conf \
$(LOCAL_PATH)/configs/libnfc-brcm.conf:system/etc/libnfc-brcm.conf
# Sensor configuration from Oppo
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/sensor/sensor_def_qcomdev.conf:system/etc/sensor_def_qcomdev.conf
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=480 \
persist.camera.4k2k.enable=1 \
ro.qti.sensors.ir_proximity=true