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
/universal7580-common
19 DEVICE_PACKAGE_OVERLAYS
+= $(LOCAL_PATH
)/overlay
23 audio.primary.universal7580 \
25 audio.r_submix.default \
28 android.hardware.audio@
2.0-impl \
29 android.hardware.audio.effect@
2.0-impl
31 PRODUCT_COPY_FILES
+= \
32 $(LOCAL_PATH
)/configs
/audio
/audio_policy.conf
:$(TARGET_COPY_OUT_SYSTEM
)/etc
/audio_policy.conf \
33 frameworks
/av
/services
/audiopolicy
/config
/audio_policy_volumes.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/audio_policy_volumes.xml \
34 frameworks
/av
/services
/audiopolicy
/config
/a2dp_audio_policy_configuration.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/a2dp_audio_policy_configuration.xml \
35 frameworks
/av
/services
/audiopolicy
/config
/default_volume_tables.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/default_volume_tables.xml \
36 frameworks
/av
/services
/audiopolicy
/config
/r_submix_audio_policy_configuration.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/r_submix_audio_policy_configuration.xml \
37 frameworks
/av
/services
/audiopolicy
/config
/usb_audio_policy_configuration.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/usb_audio_policy_configuration.xml \
38 $(LOCAL_PATH
)/configs
/audio
/audio_policy_configuration.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/audio_policy_configuration.xml
42 android.hardware.bluetooth@
1.0-impl
.7580 \
47 android.hardware.camera.provider@
2.4-impl-legacy \
48 android.hardware.camera.provider@
2.4-service
52 android.hardware.configstore@
1.0-impl \
53 android.hardware.configstore@
1.0-service
57 android.hardware.drm@
1.0-impl \
58 android.hardware.drm@
1.0-service
60 # Flat device tree for boot image
61 PRODUCT_HOST_PACKAGES
+= \
66 android.hardware.gnss@
1.0-impl
68 PRODUCT_COPY_FILES
+= \
69 $(LOCAL_PATH
)/configs
/gps
/gps.conf
:system
/etc
/gps.conf \
70 $(LOCAL_PATH
)/configs
/gps
/gps.xml
:system
/etc
/gps.xml
76 android.hardware.graphics.allocator@
2.0-impl \
77 android.hardware.graphics.allocator@
2.0-service \
78 android.hardware.graphics.composer@
2.1-service \
79 android.hardware.graphics.mapper@
2.0-impl \
84 android.hardware.health@
2.0-impl \
85 android.hardware.health@
2.0-service
89 android.hardware.gatekeeper@
1.0-service.software
94 android.hardware.keymaster@
3.0-impl \
95 android.hardware.keymaster@
3.0-service
99 android.hardware.light@
2.0-service.samsung
102 PRODUCT_PACKAGES
+= \
103 vendor.lineage.livedisplay@
2.0-service.samsung-exynos
106 PRODUCT_COPY_FILES
+= \
107 $(LOCAL_PATH
)/configs
/media
/media_codecs.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs.xml \
108 $(LOCAL_PATH
)/configs
/media
/media_codecs_performance.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_performance.xml \
109 $(LOCAL_PATH
)/configs
/media
/media_profiles_V1_0.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_profiles_V1_0.xml \
110 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_audio.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_audio.xml \
111 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_telephony.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_telephony.xml \
112 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_video.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_video_le.xml
115 PRODUCT_PACKAGES
+= \
116 android.hardware.memtrack@
1.0-impl
119 PRODUCT_PACKAGES
+= \
125 PRODUCT_PACKAGES
+= \
126 android.hardware.power@
1.0-service.exynos
129 PRODUCT_COPY_FILES
+= \
130 frameworks
/native
/data
/etc
/android.hardware.camera.front.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.front.xml \
131 frameworks
/native
/data
/etc
/android.hardware.location.gps.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.location.gps.xml \
132 frameworks
/native
/data
/etc
/android.hardware.touchscreen.multitouch.jazzhand.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.touchscreen.multitouch.jazzhand.xml \
133 frameworks
/native
/data
/etc
/android.hardware.usb.accessory.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.accessory.xml \
134 frameworks
/native
/data
/etc
/android.hardware.usb.host.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.host.xml \
135 frameworks
/native
/data
/etc
/android.hardware.wifi.direct.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.direct.xml \
136 frameworks
/native
/data
/etc
/android.hardware.wifi.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.xml
139 PRODUCT_PACKAGES
+= \
141 fstab.samsungexynos7580 \
144 init.samsungexynos7580.rc \
145 init.samsungexynos7580.usb.rc \
146 init.recovery.samsungexynos7580.rc \
148 ueventd.samsungexynos7580.rc
151 PRODUCT_PACKAGES
+= \
152 android.hardware.renderscript@
1.0-impl
155 PRODUCT_PACKAGES
+= \
159 PRODUCT_PACKAGES
+= \
163 PRODUCT_COPY_FILES
+= \
164 $(LOCAL_PATH
)/seccomp
/mediaextractor-seccomp.policy
:$(TARGET_COPY_OUT_VENDOR
)/etc
/seccomp_policy
/mediaextractor.policy \
165 $(LOCAL_PATH
)/seccomp
/mediacodec-seccomp.policy
:$(TARGET_COPY_OUT_VENDOR
)/etc
/seccomp_policy
/mediacodec.policy
168 PRODUCT_PACKAGES
+= \
169 android.hardware.sensors@
1.0-impl \
170 android.hardware.vibrator@
1.0-impl \
171 android.hardware.vibrator@
1.0-service
174 PRODUCT_PACKAGES
+= \
175 libcamera_client_shim \
176 libexynoscamera_shim \
177 libstagefright_shim \
182 PRODUCT_PACKAGES
+= \
183 textclassifier.bundle1
186 PRODUCT_PACKAGES
+= \
187 vendor.lineage.touch@
1.0-service.samsung
190 PRODUCT_PACKAGES
+= \
191 vendor.lineage.trust@
1.0-service
194 PRODUCT_PACKAGES
+= \
195 android.hardware.usb@
1.0-service.basic
198 PRODUCT_PACKAGES
+= \
206 wpa_supplicant.conf \
207 android.hardware.wifi@
1.0-service.legacy
210 -include $(LOCAL_PATH
)/system_prop.mk
212 # call Samsung LSI board support package
213 $(call inherit-product
, hardware
/samsung_slsi
/exynos5
/exynos5.mk
)
214 $(call inherit-product
, hardware
/samsung_slsi
/exynos7580
/exynos7580.mk
)
216 # call the proprietary setup
217 $(call inherit-product
, vendor
/samsung
/universal7580-common
/universal7580-common-vendor.mk
)