-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevice.mk
134 lines (106 loc) · 2.62 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Boot animation
TARGET_SCREEN_HEIGHT := 1520
TARGET_SCREEN_WIDTH := 720
# Screen density
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# ANT+
PRODUCT_COPY_FILES += \
external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:system/etc/permissions/com.dsi.ant.antradio_library.xml
PRODUCT_PACKAGES += \
AntHalService \
com.dsi.ant.antradio_library
# Bluetooth
PRODUCT_PACKAGES += \
BluetoothQti
# Camera
PRODUCT_PACKAGES += \
Snap
# CNE
PRODUCT_PACKAGES += \
libcnefeatureconfig
# Device-specific Settings
PRODUCT_PACKAGES += \
XiaomiParts
# Framework detect
PRODUCT_PACKAGES += \
libqti_vndfwk_detect \
libvndfwk_detect_jni.qti
# HIDL
PRODUCT_PACKAGES += \
# HW Crypto
PRODUCT_PACKAGES += \
libcrypto
# Kernel
LOCAL_KERNEL := device/xiaomi/olive-kernel/kernel
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
# Lights
PRODUCT_PACKAGES += \
[email protected]_olive
# Net
PRODUCT_PACKAGES += \
libandroid_net \
netutils-wrapper-1.0
# Properties
include $(LOCAL_PATH)/product_prop.mk
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
# QCOM
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/permissions/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml
# RCS
PRODUCT_PACKAGES += \
com.android.ims.rcsmanager \
PresencePolling \
RcsService
# RIl
PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
librmnetctl \
libxml2 \
qti-telephony-hidl-wrapper \
qti_telephony_hidl_wrapper.xml \
qti-telephony-utils \
qti_telephony_utils.xml
# Soong namespace
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Telephony
PRODUCT_PACKAGES += \
ims-ext-common \
ims_ext_common.xml \
telephony-ext
PRODUCT_BOOT_JARS += \
telephony-ext
# TextClassifier
PRODUCT_PACKAGES += \
textclassifier.bundle1
# VNDK
PRODUCT_TARGET_VNDK_VERSION := 29
PRODUCT_PACKAGES += \
vndk_package
# Wifi
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/WCNSS_cfg.dat:$(TARGET_COPY_OUT_SYSTEM)/etc/firmware/wlan/prima/WCNSS_cfg.dat
# WiFi Display
PRODUCT_PACKAGES += \
libnl
PRODUCT_BOOT_JARS += \
WfdCommon
# Get non-open-source specific aspects
$(call inherit-product, vendor/xiaomi/olive/olive-vendor.mk)