exynos9610: Speed profile services and wifi-service to reduce RAM and storage
[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-service.clearkey \
114 android.hardware.drm@1.3.vendor
115
116 # FastCharge
117 PRODUCT_PACKAGES += \
118 vendor.lineage.fastcharge@1.0-service.samsung
119
120 # Fingerprint
121 PRODUCT_PACKAGES += \
122 android.hardware.biometrics.fingerprint@2.1 \
123 android.hardware.biometrics.fingerprint@2.1.vendor
124
125 # Fingerprint Gestures
126 PRODUCT_COPY_FILES += \
127 $(COMMON_PATH)/configs/idc/uinput-egis.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-egis.idc \
128 $(COMMON_PATH)/configs/keylayout/uinput-egis.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-egis.kl
129
130 # FM Radio
131 #PRODUCT_PACKAGES += \
132 # FMRadio \
133 # libfmjni
134
135 # Gatekeeper
136 PRODUCT_PACKAGES += \
137 android.hardware.gatekeeper@1.0.vendor \
138 android.hardware.gatekeeper@1.0-impl \
139 android.hardware.gatekeeper@1.0-service
140
141 # GPS
142 PRODUCT_PACKAGES += \
143 android.hardware.gnss@2.0.vendor \
144 android.hardware.gnss@2.1.vendor
145
146 PRODUCT_COPY_FILES += \
147 $(COMMON_PATH)/configs/gps/gps.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cfg
148
149 # Graphics
150 # Device uses high-density artwork where available
151 PRODUCT_AAPT_CONFIG := xlarge
152 PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
153 # A list of dpis to select prebuilt apk, in precedence order.
154 PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
155
156 # Health
157 PRODUCT_PACKAGES += \
158 android.hardware.health@2.0-service
159
160 # HIDL
161 PRODUCT_PACKAGES += \
162 android.hidl.allocator@1.0.vendor \
163 android.hidl.memory@1.0.vendor
164
165 # HotwordEnrollement
166 PRODUCT_COPY_FILES += \
167 $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
168
169 # init
170 PRODUCT_COPY_FILES += \
171 $(COMMON_PATH)/configs/init/carrier/init.default.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/carrier/init.default.rc \
172 $(COMMON_PATH)/configs/init/carrier/init.retin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/carrier/init.retin.rc \
173 $(COMMON_PATH)/configs/init/hw/init.mmi.overlay.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.mmi.overlay.rc \
174 $(COMMON_PATH)/configs/init/init.ets.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.ets.rc \
175 $(COMMON_PATH)/configs/init/init.exynos.sensorhub.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos.sensorhub.rc \
176 $(COMMON_PATH)/configs/init/init.exynos9610.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos9610.rc \
177 $(COMMON_PATH)/configs/init/init.exynos9610.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos9610.usb.rc \
178 $(COMMON_PATH)/configs/init/init.mmi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.mmi.rc \
179 $(COMMON_PATH)/configs/init/init.nfc.sec.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.nfc.sec.rc \
180 $(COMMON_PATH)/configs/init/init.recovery.exynos9610.rc:$(TARGET_COPY_OUT_ROOT)/init.recovery.exynos9610.rc \
181 $(COMMON_PATH)/configs/init/mobicore.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/mobicore.rc \
182 $(COMMON_PATH)/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc \
183 $(COMMON_PATH)/configs/init/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc \
184 $(COMMON_PATH)/configs/init/vendor.mmi.carrier.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mmi.carrier.rc \
185 $(COMMON_PATH)/configs/fstab.exynos9610:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.exynos9610
186
187 # Keymaster
188 PRODUCT_PACKAGES += \
189 android.hardware.keymaster@3.0.vendor \
190 android.hardware.keymaster@3.0-impl \
191 android.hardware.keymaster@3.0-service
192
193 # Lights
194 PRODUCT_PACKAGES += \
195 android.hardware.light-service.samsung
196
197 # Livedisplay
198 PRODUCT_PACKAGES += \
199 vendor.lineage.livedisplay@2.0-service.exynos9610
200
201 # Media
202 PRODUCT_PACKAGES += \
203 libcodec2_hidl@1.0.vendor \
204 libcodec2_hidl@1.1.vendor \
205 libavservices_minijail_vendor
206
207 PRODUCT_COPY_FILES += \
208 $(COMMON_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
209 $(COMMON_PATH)/configs/media/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
210 $(COMMON_PATH)/configs/media/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
211 $(COMMON_PATH)/configs/media/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
212 $(COMMON_PATH)/configs/media/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
213 $(COMMON_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
214 $(COMMON_PATH)/configs/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
215 $(COMMON_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
216 $(COMMON_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
217 $(COMMON_PATH)/configs/media/media_profiles_vendor_V1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor_V1.xml
218
219 # Memtrack
220 PRODUCT_PACKAGES += \
221 android.hardware.memtrack@1.0-impl \
222 android.hardware.memtrack@1.0-service
223
224 # MotoActions
225 PRODUCT_PACKAGES += \
226 MotoActions \
227 MotoCommonOverlay
228
229 # NFC
230 PRODUCT_PACKAGES += \
231 android.hardware.nfc@1.2-service.samsung \
232 com.android.nfc_extras \
233 NfcNci \
234 SecureElement \
235 Tag
236
237 PRODUCT_COPY_FILES += \
238 $(COMMON_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
239 $(COMMON_PATH)/configs/nfc/libnfc-sec-vendor.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-sec-vendor.conf
240
241 # OMX
242 PRODUCT_PACKAGES += \
243 android.hardware.media.omx@1.0-service \
244 libstagefright_softomx
245
246 # Overlays
247 DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay
248 PRODUCT_ENFORCE_RRO_TARGETS += *
249
250 # Permissions
251 PRODUCT_COPY_FILES += \
252 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
253 frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.xml \
254 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
255 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
256 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
257 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
258 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
259 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
260 frameworks/native/data/etc/android.hardware.camera.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \
261 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
262 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
263 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
264 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
265 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
266 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
267 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
268 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
269 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
270 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
271 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
272 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
273 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
274 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
275 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
276 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \
277 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
278 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \
279 frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
280 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
281 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
282 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 \
283 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
284 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
285
286 PRODUCT_COPY_FILES += \
287 frameworks/native/data/etc/android.hardware.telephony.ims.xml:system/etc/permissions/android.hardware.telephony.ims.xml \
288 frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
289 frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
290 frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hcef.xml
291
292 # Power
293 PRODUCT_PACKAGES += \
294 android.hardware.power@1.2.vendor \
295 android.hardware.power@1.0-impl \
296 android.hardware.power@1.0-service
297
298 # Public Libraries
299 PRODUCT_COPY_FILES += \
300 $(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
301
302 # ril
303 PRODUCT_PACKAGES += \
304 android.hardware.radio.config@1.2.vendor \
305 android.hardware.radio.config@1.0 \
306 android.hardware.radio.config@1.1 \
307 android.hardware.radio.config@1.2 \
308 android.hardware.radio@1.4.vendor \
309 android.hardware.radio@1.5.vendor \
310 android.hardware.radio@1.0 \
311 android.hardware.radio@1.1 \
312 android.hardware.radio@1.2 \
313 android.hardware.radio@1.3 \
314 android.hardware.radio@1.4 \
315 android.hardware.radio@1.5 \
316 android.hardware.radio.deprecated@1.0.vendor \
317 android.hardware.radio.deprecated@1.0 \
318 android.hardware.secure_element@1.0.vendor \
319 android.hardware.secure_element@1.2 \
320 android.hardware.secure_element@1.2.vendor
321
322 # RenderScript HAL
323 PRODUCT_PACKAGES += \
324 android.hardware.renderscript@1.0-impl
325
326 # secure_element
327 PRODUCT_PACKAGES += \
328 android.hardware.secure_element@1.0 \
329 android.hardware.secure_element@1.1 \
330 android.hardware.secure_element@1.2
331
332 # Seccomp
333 PRODUCT_COPY_FILES += \
334 $(COMMON_PATH)/configs/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
335 $(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
336
337 # Sensors
338 PRODUCT_PACKAGES += \
339 android.hardware.sensors@1.0.vendor \
340 android.hardware.sensors@1.0-impl \
341 android.hardware.sensors@1.0-service
342
343 PRODUCT_COPY_FILES += \
344 $(COMMON_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \
345 $(COMMON_PATH)/configs/sensors/mot_sensor_settings.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/mot_sensor_settings.json
346
347 # Shims
348 PRODUCT_PACKAGES += \
349 libaudioproxy_shim \
350 libmemset_shim \
351 libdemangle.vendor
352
353 # Shipping API
354 $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
355
356 # Soong namespaces
357 PRODUCT_SOONG_NAMESPACES += \
358 $(LOCAL_PATH) \
359 hardware/samsung
360
361 # Speed profile services and wifi-service to reduce RAM and storage
362 PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
363
364 # Thermal
365 PRODUCT_PACKAGES += \
366 android.hardware.thermal@1.0-impl \
367 android.hardware.thermal@1.0-service
368
369 PRODUCT_COPY_FILES += \
370 $(COMMON_PATH)/configs/thermal/exynos-thermal.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal.conf \
371 $(COMMON_PATH)/configs/thermal/exynos-thermal.env:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal.env \
372 $(COMMON_PATH)/configs/thermal/exynos-thermal-kane.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-kane.conf \
373 $(COMMON_PATH)/configs/thermal/exynos-thermal-kane-retin.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-kane-retin.conf \
374 $(COMMON_PATH)/configs/thermal/exynos-thermal-troika.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-troika.conf
375
376 # Trust HAL
377 PRODUCT_PACKAGES += \
378 vendor.lineage.trust@1.0-service
379
380 # USB
381 PRODUCT_PACKAGES += \
382 android.hardware.usb@1.1-service.typec
383
384 # Vibrator
385 PRODUCT_PACKAGES += \
386 android.hardware.vibrator@1.0-service.exynos9610
387
388 # VNDK
389 PRODUCT_PACKAGES += \
390 libutils-v32
391
392 # WiFi
393 PRODUCT_PACKAGES += \
394 android.hardware.wifi@1.0-service \
395 hostapd \
396 libip_checksum_shim.vendor \
397 WifiOverlay \
398 wpa_supplicant
399
400 PRODUCT_COPY_FILES += \
401 $(COMMON_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
402 $(COMMON_PATH)/configs/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \
403 $(COMMON_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf