exynos9610: sepolicy: Bringup for Android 12
[GitHub/LineageOS/android_device_motorola_exynos9610-common.git] / common.mk
CommitLineData
0ece9c09 1#
27b21431 2# Copyright (C) 2020-2021 The LineageOS Project
0ece9c09
JA
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
17COMMON_PATH := device/motorola/exynos9610-common
18
19# Get non-open-source specific aspects
11b4b69c 20$(call inherit-product, vendor/motorola/exynos9610-common/exynos9610-common-vendor.mk)
0ece9c09 21
0ece9c09 22# A/B
0ece9c09
JA
23AB_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
27b21431
NJ
29PRODUCT_PACKAGES += \
30 otapreopt_script \
31 update_engine \
32 update_engine_sideload \
33 update_verifier
c15915df
JA
34
35# Audio
6a4d5429 36PRODUCT_PACKAGES += \
46c55f80 37 android.hardware.audio@4.0.vendor \
2883f498
JA
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 \
6a4d5429 44 libtinycompress \
2883f498
JA
45 libaudioroute \
46 libgui_vendor
6a4d5429 47
c15915df
JA
48PRODUCT_COPY_FILES += \
49 frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
27b21431
NJ
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 \
c15915df
JA
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 \
27b21431 60 $(COMMON_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
0ece9c09 61
1df7295c 62# Bluetooth
1df7295c 63PRODUCT_PACKAGES += \
46c55f80
L
64 android.hardware.bluetooth@1.0.vendor \
65 android.hardware.bluetooth.a2dp@1.0.vendor \
2883f498
JA
66 android.hardware.bluetooth@1.0-impl \
67 android.hardware.bluetooth@1.0-service \
1df7295c
JA
68 libbt-vendor
69
27b21431
NJ
70PRODUCT_COPY_FILES += \
71 hardware/samsung_slsi/libbt/conf/bt_did.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_did.conf
72
73# Boot Animation
0ece9c09
JA
74TARGET_SCREEN_HEIGHT := 2520
75TARGET_SCREEN_WIDTH := 1080
76
27b21431 77# Boot Control
6a4d5429 78PRODUCT_PACKAGES += \
063a41e2 79 android.hardware.boot@1.0 \
063a41e2 80 android.hardware.boot@1.0-impl.exynos9610 \
27b21431
NJ
81 android.hardware.boot@1.0-impl.exynos9610.recovery \
82 android.hardware.boot@1.0-service
6a4d5429 83
27b21431 84# Camera
6a4d5429 85PRODUCT_PACKAGES += \
46c55f80
L
86 android.frameworks.cameraservice.common@2.0.vendor \
87 android.frameworks.cameraservice.device@2.0.vendor \
88 android.frameworks.cameraservice.service@2.1.vendor \
2883f498
JA
89 android.hardware.camera.provider@2.4-impl \
90 android.hardware.camera.provider@2.4-service \
29f3a438 91 libsensorndkbridge
6a4d5429 92
27b21431 93# ConfigStore
2883f498
JA
94PRODUCT_PACKAGES += \
95 android.hardware.configstore@1.1-service
96
1dff018f
NJ
97# Dex-pre-opt exclusions
98$(call add-product-dex-preopt-module-config,MotoSignatureApp,disable)
99
fb236fad
AK
100# ConfigStore
101PRODUCT_PACKAGES += \
102 disable_configstore
103
2883f498
JA
104# Display
105PRODUCT_PACKAGES += \
106 android.hardware.graphics.allocator@2.0-impl \
107 android.hardware.graphics.allocator@2.0-service \
95a0a541 108 android.hardware.graphics.composer@2.4-service \
668d3083 109 android.hardware.graphics.mapper@2.0-impl-2.1
2883f498
JA
110
111# DRM
112PRODUCT_PACKAGES += \
113 android.hardware.drm@1.0-impl \
114 android.hardware.drm@1.0-service \
46c55f80
L
115 android.hardware.drm@1.4-service.clearkey \
116 android.hardware.drm@1.3.vendor
2883f498 117
abcc21a3
JA
118# FastCharge
119PRODUCT_PACKAGES += \
120 vendor.lineage.fastcharge@1.0-service.samsung
121
edd584d8
JA
122# Fingerprint
123PRODUCT_PACKAGES += \
46c55f80
L
124 android.hardware.biometrics.fingerprint@2.1 \
125 android.hardware.biometrics.fingerprint@2.1.vendor
edd584d8 126
2ca78e14
JA
127# Fingerprint Gestures
128PRODUCT_COPY_FILES += \
27b21431
NJ
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
2ca78e14 131
27b21431 132# FM Radio
f6a94748
JA
133PRODUCT_PACKAGES += \
134 FMRadio \
135 libfmjni
136
2883f498
JA
137# Gatekeeper
138PRODUCT_PACKAGES += \
46c55f80 139 android.hardware.gatekeeper@1.0.vendor \
2883f498
JA
140 android.hardware.gatekeeper@1.0-impl \
141 android.hardware.gatekeeper@1.0-service
142
c15915df 143# GPS
46c55f80
L
144PRODUCT_PACKAGES += \
145 android.hardware.gnss@2.0.vendor \
146 android.hardware.gnss@2.1.vendor
147
c15915df
JA
148PRODUCT_COPY_FILES += \
149 $(COMMON_PATH)/configs/gps/gps.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cfg
150
0ece9c09
JA
151# Graphics
152# Device uses high-density artwork where available
153PRODUCT_AAPT_CONFIG := xlarge
154PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
155# A list of dpis to select prebuilt apk, in precedence order.
156PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
b19bb8fb 157
2883f498
JA
158# Health
159PRODUCT_PACKAGES += \
160 android.hardware.health@2.0-service
161
46c55f80
L
162# HIDL
163PRODUCT_PACKAGES += \
164 android.hidl.allocator@1.0.vendor \
165 android.hidl.memory@1.0.vendor
166
b19bb8fb
JA
167# HotwordEnrollement
168PRODUCT_COPY_FILES += \
edd584d8 169 $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
82da74af 170
ccfb5309
JA
171# init
172PRODUCT_COPY_FILES += \
4f7404f0
JA
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 \
4f7404f0 175 $(COMMON_PATH)/configs/init/hw/init.mmi.overlay.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.mmi.overlay.rc \
4f7404f0
JA
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 \
4f7404f0
JA
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 \
4f7404f0 184 $(COMMON_PATH)/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc \
4f7404f0 185 $(COMMON_PATH)/configs/init/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
4f7404f0
JA
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
ccfb5309 188
2883f498
JA
189# Keymaster
190PRODUCT_PACKAGES += \
46c55f80 191 android.hardware.keymaster@3.0.vendor \
2883f498
JA
192 android.hardware.keymaster@3.0-impl \
193 android.hardware.keymaster@3.0-service
194
dbbd2806
JA
195# Lights
196PRODUCT_PACKAGES += \
55fad84d 197 android.hardware.light-service.samsung
dbbd2806 198
104e2518
JA
199# Livedisplay
200PRODUCT_PACKAGES += \
201 vendor.lineage.livedisplay@2.0-service.exynos9610
202
c15915df 203# Media
edd584d8
JA
204PRODUCT_PACKAGES += \
205 libcodec2-hidl-defaults@1.1 \
206 libcodec2_hidl@1.0.vendor \
207 libcodec2_hidl@1.1.vendor \
208 libavservices_minijail_vendor
209
c15915df
JA
210PRODUCT_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 \
edd584d8 217 $(COMMON_PATH)/configs/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
c15915df
JA
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
2883f498
JA
222# Memtrack
223PRODUCT_PACKAGES += \
224 android.hardware.memtrack@1.0-impl \
225 android.hardware.memtrack@1.0-service
226
27b21431
NJ
227# MotoActions
228PRODUCT_PACKAGES += \
229 MotoActions
230
82da74af
JA
231# NFC
232PRODUCT_PACKAGES += \
27b21431
NJ
233 android.hardware.nfc@1.2-service.samsung \
234 com.android.nfc_extras \
82da74af 235 NfcNci \
82da74af 236 SecureElement \
27b21431 237 Tag
82da74af 238
c15915df
JA
239PRODUCT_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
6a4d5429
JA
243# OMX
244PRODUCT_PACKAGES += \
2883f498 245 android.hardware.media.omx@1.0-service \
6a4d5429
JA
246 libstagefright_softomx
247
27b21431
NJ
248# Overlays
249DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay
250PRODUCT_ENFORCE_RRO_TARGETS += *
251
82da74af 252# Permissions
1ba22779
JA
253PRODUCT_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 \
135cb6a7 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 \
54e8a8c6 285 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
135cb6a7 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
1ba22779 287
82da74af 288PRODUCT_COPY_FILES += \
7ec08a55 289 frameworks/native/data/etc/android.hardware.telephony.ims.xml:system/etc/permissions/android.hardware.telephony.ims.xml \
82da74af
JA
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
bd5776cd 293
2883f498
JA
294# Power
295PRODUCT_PACKAGES += \
46c55f80 296 android.hardware.power@1.2.vendor \
2883f498
JA
297 android.hardware.power@1.0-impl \
298 android.hardware.power@1.0-service
299
c15915df
JA
300# Public Libraries
301PRODUCT_COPY_FILES += \
302 $(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
303
6a4d5429
JA
304# ril
305PRODUCT_PACKAGES += \
46c55f80 306 android.hardware.radio.config@1.2.vendor \
6a4d5429
JA
307 android.hardware.radio.config@1.0 \
308 android.hardware.radio.config@1.1 \
309 android.hardware.radio.config@1.2 \
46c55f80
L
310 android.hardware.radio@1.4.vendor \
311 android.hardware.radio@1.5.vendor \
6a4d5429
JA
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 \
edd584d8 317 android.hardware.radio@1.5 \
46c55f80
L
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
6a4d5429 324
2883f498
JA
325# RenderScript HAL
326PRODUCT_PACKAGES += \
327 android.hardware.renderscript@1.0-impl
328
edd584d8
JA
329# secure_element
330PRODUCT_PACKAGES += \
331 android.hardware.secure_element@1.0 \
332 android.hardware.secure_element@1.1 \
333 android.hardware.secure_element@1.2
334
c15915df
JA
335# Seccomp
336PRODUCT_COPY_FILES += \
edd584d8
JA
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
c15915df
JA
339
340# Sensors
2883f498 341PRODUCT_PACKAGES += \
46c55f80 342 android.hardware.sensors@1.0.vendor \
2883f498
JA
343 android.hardware.sensors@1.0-impl \
344 android.hardware.sensors@1.0-service
345
c15915df
JA
346PRODUCT_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
5201b38c
JA
350# Shims
351PRODUCT_PACKAGES += \
d8a2f1bb 352 libaudioproxy_shim \
dcf6b110
JA
353 libmemset \
354 libdemangle.vendor
5201b38c 355
27b21431
NJ
356# Shipping API
357$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
358
c15915df 359# Thermal
2883f498
JA
360PRODUCT_PACKAGES += \
361 android.hardware.thermal@1.0-impl \
27b21431 362 android.hardware.thermal@1.0-service
2883f498 363
c15915df
JA
364PRODUCT_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
490f18c9
J
371# Trust HAL
372PRODUCT_PACKAGES += \
373 vendor.lineage.trust@1.0-service
374
3c5c936f
JA
375# USB
376PRODUCT_PACKAGES += \
4472c34c 377 android.hardware.usb@1.1-service.typec
3c5c936f 378
7f2a1841
JA
379# Vibrator
380PRODUCT_PACKAGES += \
381 android.hardware.vibrator@1.0-service.exynos9610
382
bd5776cd
JA
383# WiFi
384PRODUCT_PACKAGES += \
385 android.hardware.wifi@1.0-service \
386 hostapd \
edd584d8
JA
387 TetheringOverlay \
388 WifiOverlay \
4c7c50c6 389 wpa_supplicant
c15915df
JA
390
391PRODUCT_COPY_FILES += \
c6d13f06
JA
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