-
Notifications
You must be signed in to change notification settings - Fork 22
/
common-treble.mk
179 lines (158 loc) · 5.3 KB
/
common-treble.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
# Copyright (C) 2014 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Audio
PRODUCT_PACKAGES += \
android.hardware.audio.common@7.0.vendor \
android.hardware.audio.effect@7.0.vendor \
android.hardware.audio.common@7.0-util.vendor \
android.hardware.audio@6.0-impl \
android.hardware.audio@7.0-impl \
android.hardware.audio@7.0.vendor \
android.hardware.audio.service \
android.hardware.audio.effect@6.0-impl \
android.hardware.audio.effect@7.0-impl \
android.hardware.bluetooth@1.0.vendor \
android.hardware.bluetooth@1.1.vendor \
android.hardware.bluetooth.audio-impl \
android.hardware.soundtrigger@2.1.vendor \
android.hardware.soundtrigger@2.2.vendor \
android.hardware.soundtrigger@2.3.vendor \
android.hardware.soundtrigger@2.3-impl
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.device@3.5.vendor \
android.hardware.camera.device@3.6.vendor \
android.hardware.camera.provider@2.5.vendor \
android.hardware.camera.provider@2.6.vendor \
android.hardware.camera.provider@2.7.vendor \
android.frameworks.displayservice@1.0.vendor \
android.frameworks.sensorservice@1.0.vendor
# Configstore
PRODUCT_PACKAGES += \
disable_configstore
# DRM
PRODUCT_PACKAGES += \
android.hardware.drm@1.0.vendor \
android.hardware.drm@1.1.vendor \
android.hardware.drm@1.2.vendor \
android.hardware.drm@1.3.vendor \
android.hardware.drm@1.4.vendor \
android.hardware.drm-service-lazy.clearkey
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1.vendor \
com.motorola.hardware.biometric.fingerprint@1.0.vendor \
vendor.egistec.hardware.fingerprint@4.0.vendor
# GNSS
PRODUCT_PACKAGES += \
android.hardware.gnss.measurement_corrections@1.0.vendor \
android.hardware.gnss.measurement_corrections@1.1.vendor \
android.hardware.gnss.visibility_control@1.0.vendor \
android.hardware.gnss@1.0.vendor \
android.hardware.gnss@1.1.vendor \
android.hardware.gnss@2.0.vendor \
android.hardware.gnss@2.1.vendor
# Health
ifeq ($(PRODUCT_USES_MTK_HARDWARE),true)
PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl \
android.hardware.health@2.1-service
endif
# Lights HAL
PRODUCT_PACKAGES += \
android.hardware.lights-service.moto
# Media
PRODUCT_PACKAGES += \
android.hardware.media.c2@1.0.vendor \
android.hardware.media.c2@1.1.vendor \
android.hardware.media.c2@1.2.vendor \
libavservices_minijail.vendor \
libcodec2_hidl@1.0.vendor \
libcodec2_hidl@1.1.vendor \
libcodec2_hidl@1.2.vendor \
libcodec2_soft_common.vendor \
libcodec2_vndk.vendor \
libsfplugin_ccodec_utils.vendor \
libstagefright_softomx.vendor
# Netmgrd
PRODUCT_PACKAGES += \
android.system.net.netd@1.1.vendor
# NFC
ifeq ($(call device-has-characteristic,nfc),true)
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2.vendor \
android.hardware.secure_element@1.2.vendor
endif
## Specific Chips
ifeq ($(TARGET_USES_NXP_NFC),true)
PRODUCT_PACKAGES += \
android.hardware.nfc-service.nxp
endif
ifeq ($(TARGET_USES_SEC_NFC),true)
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service.samsung \
nfc_nci_samsung
endif
ifeq ($(TARGET_USES_ST_NFC),true)
PRODUCT_PACKAGES += \
android.hardware.nfc-service.st
endif
# Power
PRODUCT_PACKAGES += \
android.hardware.power@1.0.vendor \
android.hardware.power@1.1.vendor \
android.hardware.power@1.2.vendor \
pixel-power-ext-V1-ndk.vendor
ifneq ($(TARGET_USES_PP_HAL),false)
PRODUCT_PACKAGES += \
android.hardware.power-service.moto-common
endif
# QTI Haptics Vibrator
## Used on MTK and QCOM for now
PRODUCT_PACKAGES += \
vendor.qti.hardware.vibrator.service
# RIL
## Interface library needed by vendor blobs:
PRODUCT_PACKAGES += \
android.hardware.radio@1.2.vendor \
android.hardware.radio@1.3.vendor \
android.hardware.radio@1.4.vendor \
android.hardware.radio@1.5.vendor \
android.hardware.radio.config@1.0.vendor \
android.hardware.radio.config@1.1.vendor \
android.hardware.radio.config@1.2.vendor \
android.hardware.radio.config@1.3.vendor \
android.hardware.radio.deprecated@1.0.vendor \
android.hardware.secure_element@1.2.vendor
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@2.0.vendor
ifneq ($(PRODUCT_USES_MTK_HARDWARE),true)
PRODUCT_PACKAGES += \
android.hardware.sensors@2.0-service.multihal
endif
# Thermal HAL
PRODUCT_PACKAGES += \
android.hardware.thermal@1.0.vendor \
android.hardware.thermal@2.0.vendor
# USB HAL
PRODUCT_PACKAGES += \
android.hardware.usb.gadget-service.moto-common \
android.hardware.usb-service.moto-common
# WiFi
PRODUCT_PACKAGES += \
android.hardware.wifi.hostapd@1.0.vendor \
android.hardware.wifi-service \
wpa_supplicant \
hostapd