2 # Copyright (C) 2018 The LineageOS Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 LOCAL_PATH
:= device
/samsung
/universal8895-common
19 DEVICE_PACKAGE_OVERLAYS
+= $(LOCAL_PATH
)/overlay
23 android.hardware.audio.common-util \
24 android.hardware.audio.common@
2.0-util \
25 android.hardware.audio.common@
2.0 \
26 android.hardware.audio.common@
4.0-util \
27 android.hardware.audio.common@
4.0 \
28 android.hardware.audio.effect@
2.0 \
29 android.hardware.audio.effect@
4.0 \
30 android.hardware.audio@
2.0 \
31 android.hardware.audio@
4.0 \
32 android.hardware.soundtrigger@
2.0-core \
33 android.hardware.soundtrigger@
2.0 \
34 android.hardware.soundtrigger@
2.1 \
35 android.hardware.audio@
2.0-service \
36 android.hardware.audio.effect@
2.0-impl \
37 android.hardware.audio@
2.0-impl \
38 android.hardware.soundtrigger@
2.0-impl \
47 TARGET_BOOTANIMATION_PRELOAD
:= true
48 TARGET_BOOTANIMATION_TEXTURE_CACHE
:= true
49 TARGET_SCREEN_HEIGHT
:= 2560
50 TARGET_SCREEN_WIDTH
:= 1440
53 # Device uses high-density artwork where available
54 PRODUCT_AAPT_CONFIG
:= xlarge
55 PRODUCT_AAPT_PREF_CONFIG
:= xxxhdpi
56 # A list of dpis to select prebuilt apk, in precedence order.
57 PRODUCT_AAPT_PREBUILT_DPI
:= xxxhdpi xxhdpi xhdpi hdpi
61 android.hardware.camera.provider@
2.4-impl \
62 android.hardware.camera.provider@
2.4-service \
63 android.hardware.camera.common@
1.0 \
64 android.hardware.camera.device@
1.0 \
65 android.hardware.camera.device@
3.2 \
66 android.hardware.camera.device@
3.3 \
67 android.hardware.camera.device@
3.4 \
68 android.hardware.camera.provider@
2.4 \
71 # Camera configurations
72 PRODUCT_COPY_FILES
+= \
73 $(LOCAL_PATH
)/configs
/external_camera_config.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/external_camera_config.xml
77 android.hardware.configstore@
1.0-impl \
78 android.hardware.configstore@
1.0-service
82 android.hardware.drm@
1.0 \
83 android.hardware.drm@
1.1 \
85 libdrmclearkeyplugin \
86 android.hardware.drm@
1.0-service \
87 android.hardware.drm@
1.1-service.clearkey \
88 android.hardware.drm@
1.0-impl
90 # Flat device tree for boot image
96 android.hardware.gatekeeper@
1.0-service \
97 android.hardware.gatekeeper@
1.0-impl
100 PRODUCT_PACKAGES
+= \
101 android.hardware.graphics.allocator@
2.0-impl \
102 android.hardware.graphics.allocator@
2.0-service \
103 android.hardware.graphics.composer@
2.2-service \
104 android.hardware.graphics.mapper@
2.0-impl
107 PRODUCT_PACKAGES
+= \
108 android.hardware.health@
2.0-impl \
109 android.hardware.health@
2.0-service
112 PRODUCT_PACKAGES
+= \
113 android.hardware.light@
2.0-service.samsung
116 PRODUCT_COPY_FILES
+= \
117 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_audio.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_audio.xml \
118 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_telephony.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_telephony.xml \
119 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_video.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_video.xml
122 PRODUCT_PACKAGES
+= \
123 android.hardware.memtrack@
1.0-impl
126 PRODUCT_PACKAGES
+= \
131 com.android.nfc_extras
134 PRODUCT_PACKAGES
+= \
135 power.universal8895 \
136 android.hardware.power@
1.0-service \
137 android.hardware.power@
1.0-impl
140 PRODUCT_COPY_FILES
+= \
141 frameworks
/native
/data
/etc
/android.hardware.audio.low_latency.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.audio.low_latency.xml \
142 frameworks
/native
/data
/etc
/android.hardware.audio.pro.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.audio.pro.xml \
143 frameworks
/native
/data
/etc
/android.hardware.bluetooth.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.bluetooth.xml \
144 frameworks
/native
/data
/etc
/android.hardware.bluetooth_le.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.bluetooth_le.xml \
145 frameworks
/native
/data
/etc
/android.hardware.camera.
ar.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.
ar.xml \
146 frameworks
/native
/data
/etc
/android.hardware.camera.autofocus.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.autofocus.xml \
147 frameworks
/native
/data
/etc
/android.hardware.camera.flash-autofocus.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.flash-autofocus.xml \
148 frameworks
/native
/data
/etc
/android.hardware.camera.front.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.front.xml \
149 frameworks
/native
/data
/etc
/android.hardware.camera.full.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.full.xml \
150 frameworks
/native
/data
/etc
/android.hardware.camera.raw.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.raw.xml \
151 frameworks
/native
/data
/etc
/android.hardware.camera.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.xml \
152 frameworks
/native
/data
/etc
/android.hardware.fingerprint.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.fingerprint.xml \
153 frameworks
/native
/data
/etc
/android.hardware.location.gps.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.location.gps.xml \
154 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.nfc.hce.xml \
155 frameworks
/native
/data
/etc
/android.hardware.nfc.hcef.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.nfc.hcef.xml \
156 frameworks
/native
/data
/etc
/android.hardware.nfc.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.nfc.xml \
157 frameworks
/native
/data
/etc
/android.hardware.opengles.aep.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.opengles.aep.xml \
158 frameworks
/native
/data
/etc
/android.hardware.sensor.accelerometer.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.accelerometer.xml \
159 frameworks
/native
/data
/etc
/android.hardware.sensor.barometer.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.barometer.xml \
160 frameworks
/native
/data
/etc
/android.hardware.sensor.compass.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.compass.xml \
161 frameworks
/native
/data
/etc
/android.hardware.sensor.gyroscope.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.gyroscope.xml \
162 frameworks
/native
/data
/etc
/android.hardware.sensor.hifi_sensors.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.hifi_sensors.xml \
163 frameworks
/native
/data
/etc
/android.hardware.sensor.light.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.light.xml \
164 frameworks
/native
/data
/etc
/android.hardware.sensor.proximity.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.proximity.xml \
165 frameworks
/native
/data
/etc
/android.hardware.sensor.stepcounter.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.stepcounter.xml \
166 frameworks
/native
/data
/etc
/android.hardware.sensor.stepdetector.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.sensor.stepdetector.xml \
167 frameworks
/native
/data
/etc
/android.hardware.telephony.gsm.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.telephony.gsm.xml \
168 frameworks
/native
/data
/etc
/android.hardware.touchscreen.multitouch.jazzhand.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.touchscreen.multitouch.jazzhand.xml \
169 frameworks
/native
/data
/etc
/android.hardware.usb.accessory.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.accessory.xml \
170 frameworks
/native
/data
/etc
/android.hardware.usb.host.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.host.xml \
171 frameworks
/native
/data
/etc
/android.hardware.vr.high_performance.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.vr.high_performance.xml \
172 frameworks
/native
/data
/etc
/android.hardware.vulkan.compute-0.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.vulkan.compute.xml \
173 frameworks
/native
/data
/etc
/android.hardware.vulkan.level-1.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.vulkan.level.xml \
174 frameworks
/native
/data
/etc
/android.hardware.vulkan.version-1_0_3.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.vulkan.version.xml \
175 frameworks
/native
/data
/etc
/android.hardware.wifi.direct.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.direct.xml \
176 frameworks
/native
/data
/etc
/android.hardware.wifi.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.xml \
177 frameworks
/native
/data
/etc
/com.android.nfc_extras.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.android.nfc_extras.xml \
178 frameworks
/native
/data
/etc
/com.nxp.mifare.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/com.nxp.mifare.xml \
179 frameworks
/native
/data
/etc
/handheld_core_hardware.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/handheld_core_hardware.xml
182 PRODUCT_PACKAGES
+= \
183 fstab.samsungexynos8895 \
186 init.samsungexynos8895.rc \
187 init.samsungexynos8895.usb.rc \
188 ueventd.samsungexynos8895.rc
191 PRODUCT_PACKAGES
+= \
192 android.hardware.renderscript@
1.0-impl
195 PRODUCT_PACKAGES
+= \
196 android.hardware.radio@
1.2 \
200 PRODUCT_PACKAGES
+= \
204 PRODUCT_COPY_FILES
+= \
205 $(LOCAL_PATH
)/seccomp
/mediaextractor-seccomp.policy
:$(TARGET_COPY_OUT_VENDOR
)/etc
/seccomp_policy
/mediaextractor.policy \
206 $(LOCAL_PATH
)/seccomp
/mediacodec-seccomp.policy
:$(TARGET_COPY_OUT_VENDOR
)/etc
/seccomp_policy
/mediacodec.policy
209 PRODUCT_PACKAGES
+= \
210 android.hardware.sensors@
1.0 \
211 android.hardware.sensors@
1.0-impl \
212 android.hardware.sensors@
1.0-service
215 PRODUCT_PACKAGES
+= \
219 PRODUCT_PACKAGES
+= \
220 textclassifier.bundle1
223 PRODUCT_PACKAGES
+= \
224 vendor.lineage.trust@
1.0-service
227 PRODUCT_PACKAGES
+= \
228 android.hardware.usb@
1.0-service.basic
231 PRODUCT_PACKAGES
+= \
232 android.hardware.vibrator@
1.0-service.universal8895
235 PRODUCT_PACKAGES
+= \
244 wpa_supplicant.conf \
245 android.hardware.wifi@
1.0-service \
246 android.hardware.wifi@
1.0 \
247 android.hardware.wifi@
1.0-impl
250 -include $(LOCAL_PATH
)/system_prop.mk
252 # call the proprietary setup
253 $(call inherit-product
, vendor
/samsung
/universal8895-common
/universal8895-common-vendor.mk
)