exynos9610: Uncomment FMRadio
[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.bluetooth.audio-impl \
42 android.hardware.soundtrigger@2.0-impl \
43 audio.bluetooth.default \
44 audio.r_submix.default \
45 audio.usb.default \
46 libtinycompress \
47 libaudioroute \
48 libgui_vendor
49
50 PRODUCT_COPY_FILES += \
51 frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
52 frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
53 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
54 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
55 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
56 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
57 $(COMMON_PATH)/configs/audio/aov_ec_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aov_ec_mixer_paths.xml \
58 $(COMMON_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
59 $(COMMON_PATH)/configs/audio/audio_ext_spkr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_ext_spkr.conf \
60 $(COMMON_PATH)/configs/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
61 $(COMMON_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
62 $(COMMON_PATH)/configs/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
63 $(COMMON_PATH)/configs/audio/mixer_paths.retin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.retin.xml \
64 $(COMMON_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
65
66 # Bluetooth
67 PRODUCT_PACKAGES += \
68 android.hardware.bluetooth@1.0.vendor \
69 android.hardware.bluetooth.a2dp@1.0.vendor \
70 android.hardware.bluetooth@1.0-impl \
71 android.hardware.bluetooth@1.0-service \
72 libbt-vendor
73
74 PRODUCT_COPY_FILES += \
75 hardware/samsung_slsi/libbt/conf/bt_did.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_did.conf
76
77 # Boot Animation
78 TARGET_SCREEN_HEIGHT := 2520
79 TARGET_SCREEN_WIDTH := 1080
80
81 # Boot Control
82 PRODUCT_PACKAGES += \
83 android.hardware.boot@1.0 \
84 android.hardware.boot@1.0-impl.exynos9610 \
85 android.hardware.boot@1.0-impl.exynos9610.recovery \
86 android.hardware.boot@1.0-service
87
88 # Camera
89 PRODUCT_PACKAGES += \
90 android.frameworks.cameraservice.common@2.0.vendor \
91 android.frameworks.cameraservice.device@2.0.vendor \
92 android.frameworks.cameraservice.service@2.1.vendor \
93 android.hardware.camera.provider@2.4-impl \
94 android.hardware.camera.provider@2.4-service \
95 libsensorndkbridge
96
97 # ConfigStore
98 PRODUCT_PACKAGES += \
99 android.hardware.configstore@1.1-service
100
101 # Dex-pre-opt exclusions
102 $(call add-product-dex-preopt-module-config,MotoSignatureApp,disable)
103
104 # ConfigStore
105 PRODUCT_PACKAGES += \
106 disable_configstore
107
108 # Display
109 PRODUCT_PACKAGES += \
110 android.hardware.graphics.allocator@2.0-impl \
111 android.hardware.graphics.allocator@2.0-service \
112 android.hardware.graphics.composer@2.4-service \
113 android.hardware.graphics.mapper@2.0-impl-2.1
114
115 # DRM
116 PRODUCT_PACKAGES += \
117 android.hardware.drm-service.clearkey \
118 android.hardware.drm@1.3.vendor
119
120 # FastCharge
121 PRODUCT_PACKAGES += \
122 vendor.lineage.fastcharge@1.0-service.samsung
123
124 # Fingerprint
125 PRODUCT_PACKAGES += \
126 android.hardware.biometrics.fingerprint@2.1 \
127 android.hardware.biometrics.fingerprint@2.1.vendor
128
129 # Fingerprint Gestures
130 PRODUCT_COPY_FILES += \
131 $(COMMON_PATH)/configs/idc/uinput-egis.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-egis.idc \
132 $(COMMON_PATH)/configs/keylayout/uinput-egis.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-egis.kl
133
134 # FM Radio
135 PRODUCT_PACKAGES += \
136 FMRadio \
137 libfmjni
138
139 # Gatekeeper
140 PRODUCT_PACKAGES += \
141 android.hardware.gatekeeper@1.0.vendor \
142 android.hardware.gatekeeper@1.0-impl \
143 android.hardware.gatekeeper@1.0-service
144
145 # GPS
146 PRODUCT_PACKAGES += \
147 android.hardware.gnss@2.0.vendor \
148 android.hardware.gnss@2.1.vendor
149
150 PRODUCT_COPY_FILES += \
151 $(COMMON_PATH)/configs/gps/gps.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cfg
152
153 # Graphics
154 # Device uses high-density artwork where available
155 PRODUCT_AAPT_CONFIG := xlarge
156 PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
157 # A list of dpis to select prebuilt apk, in precedence order.
158 PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
159
160 # Health
161 PRODUCT_PACKAGES += \
162 android.hardware.health@2.0-service
163
164 # HIDL
165 PRODUCT_PACKAGES += \
166 android.hidl.allocator@1.0.vendor \
167 android.hidl.memory@1.0.vendor
168
169 # HotwordEnrollement
170 PRODUCT_COPY_FILES += \
171 $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
172
173 # init
174 PRODUCT_COPY_FILES += \
175 $(COMMON_PATH)/configs/init/carrier/init.default.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/carrier/init.default.rc \
176 $(COMMON_PATH)/configs/init/carrier/init.retin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/carrier/init.retin.rc \
177 $(COMMON_PATH)/configs/init/hw/init.mmi.overlay.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.mmi.overlay.rc \
178 $(COMMON_PATH)/configs/init/init.ets.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.ets.rc \
179 $(COMMON_PATH)/configs/init/init.exynos.sensorhub.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos.sensorhub.rc \
180 $(COMMON_PATH)/configs/init/init.exynos9610.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos9610.rc \
181 $(COMMON_PATH)/configs/init/init.exynos9610.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.exynos9610.usb.rc \
182 $(COMMON_PATH)/configs/init/init.mmi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.mmi.rc \
183 $(COMMON_PATH)/configs/init/init.nfc.sec.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.nfc.sec.rc \
184 $(COMMON_PATH)/configs/init/init.recovery.exynos9610.rc:$(TARGET_COPY_OUT_ROOT)/init.recovery.exynos9610.rc \
185 $(COMMON_PATH)/configs/init/mobicore.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/mobicore.rc \
186 $(COMMON_PATH)/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc \
187 $(COMMON_PATH)/configs/init/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc \
188 $(COMMON_PATH)/configs/init/vendor.mmi.carrier.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mmi.carrier.rc \
189 $(COMMON_PATH)/configs/fstab.exynos9610:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.exynos9610
190
191 # Keymaster
192 PRODUCT_PACKAGES += \
193 android.hardware.keymaster@3.0.vendor \
194 android.hardware.keymaster@3.0-impl \
195 android.hardware.keymaster@3.0-service
196
197 # Lights
198 PRODUCT_PACKAGES += \
199 android.hardware.light-service.samsung
200
201 # Livedisplay
202 PRODUCT_PACKAGES += \
203 vendor.lineage.livedisplay@2.0-service.exynos9610
204
205 # Media
206 PRODUCT_PACKAGES += \
207 libcodec2_hidl@1.0.vendor \
208 libcodec2_hidl@1.1.vendor \
209 libavservices_minijail_vendor
210
211 PRODUCT_COPY_FILES += \
212 $(COMMON_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
213 $(COMMON_PATH)/configs/media/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
214 $(COMMON_PATH)/configs/media/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
215 $(COMMON_PATH)/configs/media/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
216 $(COMMON_PATH)/configs/media/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
217 $(COMMON_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
218 $(COMMON_PATH)/configs/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
219 $(COMMON_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
220 $(COMMON_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
221 $(COMMON_PATH)/configs/media/media_profiles_vendor_V1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor_V1.xml
222
223 # Memtrack
224 PRODUCT_PACKAGES += \
225 android.hardware.memtrack@1.0-impl \
226 android.hardware.memtrack@1.0-service
227
228 # MotoActions
229 PRODUCT_PACKAGES += \
230 MotoActions \
231 MotoCommonOverlay
232
233 # NFC
234 PRODUCT_PACKAGES += \
235 android.hardware.nfc@1.2-service.samsung \
236 com.android.nfc_extras \
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
324 # RenderScript HAL
325 PRODUCT_PACKAGES += \
326 android.hardware.renderscript@1.0-impl
327
328 # secure_element
329 PRODUCT_PACKAGES += \
330 android.hardware.secure_element@1.0 \
331 android.hardware.secure_element@1.1 \
332 android.hardware.secure_element@1.2
333
334 # Seccomp
335 PRODUCT_COPY_FILES += \
336 $(COMMON_PATH)/configs/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
337 $(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
338
339 # Sensors
340 PRODUCT_PACKAGES += \
341 android.hardware.sensors@1.0.vendor \
342 android.hardware.sensors@1.0-impl \
343 android.hardware.sensors@1.0-service
344
345 PRODUCT_COPY_FILES += \
346 $(COMMON_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \
347 $(COMMON_PATH)/configs/sensors/mot_sensor_settings.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/mot_sensor_settings.json
348
349 # Shims
350 PRODUCT_PACKAGES += \
351 libaudioproxy_shim \
352 libmemset_shim \
353 libdemangle.vendor
354
355 # Shipping API
356 $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
357
358 # Soong namespaces
359 PRODUCT_SOONG_NAMESPACES += \
360 $(LOCAL_PATH) \
361 hardware/samsung
362
363 # Speed profile services and wifi-service to reduce RAM and storage
364 PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
365
366 # Thermal
367 PRODUCT_PACKAGES += \
368 android.hardware.thermal@1.0-impl \
369 android.hardware.thermal@1.0-service
370
371 PRODUCT_COPY_FILES += \
372 $(COMMON_PATH)/configs/thermal/exynos-thermal.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal.conf \
373 $(COMMON_PATH)/configs/thermal/exynos-thermal.env:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal.env \
374 $(COMMON_PATH)/configs/thermal/exynos-thermal-kane.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-kane.conf \
375 $(COMMON_PATH)/configs/thermal/exynos-thermal-kane-retin.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-kane-retin.conf \
376 $(COMMON_PATH)/configs/thermal/exynos-thermal-troika.conf:$(TARGET_COPY_OUT_VENDOR)/exynos-thermal-troika.conf
377
378 # Trust HAL
379 PRODUCT_PACKAGES += \
380 vendor.lineage.trust@1.0-service
381
382 # USB
383 PRODUCT_PACKAGES += \
384 android.hardware.usb@1.1-service.typec
385
386 # Vibrator
387 PRODUCT_PACKAGES += \
388 android.hardware.vibrator@1.0-service.exynos9610
389
390 # VNDK
391 PRODUCT_PACKAGES += \
392 libutils-v32
393
394 # WiFi
395 PRODUCT_PACKAGES += \
396 android.hardware.wifi@1.0-service \
397 hostapd \
398 libip_checksum_shim.vendor \
399 WifiOverlay \
400 wpa_supplicant
401
402 PRODUCT_COPY_FILES += \
403 $(COMMON_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
404 $(COMMON_PATH)/configs/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \
405 $(COMMON_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf