forked from whatawurst/android_device_sony_lilac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
30 lines (23 loc) · 732 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
### 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
DEVICE_PATH := device/sony/lilac
# Soong
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREBUILT_DPI := xhdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay
### POWER
TARGET_USE_CUSTOM_POWERHINT := true
include $(DEVICE_PATH)/device/*.mk