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
:system
/etc
/audio_policy.conf \
33 $(LOCAL_PATH
)/configs
/audio
/audio_effects.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/audio_effects.xml
37 android.hardware.bluetooth@
1.0-impl \
42 android.hardware.camera.provider@
2.4-impl-legacy \
43 android.hardware.camera.provider@
2.4-service
47 android.hardware.configstore@
1.0-impl \
48 android.hardware.configstore@
1.0-service
52 android.hardware.drm@
1.0-impl \
53 android.hardware.drm@
1.0-service
55 # Flat device tree for boot image
61 android.hardware.gnss@
1.0-impl
67 android.hardware.graphics.allocator@
2.0-impl \
68 android.hardware.graphics.allocator@
2.0-service \
69 android.hardware.graphics.composer@
2.1-impl \
70 android.hardware.graphics.mapper@
2.0-impl \
74 PRODUCT_COPY_FILES
+= \
75 $(LOCAL_PATH
)/configs
/media
/media_codecs.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs.xml \
76 $(LOCAL_PATH
)/configs
/media
/media_codecs_performance.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_performance.xml \
77 $(LOCAL_PATH
)/configs
/media
/media_profiles_V1_0.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_profiles_V1_0.xml \
78 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_audio.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_audio.xml \
79 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_telephony.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_telephony.xml \
80 frameworks
/av
/media
/libstagefright
/data
/media_codecs_google_video.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/media_codecs_google_video.xml
84 android.hardware.memtrack@
1.0-impl
87 PRODUCT_COPY_FILES
+= \
88 frameworks
/native
/data
/etc
/android.hardware.camera.front.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.camera.front.xml \
89 frameworks
/native
/data
/etc
/android.hardware.location.gps.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.location.gps.xml \
90 frameworks
/native
/data
/etc
/android.hardware.touchscreen.multitouch.jazzhand.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.touchscreen.multitouch.jazzhand.xml \
91 frameworks
/native
/data
/etc
/android.hardware.usb.accessory.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.accessory.xml \
92 frameworks
/native
/data
/etc
/android.hardware.usb.host.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.usb.host.xml \
93 frameworks
/native
/data
/etc
/android.hardware.wifi.direct.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.direct.xml \
94 frameworks
/native
/data
/etc
/android.hardware.wifi.xml
:$(TARGET_COPY_OUT_VENDOR
)/etc
/permissions
/android.hardware.wifi.xml
99 fstab.samsungexynos7580 \
102 init.samsungexynos7580.rc \
103 init.samsungexynos7580.usb.rc \
105 ueventd.samsungexynos7580.rc
108 PRODUCT_PACKAGES
+= \
109 android.hardware.renderscript@
1.0-impl
112 PRODUCT_PACKAGES
+= \
116 PRODUCT_PACKAGES
+= \
117 textclassifier.smartselection.bundle1
120 PRODUCT_PACKAGES
+= \
129 wpa_supplicant.conf \
130 android.hardware.wifi@
1.0-service \
131 android.hardware.wifi@
1.0 \
132 android.hardware.wifi@
1.0-impl
134 # Overriden service definition
135 PRODUCT_COPY_FILES
+= \
136 $(LOCAL_PATH
)/configs
/init
/android.hardware.media.omx@
1.0-service.rc
:$(TARGET_COPY_OUT_VENDOR
)/etc
/init
/android.hardware.media.omx@
1.0-service.rc \
137 $(LOCAL_PATH
)/configs
/init
/mediaserver.rc
:system
/etc
/init
/mediaserver.rc
140 -include $(LOCAL_PATH
)/system_prop.mk
142 # call Samsung LSI board support package
143 $(call inherit-product
, hardware
/samsung_slsi-cm
/exynos5
/exynos5.mk
)
144 $(call inherit-product
, hardware
/samsung_slsi-cm
/exynos7580
/exynos7580.mk
)
146 # call the proprietary setup
147 $(call inherit-product
, vendor
/samsung
/universal7580-common
/universal7580-common-vendor.mk
)