exynos9610: sepolicy: Bringup for Android 12
[GitHub/LineageOS/android_device_motorola_exynos9610-common.git] / common.mk
1 #
2 # Copyright (C) 2020-2021 The LineageOS Project
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 COMMON_PATH := device/motorola/exynos9610-common
18
19 # Get non-open-source specific aspects
20 $(call inherit-product, vendor/motorola/exynos9610-common/exynos9610-common-vendor.mk)
21
22 # A/B
23 AB_OTA_POSTINSTALL_CONFIG += \
24 RUN_POSTINSTALL_system=true \
25 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
26 FILESYSTEM_TYPE_system=ext4 \
27 POSTINSTALL_OPTIONAL_system=true
28
29 PRODUCT_PACKAGES += \
30 otapreopt_script \
31 update_engine \
32 update_engine_sideload \
33 update_verifier
34
35 # Audio
36 PRODUCT_PACKAGES += \
37 android.hardware.audio@4.0.vendor \
38 android.hardware.audio.effect@4.0-impl \
39 android.hardware.audio@2.0-service \
40 android.hardware.audio@4.0-impl \
41 android.hardware.soundtrigger@2.0-impl \
42 audio.r_submix.default \
43 audio.usb.default \
44 libtinycompress \
45 libaudioroute \
46 libgui_vendor
47
48 PRODUCT_COPY_FILES += \
49 frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
50 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
51 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
52 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
53 $(COMMON_PATH)/configs/audio/aov_ec_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aov_ec_mixer_paths.xml \
54 $(COMMON_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
55 $(COMMON_PATH)/configs/audio/audio_ext_spkr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_ext_spkr.conf \
56 $(COMMON_PATH)/configs/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
57 $(COMMON_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
58 $(COMMON_PATH)/configs/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
59 $(COMMON_PATH)/configs/audio/mixer_paths.retin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.retin.xml \
60 $(COMMON_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
61
62 # Bluetooth
63 PRODUCT_PACKAGES += \
64 android.hardware.bluetooth@1.0.vendor \
65 android.hardware.bluetooth.a2dp@1.0.vendor \
66 android.hardware.bluetooth@1.0-impl \
67 android.hardware.bluetooth@1.0-service \
68 libbt-vendor
69
70 PRODUCT_COPY_FILES += \
71 hardware/samsung_slsi/libbt/conf/bt_did.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_did.conf
72
73 # Boot Animation
74 TARGET_SCREEN_HEIGHT := 2520
75 TARGET_SCREEN_WIDTH := 1080
76
77 # Boot Control
78 PRODUCT_PACKAGES += \
79 android.hardware.boot@1.0 \
80 android.hardware.boot@1.0-impl.exynos9610 \
81 android.hardware.boot@1.0-impl.exynos9610.recovery \
82 android.hardware.boot@1.0-service
83
84 # Camera
85 PRODUCT_PACKAGES += \
86 android.frameworks.cameraservice.common@2.0.vendor \
87 android.frameworks.cameraservice.device@2.0.vendor \
88 android.frameworks.cameraservice.service@2.1.vendor \
89 android.hardware.camera.provider@2.4-impl \
90 android.hardware.camera.provider@2.4-service \
91 libsensorndkbridge
92
93 # ConfigStore
94 PRODUCT_PACKAGES += \
95 android.hardware.configstore@1.1-service
96
97 # Dex-pre-opt exclusions
98 $(call add-product-dex-preopt-module-config,MotoSignatureApp,disable)
99
100 # ConfigStore
101 PRODUCT_PACKAGES += \
102 disable_configstore
103
104 # Display
105 PRODUCT_PACKAGES += \
106 android.hardware.graphics.allocator@2.0-impl \
107 android.hardware.graphics.allocator@2.0-service \
108 android.hardware.graphics.composer@2.4-service \
109 android.hardware.graphics.mapper@2.0-impl-2.1
110
111 # DRM
112 PRODUCT_PACKAGES += \
113 android.hardware.drm@1.0-impl \
114 android.hardware.drm@1.0-service \
115 android.hardware.drm@1.4-service.clearkey \
116 android.hardware.drm@1.3.vendor
117
118 # FastCharge
119 PRODUCT_PACKAGES += \
120 vendor.lineage.fastcharge@1.0-service.samsung
121
122 # Fingerprint
123 PRODUCT_PACKAGES += \
124 android.hardware.biometrics.fingerprint@2.1 \
125 android.hardware.biometrics.fingerprint@2.1.vendor
126
127 # Fingerprint Gestures
128 PRODUCT_COPY_FILES += \
129 $(COMMON_PATH)/configs/idc/uinput-egis.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-egis.idc \
130 $(COMMON_PATH)/configs/keylayout/uinput-egis.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-egis.kl
131
132 # FM Radio
133 PRODUCT_PACKAGES += \
134 FMRadio \
135 libfmjni
136
137 # Gatekeeper
138 PRODUCT_PACKAGES += \
139 android.hardware.gatekeeper@1.0.vendor \
140 android.hardware.gatekeeper@1.0-impl \
141 android.hardware.gatekeeper@1.0-service
142
143 # GPS
144 PRODUCT_PACKAGES += \
145 android.hardware.gnss@2.0.vendor \
146 android.hardware.gnss@2.1.vendor
147
148 PRODUCT_COPY_FILES += \
149 $(COMMON_PATH)/configs/gps/gps.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cfg
150
151 # Graphics
152 # Device uses high-density artwork where available
153 PRODUCT_AAPT_CONFIG := xlarge
154 PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
155 # A list of dpis to select prebuilt apk, in precedence order.
156 PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
157
158 # Health
159 PRODUCT_PACKAGES += \
160 android.hardware.health@2.0-service
161
162 # HIDL
163 PRODUCT_PACKAGES += \
164 android.hidl.allocator@1.0.vendor \
165 android.hidl.memory@1.0.vendor
166
167 # HotwordEnrollement
168 PRODUCT_COPY_FILES += \
169 $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
170
171 # init
172 PRODUCT_COPY_FILES += \
173 $(COMMON_PATH)/configs/init/carrier/init.default.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/carrier/init.default.rc \
174 $(COMMON_PATH)/configs/init/carrier/init.retin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/carrier/init.retin.rc \
175 $(COMMON_PATH)/configs/init/hw/init.mmi.overlay.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.mmi.overlay.rc \
176 $(COMMON_PATH)/configs/init/init.ets.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.ets.rc \
177 $(COMMON_PATH)/configs/init/init.exynos.sensorhub.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos.sensorhub.rc \
178 $(COMMON_PATH)/configs/init/init.exynos9610.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos9610.rc \
179 $(COMMON_PATH)/configs/init/init.exynos9610.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos9610.usb.rc \
180 $(COMMON_PATH)/configs/init/init.mmi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.mmi.rc \
181 $(COMMON_PATH)/configs/init/init.nfc.sec.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.nfc.sec.rc \
182 $(COMMON_PATH)/configs/init/init.recovery.exynos9610.rc:$(TARGET_COPY_OUT_ROOT)/init.recovery.exynos9610.rc \
183 $(COMMON_PATH)/configs/init/mobicore.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/mobicore.rc \
184 $(COMMON_PATH)/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc \
185 $(COMMON_PATH)/configs/init/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
186 $(COMMON_PATH)/configs/init/vendor.mmi.carrier.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mmi.carrier.rc \
187 $(COMMON_PATH)/configs/fstab.exynos9610:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.exynos9610
188
189 # Keymaster
190 PRODUCT_PACKAGES += \
191 android.hardware.keymaster@3.0.vendor \
192 android.hardware.keymaster@3.0-impl \
193 android.hardware.keymaster@3.0-service
194
195 # Lights
196 PRODUCT_PACKAGES += \
197 android.hardware.light-service.samsung
198
199 # Livedisplay
200 PRODUCT_PACKAGES += \
201 vendor.lineage.livedisplay@2.0-service.exynos9610
202
203 # Media
204 PRODUCT_PACKAGES += \
205 libcodec2-hidl-defaults@1.1 \
206 libcodec2_hidl@1.0.vendor \
207 libcodec2_hidl@1.1.vendor \
208 libavservices_minijail_vendor
209
210 PRODUCT_COPY_FILES += \
211 $(COMMON_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
212 $(COMMON_PATH)/configs/media/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
213 $(COMMON_PATH)/configs/media/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
214 $(COMMON_PATH)/configs/media/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
215 $(COMMON_PATH)/configs/media/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
216 $(COMMON_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
217 $(COMMON_PATH)/configs/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
218 $(COMMON_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
219 $(COMMON_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
220 $(COMMON_PATH)/configs/media/media_profiles_vendor_V1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor_V1.xml
221
222 # Memtrack
223 PRODUCT_PACKAGES += \
224 android.hardware.memtrack@1.0-impl \
225 android.hardware.memtrack@1.0-service
226
227 # MotoActions
228 PRODUCT_PACKAGES += \
229 MotoActions
230
231 # NFC
232 PRODUCT_PACKAGES += \
233 android.hardware.nfc@1.2-service.samsung \
234 com.android.nfc_extras \
235 NfcNci \
236 SecureElement \
237 Tag
238
239 PRODUCT_COPY_FILES += \
240 $(COMMON_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
241 $(COMMON_PATH)/configs/nfc/libnfc-sec-vendor.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-sec-vendor.conf
242
243 # OMX
244 PRODUCT_PACKAGES += \
245 android.hardware.media.omx@1.0-service \
246 libstagefright_softomx
247
248 # Overlays
249 DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay
250 PRODUCT_ENFORCE_RRO_TARGETS += *
251
252 # Permissions
253 PRODUCT_COPY_FILES += \
254 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
255 frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.xml \
256 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
257 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
258 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
259 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
260 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
261 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
262 frameworks/native/data/etc/android.hardware.camera.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \
263 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
264 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
265 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
266 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
267 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
268 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
269 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
270 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
271 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
272 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
273 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
274 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
275 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
276 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
277 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
278 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \
279 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
280 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \
281 frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
282 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
283 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
284 frameworks/native/data/etc/android.software.opengles.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
285 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
286 frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
287
288 PRODUCT_COPY_FILES += \
289 frameworks/native/data/etc/android.hardware.telephony.ims.xml:system/etc/permissions/android.hardware.telephony.ims.xml \
290 frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
291 frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
292 frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hcef.xml
293
294 # Power
295 PRODUCT_PACKAGES += \
296 android.hardware.power@1.2.vendor \
297 android.hardware.power@1.0-impl \
298 android.hardware.power@1.0-service
299
300 # Public Libraries
301 PRODUCT_COPY_FILES += \
302 $(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
303
304 # ril
305 PRODUCT_PACKAGES += \
306 android.hardware.radio.config@1.2.vendor \
307 android.hardware.radio.config@1.0 \
308 android.hardware.radio.config@1.1 \
309 android.hardware.radio.config@1.2 \
310 android.hardware.radio@1.4.vendor \
311 android.hardware.radio@1.5.vendor \
312 android.hardware.radio@1.0 \
313 android.hardware.radio@1.1 \
314 android.hardware.radio@1.2 \
315 android.hardware.radio@1.3 \
316 android.hardware.radio@1.4 \
317 android.hardware.radio@1.5 \
318 android.hardware.radio.deprecated@1.0.vendor \
319 android.hardware.radio.deprecated@1.0 \
320 android.hardware.secure_element@1.0.vendor \
321 android.hardware.secure_element@1.2 \
322 android.hardware.secure_element@1.2.vendor \
323 libjson.vendor
324
325 # RenderScript HAL
326 PRODUCT_PACKAGES += \
327 android.hardware.renderscript@1.0-impl
328
329 # secure_element
330 PRODUCT_PACKAGES += \
331 android.hardware.secure_element@1.0 \
332 android.hardware.secure_element@1.1 \
333 android.hardware.secure_element@1.2
334
335 # Seccomp
336 PRODUCT_COPY_FILES += \
337 $(COMMON_PATH)/configs/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
338 $(COMMON_PATH)/configs/seccomp/samsung.hardware.media.c2@1.1-default-seccomp-policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/samsung.hardware.media.c2@1.1-default-seccomp-policy
339
340 # Sensors
341 PRODUCT_PACKAGES += \
342 android.hardware.sensors@1.0.vendor \
343 android.hardware.sensors@1.0-impl \
344 android.hardware.sensors@1.0-service
345
346 PRODUCT_COPY_FILES += \
347 $(COMMON_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \
348 $(COMMON_PATH)/configs/sensors/mot_sensor_settings.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/mot_sensor_settings.json
349
350 # Shims
351 PRODUCT_PACKAGES += \
352 libaudioproxy_shim \
353 libmemset \
354 libdemangle.vendor
355
356 # Shipping API
357 $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
358
359 # Thermal
360 PRODUCT_PACKAGES += \
361 android.hardware.thermal@1.0-impl \
362 android.hardware.thermal@1.0-service
363
364 PRODUCT_COPY_FILES += \
365 $(COMMON_PATH)/configs/thermal/exynos-thermal.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal.conf \
366 $(COMMON_PATH)/configs/thermal/exynos-thermal.env:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal.env \
367 $(COMMON_PATH)/configs/thermal/exynos-thermal-kane.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-kane.conf \
368 $(COMMON_PATH)/configs/thermal/exynos-thermal-kane-retin.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-kane-retin.conf \
369 $(COMMON_PATH)/configs/thermal/exynos-thermal-troika.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-troika.conf
370
371 # Trust HAL
372 PRODUCT_PACKAGES += \
373 vendor.lineage.trust@1.0-service
374
375 # USB
376 PRODUCT_PACKAGES += \
377 android.hardware.usb@1.1-service.typec
378
379 # Vibrator
380 PRODUCT_PACKAGES += \
381 android.hardware.vibrator@1.0-service.exynos9610
382
383 # WiFi
384 PRODUCT_PACKAGES += \
385 android.hardware.wifi@1.0-service \
386 hostapd \
387 TetheringOverlay \
388 WifiOverlay \
389 wpa_supplicant
390
391 PRODUCT_COPY_FILES += \
392 $(COMMON_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
393 $(COMMON_PATH)/configs/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \
394 $(COMMON_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf