Commit | Line | Data |
---|---|---|
583a3f4a S |
1 | # |
2 | # Copyright (C) 2018 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 | LOCAL_PATH := device/samsung/universal7580-common | |
174e8e03 | 18 | |
1f3935bd | 19 | DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay |
20 | ||
9e24d026 S |
21 | # Audio |
22 | PRODUCT_PACKAGES += \ | |
23 | audio.primary.universal7580 \ | |
24 | audio.a2dp.default \ | |
25 | audio.r_submix.default \ | |
26 | audio.usb.default \ | |
27 | tinymix \ | |
28 | android.hardware.audio@2.0-impl \ | |
29 | android.hardware.audio.effect@2.0-impl | |
30 | ||
56fce430 S |
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 | |
34 | ||
a3b5a23b S |
35 | # Bluetooth |
36 | PRODUCT_PACKAGES += \ | |
8d217709 | 37 | android.hardware.bluetooth@1.0-impl.7580 \ |
a3b5a23b S |
38 | libbt-vendor |
39 | ||
1ff87e59 S |
40 | # Camera |
41 | PRODUCT_PACKAGES += \ | |
42 | android.hardware.camera.provider@2.4-impl-legacy \ | |
43 | android.hardware.camera.provider@2.4-service | |
44 | ||
a08cb4d9 S |
45 | # Configstore |
46 | PRODUCT_PACKAGES += \ | |
47 | android.hardware.configstore@1.0-impl \ | |
48 | android.hardware.configstore@1.0-service | |
49 | ||
5eddb9b6 S |
50 | # DRM |
51 | PRODUCT_PACKAGES += \ | |
52 | android.hardware.drm@1.0-impl \ | |
53 | android.hardware.drm@1.0-service | |
54 | ||
c6a5c0f1 S |
55 | # Flat device tree for boot image |
56 | PRODUCT_PACKAGES += \ | |
57 | dtbhtoolExynos | |
58 | ||
7cb9a0db S |
59 | # GPS |
60 | PRODUCT_PACKAGES += \ | |
61 | android.hardware.gnss@1.0-impl | |
62 | ||
f9c1e7d0 S |
63 | # Graphics |
64 | PRODUCT_PACKAGES += \ | |
65 | libion \ | |
66 | libfimg \ | |
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 \ | |
71 | libhwc2on1adapter | |
72 | ||
851afbcc | 73 | # Health |
74 | PRODUCT_PACKAGES += \ | |
75 | android.hardware.health@2.0-impl \ | |
76 | android.hardware.health@2.0-service | |
77 | ||
af923f93 S |
78 | # Keymaster |
79 | PRODUCT_PACKAGES += \ | |
80 | keystore.exynos5 \ | |
81 | android.hardware.keymaster@3.0-impl \ | |
82 | android.hardware.keymaster@3.0-service | |
83 | ||
17f6edbe S |
84 | # Lights |
85 | PRODUCT_PACKAGES += \ | |
eeb10813 | 86 | android.hardware.light@2.0-service.samsung |
869e237e JA |
87 | |
88 | # Livedisplay | |
89 | PRODUCT_PACKAGES += \ | |
90 | vendor.lineage.livedisplay@2.0-service.samsung-exynos | |
91 | ||
edebdf99 S |
92 | # Media |
93 | PRODUCT_COPY_FILES += \ | |
94 | $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ | |
95 | $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ | |
96 | $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ | |
97 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ | |
98 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ | |
2869951b | 99 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml |
edebdf99 | 100 | |
2f93c04e S |
101 | # Memory |
102 | PRODUCT_PACKAGES += \ | |
103 | android.hardware.memtrack@1.0-impl | |
104 | ||
97f75cb0 S |
105 | # Power |
106 | PRODUCT_PACKAGES += \ | |
107 | power.universal7580 \ | |
108 | android.hardware.power@1.0-service \ | |
109 | android.hardware.power@1.0-impl | |
110 | ||
ec28d0f7 S |
111 | # Permissions |
112 | PRODUCT_COPY_FILES += \ | |
113 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ | |
114 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ | |
115 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ | |
116 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ | |
117 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ | |
118 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ | |
119 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml | |
eac4829a | 120 | |
c65d8399 S |
121 | # ramdisk |
122 | PRODUCT_PACKAGES += \ | |
123 | init.power.rc \ | |
124 | fstab.samsungexynos7580 \ | |
125 | init.baseband.rc \ | |
126 | init.samsung.rc \ | |
127 | init.samsungexynos7580.rc \ | |
128 | init.samsungexynos7580.usb.rc \ | |
cb33a316 | 129 | init.recovery.samsungexynos7580.rc \ |
c65d8399 S |
130 | init.wifi.rc \ |
131 | ueventd.samsungexynos7580.rc | |
132 | ||
6cd8a194 S |
133 | # RenderScript |
134 | PRODUCT_PACKAGES += \ | |
135 | android.hardware.renderscript@1.0-impl | |
136 | ||
41fbcd89 | 137 | # SamsungDoze |
138 | PRODUCT_PACKAGES += \ | |
139 | SamsungDoze | |
140 | ||
70057995 L |
141 | # SEC |
142 | PRODUCT_PACKAGES += \ | |
143 | libsecnativefeature | |
144 | ||
835153b7 S |
145 | # Seccomp filters |
146 | PRODUCT_COPY_FILES += \ | |
147 | $(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy \ | |
148 | $(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy | |
149 | ||
7e077bee S |
150 | # Sensors |
151 | PRODUCT_PACKAGES += \ | |
152 | android.hardware.sensors@1.0-impl \ | |
153 | android.hardware.vibrator@1.0-impl \ | |
154 | android.hardware.vibrator@1.0-service | |
155 | ||
a2e67aef S |
156 | # Shims |
157 | PRODUCT_PACKAGES += \ | |
158 | libcamera_client_shim \ | |
159 | libexynoscamera_shim \ | |
160 | libExynosOMX_shim \ | |
161 | libstagefright_shim \ | |
162 | libui_shim | |
163 | ||
e2934e8a S |
164 | # TextClassifier |
165 | PRODUCT_PACKAGES += \ | |
229090c5 | 166 | textclassifier.bundle1 |
d56a00a1 PK |
167 | |
168 | # Touch features | |
169 | PRODUCT_PACKAGES += \ | |
170 | vendor.lineage.touch@1.0-service.samsung | |
f7e2172b J |
171 | |
172 | # Trust HAL | |
173 | PRODUCT_PACKAGES += \ | |
174 | vendor.lineage.trust@1.0-service | |
e2934e8a | 175 | |
a1f2b3d7 S |
176 | # USB |
177 | PRODUCT_PACKAGES += \ | |
afd06ed0 | 178 | android.hardware.usb@1.0-service.basic |
a1f2b3d7 | 179 | |
eac4829a S |
180 | # Wifi |
181 | PRODUCT_PACKAGES += \ | |
eac4829a S |
182 | wifiloader \ |
183 | hostapd \ | |
184 | wificond \ | |
185 | wifilogd \ | |
186 | wlutil \ | |
187 | libwpa_client \ | |
188 | wpa_supplicant \ | |
189 | wpa_supplicant.conf \ | |
190 | android.hardware.wifi@1.0-service \ | |
191 | android.hardware.wifi@1.0 \ | |
192 | android.hardware.wifi@1.0-impl | |
193 | ||
54e2de33 L |
194 | # Overriden service definition |
195 | PRODUCT_COPY_FILES += \ | |
b6366c97 L |
196 | $(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 \ |
197 | $(LOCAL_PATH)/configs/init/mediaserver.rc:system/etc/init/mediaserver.rc | |
54e2de33 | 198 | |
0be00cd7 S |
199 | # Properties |
200 | -include $(LOCAL_PATH)/system_prop.mk | |
201 | ||
174e8e03 | 202 | # call Samsung LSI board support package |
e148bed6 S |
203 | $(call inherit-product, hardware/samsung_slsi/exynos5/exynos5.mk) |
204 | $(call inherit-product, hardware/samsung_slsi/exynos7580/exynos7580.mk) | |
2211511a S |
205 | |
206 | # call the proprietary setup | |
207 | $(call inherit-product, vendor/samsung/universal7580-common/universal7580-common-vendor.mk) |