-
Notifications
You must be signed in to change notification settings - Fork 144
/
common-treble.mk
140 lines (115 loc) · 3.51 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
# RenderScript HAL
PRODUCT_PACKAGES += \
android.hardware.renderscript@1.0-impl
# Composer
PRODUCT_PACKAGES += \
vendor.qti.hardware.display.composer-service
# Linked by Adreno/EGL blobs for fallback if 3.0 doesn't exist
PRODUCT_PACKAGES += \
vendor.qti.hardware.display.mapper@2.0.vendor
# Graphics allocator/mapper
PRODUCT_PACKAGES += \
android.hardware.graphics.mapper@3.0-impl-qti-display \
android.hardware.graphics.mapper@4.0-impl-qti-display
# android.hardware.graphics.allocator@3.0::IAllocator, and
# android.hardware.graphics.allocator@4.0::IAllocator if
# TARGET_USES_GRALLOC4 is not explicitly set to `false`:
PRODUCT_PACKAGES += \
vendor.qti.hardware.display.allocator-service
# Configstore
PRODUCT_PACKAGES += \
android.hardware.configstore@1.1-service
# RIL
# Interface library needed by odm blobs:
PRODUCT_PACKAGES += \
android.hardware.radio@1.5.vendor \
android.hardware.radio.config@1.3.vendor \
android.hardware.radio.deprecated@1.0.vendor \
android.hardware.secure_element@1.2.vendor
# netmgrd
PRODUCT_PACKAGES += \
android.system.net.netd@1.1.vendor
# Audio
PRODUCT_PACKAGES += \
android.hardware.audio@7.1-impl \
android.hardware.audio.service \
android.hardware.audio.effect@7.0-impl \
android.hardware.bluetooth.audio-impl \
android.hardware.soundtrigger@2.3-impl
# Camera
ifneq ($(TARGET_USES_QTI_CAMERA),true)
ifeq ($(TARGET_USES_64BIT_CAMERA),true)
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.5-impl:64 \
android.hardware.camera.provider@2.5-service_64
else
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.5-impl:32 \
android.hardware.camera.provider@2.5-service
endif
endif
# External Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.5-external \
android.hardware.camera.provider@2.5-external-service
# Sensorservice
PRODUCT_PACKAGES += \
android.frameworks.sensorservice@1.0.vendor
# Wi-Fi
PRODUCT_PACKAGES += \
android.hardware.wifi-service \
android.hardware.wifi.hostapd@1.0.vendor
# NFC packages
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service
# GNSS
PRODUCT_PACKAGES += \
android.hardware.gnss@2.1-impl-qti \
android.hardware.gnss@2.1-service-qti
# Light
PRODUCT_PACKAGES += \
android.hardware.light@2.0-service.sony
# Health
PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl-sony \
android.hardware.health@2.1-service
ifeq ($(TARGET_VIBRATOR_V1_2),true)
# QTI Haptics Vibrator
PRODUCT_PACKAGES += \
vendor.qti.hardware.vibrator@1.2-service
else
# Vibrator
PRODUCT_PACKAGES += \
android.hardware.vibrator@1.0-impl \
android.hardware.vibrator@1.0-service
endif
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.sony
# Gatekeeper passthrough service
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-service
# SPU
PRODUCT_PACKAGES += \
android.hardware.authsecret@1.0.vendor
# DRM
PRODUCT_PACKAGES += \
android.hardware.drm@1.0-impl \
android.hardware.drm@1.0-service-lazy \
android.hardware.drm@1.3-service-lazy.clearkey
# Usb HAL
PRODUCT_PACKAGES += \
android.hardware.usb@1.2-service-qti
# Thermal HAL
PRODUCT_PACKAGES += \
android.hardware.thermal@2.0
# Power
PRODUCT_PACKAGES += \
android.hardware.power@1.3-service.sony
# Only define bootctrl HAL availability on AB platforms:
ifeq ($(AB_OTA_UPDATER),true)
PRODUCT_PACKAGES += \
android.hardware.boot@1.1-impl-qti \
android.hardware.boot@1.1-impl-qti.recovery \
android.hardware.boot@1.1-service
endif