forked from Havoc-Devices/android_device_sony_lilac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
36 lines (27 loc) · 953 Bytes
/
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
### PLATFORM
$(call inherit-product, device/sony/yoshino-common/platform.mk)
### PROPRIETARY VENDOR FILES
$(call inherit-product, vendor/sony/lilac/lilac-vendor.mk)
ifeq ($(WITH_FDROID),true)
$(call inherit-product, vendor/fdroid/fdroid-vendor.mk)
endif
ifeq ($(WITH_MICROG),true)
$(call inherit-product, vendor/microg/microg-vendor.mk)
endif
### DALVIK
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
DEVICE_PATH := device/sony/lilac
# Soong
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay
### POWER
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/config/power/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
include $(DEVICE_PATH)/device/*.mk
# Customization
$(call inherit-product, device/sony/lilac/customization.mk)