-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice-lineage.mk
218 lines (181 loc) · 5.98 KB
/
device-lineage.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
#
# Copyright (C) 2020-2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
vendor/qcom/opensource/commonsys-intf/display \
vendor/qcom/opensource/display
# Add common definitions for Qualcomm
$(call inherit-product, hardware/qcom-caf/common/common.mk)
# AiAi Config
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/allowlist_com.google.android.as.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/allowlist_com.google.android.as.xml
# Camera
PRODUCT_PRODUCT_PROPERTIES += \
ro.vendor.camera.extensions.package=com.google.android.apps.camera.services \
ro.vendor.camera.extensions.service=com.google.android.apps.camera.services.extensions.service.PixelExtensions
# DebugFS
PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
# Google Assistant
PRODUCT_PRODUCT_PROPERTIES += ro.opa.eligible_device=true
# HBM
PRODUCT_PACKAGES += \
HbmSVManagerOverlay
# Lineage Health
include hardware/google/pixel/lineage_health/device.mk
# LiveDisplay
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.0-service-sdm
# Parts
PRODUCT_PACKAGES += \
GoogleParts
# RCS
PRODUCT_PACKAGES += \
PresencePolling \
RcsService
# Touch
include hardware/google/pixel/touch/device.mk
# Build necessary packages for system_ext
# Audio
PRODUCT_PACKAGES += \
libaudioroute.vendor
# Display
PRODUCT_PACKAGES += \
android.hardware.radio@1.5 \
android.hardware.radio@1.6 \
vendor.display.config@1.0 \
vendor.display.config@1.1 \
vendor.display.config@1.2 \
vendor.display.config@1.3 \
vendor.display.config@1.4 \
vendor.display.config@1.5 \
vendor.display.config@1.6 \
vendor.display.config@1.7 \
vendor.display.config@1.8
# Build necessary packages for vendor
# Bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0.vendor \
android.hardware.bluetooth@1.1.vendor \
hardware.google.bluetooth.bt_channel_avoidance@1.0.vendor \
hardware.google.bluetooth.sar@1.0.vendor \
vendor.qti.hardware.bluetooth_audio@2.0.vendor
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.device-V1-ndk.vendor:64 \
android.hardware.camera.provider-V1-ndk.vendor:64
# CHRE
PRODUCT_PACKAGES += \
chre
# Codec2
PRODUCT_PACKAGES += \
android.hardware.media.c2@1.0.vendor \
libavservices_minijail.vendor \
libcodec2_hidl@1.0.vendor \
libcodec2_vndk.vendor \
libstagefright_bufferpool@2.0.1.vendor
# Configstore
PRODUCT_PACKAGES += \
disable_configstore
# Confirmation UI
PRODUCT_PACKAGES += \
android.hardware.confirmationui@1.0.vendor:64 \
libteeui_hal_support.vendor:64
# Display
PRODUCT_PACKAGES += \
libdisplayconfig.qti \
vendor.display.config@2.0.vendor \
vendor.qti.hardware.display.mapper@1.1.vendor \
vendor.qti.hardware.display.mapper@2.0.vendor
# GPS
PRODUCT_PACKAGES += \
flp.conf
# HIDL
PRODUCT_PACKAGES += \
libhwbinder.vendor
# Identity credential
PRODUCT_PACKAGES += \
android.hardware.identity-V4-ndk.vendor:64 \
android.hardware.identity-support-lib.vendor:64 \
android.hardware.identity_credential.xml
# Json
PRODUCT_PACKAGES += \
libjson
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-vendorcompat
# Sensor listener
PRODUCT_PACKAGES += \
lib_sensor_listener
# Tinycompress
PRODUCT_PACKAGES += \
libtinycompress
# VNDK FWK detect
PRODUCT_PACKAGES += \
libqti_vndfwk_detect.vendor \
libvndfwk_detect_jni.qti.vendor
# Wi-Fi
PRODUCT_PACKAGES += \
android.hardware.wifi-V2-ndk.vendor:64 \
android.hardware.wifi@1.0.vendor:64 \
libwifi-hal:64 \
libwifi-hal-ctrl:64 \
libwifi-hal-qcom \
libwifi-system-iface.vendor:64
# Misc interfaces
PRODUCT_PACKAGES += \
android.frameworks.sensorservice@1.0.vendor \
android.frameworks.stats@1.0.vendor:64 \
android.hardware.authsecret@1.0.vendor \
android.hardware.biometrics.fingerprint@2.1.vendor:64 \
android.hardware.biometrics.fingerprint@2.2.vendor:64 \
android.hardware.camera.common@1.0.vendor:64 \
android.hardware.camera.device@1.0.vendor:64 \
android.hardware.camera.device@3.2.vendor:64 \
android.hardware.camera.provider@2.4.vendor:64 \
android.hardware.gatekeeper@1.0.vendor \
android.hardware.input.common-V1-ndk.vendor:64 \
android.hardware.input.processor-V1-ndk.vendor:64 \
android.hardware.keymaster-V3-ndk.vendor:64 \
android.hardware.keymaster@3.0.vendor \
android.hardware.keymaster@4.0.vendor \
android.hardware.keymaster@4.1.vendor \
android.hardware.neuralnetworks@1.0.vendor:64 \
android.hardware.neuralnetworks@1.1.vendor:64 \
android.hardware.neuralnetworks@1.2.vendor:64 \
android.hardware.neuralnetworks@1.3.vendor:64 \
android.hardware.oemlock@1.0.vendor:64 \
android.hardware.power-V1-ndk.vendor \
android.hardware.radio.config@1.0.vendor:64 \
android.hardware.radio.config@1.1.vendor:64 \
android.hardware.radio.config@1.2.vendor:64 \
android.hardware.radio.deprecated@1.0.vendor:64 \
android.hardware.radio@1.2.vendor:64 \
android.hardware.radio@1.3.vendor:64 \
android.hardware.radio@1.4.vendor:64 \
android.hardware.radio@1.5.vendor:64 \
android.hardware.rebootescrow-V1-ndk.vendor:64 \
android.hardware.secure_element@1.1.vendor:64 \
android.hardware.secure_element@1.2.vendor:64 \
android.hardware.sensors@1.0.vendor \
android.hardware.sensors@2.0-ScopedWakelock.vendor \
android.hardware.sensors@2.0.vendor \
android.hardware.sensors@2.1.vendor \
android.hardware.thermal@2.0.vendor:64 \
android.hardware.weaver@1.0.vendor:64 \
android.system.net.netd@1.1.vendor:64
# Misc
PRODUCT_PACKAGES += \
libcrypto_utils.vendor:64 \
libpng.vendor \
libsqlite.vendor \
libssl.vendor:32
# Properties
TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop