forked from nullbytepl/device_nubia_TP1803
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
91 lines (70 loc) · 1.92 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#
# Copyright (C) 2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/nubia/TP1803/TP1803-vendor.mk)
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# Boot animation
TARGET_SCREEN_HEIGHT := 2340
TARGET_SCREEN_WIDTH := 1080
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Properties
-include $(LOCAL_PATH)/system_prop.mk
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default
# Camera
PRODUCT_PACKAGES += \
SnapdragonCamera2
# DeviceParts
PRODUCT_PACKAGES += \
DeviceParts
# Display
PRODUCT_PACKAGES += \
libvulkan
# HIDL
PRODUCT_PACKAGES += \
# IMS
PRODUCT_PACKAGES += \
ims-ext-common \
ims_ext_common.xml
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.ims.xml:system/etc/permissions/android.hardware.telephony.ims.xml
# Input
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl
# Media
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/etc/media_profiles_vendor.xml
# Net
PRODUCT_PACKAGES += \
netutils-wrapper-1.0
# NfcNci
PRODUCT_PACKAGES += \
RemovePackages
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.secure_lock_screen.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.secure_lock_screen.xml
# Telephony
PRODUCT_PACKAGES += \
qti-telephony-utils \
qti_telephony_utils.xml \
qti-telephony-hidl-wrapper \
qti_telephony_hidl_wrapper.xml
# TextClassifier
PRODUCT_PACKAGES += \
textclassifier.bundle1
# WiFi Display
PRODUCT_PACKAGES += \
libnl