-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice-lineage.mk
208 lines (181 loc) · 6.19 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
#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
ANGLE
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# Kernel
TARGET_PREBUILT_KERNEL := device/google/pantah-kernel/Image.lz4
# PowerShare
include hardware/google/pixel/powershare/device.mk
# wireless_charger HAL service
include device/google/gs-common/wireless_charger/wireless_charger.mk
# Face Unlock
include vendor/google/faceunlock/device.mk
# PixelParts
include packages/apps/PixelParts/device.mk
# Gapps
WITH_GMS := true
WITH_GAPPS := true
BUILD_GMS_OVERLAYS_AND_PROPS := true
TARGET_SUPPORTS_QUICK_TAP := true
TARGET_SUPPORTS_CALL_RECORDING := true
# Sigma build flags
SIGMA_BUILD_TYPE := OFFICIAL
SIGMA_MAINTAINER := Albinoman887
TARGET_HAS_UDFPS := true
TARGET_ENABLE_BLUR := true
TARGET_IS_PIXEL := true
TARGET_SUPPORTS_CLEAR_CALLING := true
# Build necessary packages for vendor
# Audio
PRODUCT_PACKAGES += \
libaudioroutev2.vendor \
libtinycompress
# Bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth-V1-ndk.vendor:64 \
# Camera
PRODUCT_PACKAGES += \
libGralloc4Wrapper \
pixel-power-ext-V1-ndk.vendor:32
# Codec2
PRODUCT_PACKAGES += \
[email protected]:64 \
[email protected]:64 \
libacryl \
libacryl_hdr_plugin \
libavservices_minijail.vendor:64 \
[email protected]:64 \
[email protected]:64 \
libcodec2_soft_common.vendor:64 \
libcodec2_vndk.vendor \
libexynosutils \
libexynosv4l2 \
libmedia_ecoservice.vendor \
libsfplugin_ccodec_utils.vendor \
libvendorgraphicbuffer
# Confirmation UI
PRODUCT_PACKAGES += \
android.hardware.confirmationui-V1-ndk.vendor:64 \
android.hardware.confirmationui-lib.trusty:64 \
[email protected]:64 \
libteeui_hal_support.vendor:64
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
# Graphics
PRODUCT_PACKAGES += \
libEGL_angle \
libGLESv1_CM_angle \
libGLESv2_angle
# HIDL
PRODUCT_PACKAGES += \
libhidltransport.vendor \
libhwbinder.vendor
# Identity credential
PRODUCT_PACKAGES += \
android.hardware.identity-V5-ndk.vendor:64 \
android.hardware.identity-support-lib.vendor:64 \
android.hardware.identity_credential.xml
# Json
PRODUCT_PACKAGES += \
libjson:64
# Nos
PRODUCT_PACKAGES += \
libkeymaster4support.vendor:64 \
libkeymint_support.vendor:64 \
libnos:64 \
libnosprotos:64 \
libnos_client_citadel:64 \
libnos_datagram:64 \
libnos_datagram_citadel:64 \
libnos_feature:64 \
libnos_transport:64 \
nos_app_avb:64 \
nos_app_identity:64 \
nos_app_keymaster:64 \
nos_app_keymaster_ctdl:64 \
nos_app_weaver:64 \
pixelpowerstats_provider_aidl_interface-cpp.vendor:64
# Radio
PRODUCT_PACKAGES += \
modem_android_property_manager.vendor:32 \
modem_android_property_manager_impl.vendor:32 \
modem_clock_manager.vendor \
modem_clock_manager_impl.vendor \
modem_log_constants.vendor:32
# Sensors
PRODUCT_PACKAGES += \
libsensorndkbridge \
sensors.dynamic_sensor_hal
# Trusty
PRODUCT_PACKAGES += \
android.trusty.stats.nw.setter-cpp.vendor:64 \
libbinder_trusty:64 \
libtrusty_metrics:64
# Misc interfaces
PRODUCT_PACKAGES += \
android.frameworks.stats-V1-cpp.vendor:64 \
android.frameworks.stats-V1-ndk.vendor:32 \
android.hardware.authsecret-V1-ndk.vendor:64 \
android.hardware.biometrics.common-V3-ndk.vendor:64 \
android.hardware.biometrics.fingerprint-V3-ndk.vendor:64 \
android.hardware.gnss-V3-ndk.vendor:64 \
android.hardware.health-V1-ndk.vendor \
android.hardware.input.common-V1-ndk.vendor:64 \
android.hardware.input.processor-V1-ndk.vendor:64 \
android.hardware.keymaster-V4-ndk.vendor:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
android.hardware.neuralnetworks-V4-ndk.vendor:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
android.hardware.oemlock-V1-ndk.vendor:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
android.hardware.radio-V1-ndk.vendor \
android.hardware.radio.config-V1-ndk.vendor \
android.hardware.radio.data-V1-ndk.vendor \
android.hardware.radio.messaging-V1-ndk.vendor \
android.hardware.radio.modem-V1-ndk.vendor \
android.hardware.radio.network-V1-ndk.vendor \
android.hardware.radio.sim-V1-ndk.vendor \
android.hardware.radio.voice-V1-ndk.vendor \
android.hardware.thermal-V1-ndk.vendor:32 \
[email protected]:32 \
[email protected]:32 \
android.hardware.weaver-V2-ndk.vendor:64 \
android.hardware.wifi-V1-ndk.vendor:64 \
com.google.hardware.pixel.display-V4-ndk.vendor:64 \
com.google.hardware.pixel.display-V9-ndk.vendor