universal7580: libshims: Shim GraphicBuffer for libexynoscamera
[GitHub/LineageOS/android_device_samsung_universal7580-common.git] / device-common.mk
CommitLineData
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
17LOCAL_PATH := device/samsung/universal7580-common
174e8e03 18
9e24d026
S
19# Audio
20PRODUCT_PACKAGES += \
21 audio.primary.universal7580 \
22 audio.a2dp.default \
23 audio.r_submix.default \
24 audio.usb.default \
25 tinymix \
26 android.hardware.audio@2.0-impl \
27 android.hardware.audio.effect@2.0-impl
28
56fce430
S
29PRODUCT_COPY_FILES += \
30 $(LOCAL_PATH)/configs/audio/audio_policy.conf:system/etc/audio_policy.conf \
31 $(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml
32
1ff87e59
S
33# Camera
34PRODUCT_PACKAGES += \
35 android.hardware.camera.provider@2.4-impl-legacy \
36 android.hardware.camera.provider@2.4-service
37
a08cb4d9
S
38# Configstore
39PRODUCT_PACKAGES += \
40 android.hardware.configstore@1.0-impl \
41 android.hardware.configstore@1.0-service
42
5eddb9b6
S
43# DRM
44PRODUCT_PACKAGES += \
45 android.hardware.drm@1.0-impl \
46 android.hardware.drm@1.0-service
47
f9c1e7d0
S
48# Graphics
49PRODUCT_PACKAGES += \
50 libion \
51 libfimg \
52 android.hardware.graphics.allocator@2.0-impl \
53 android.hardware.graphics.allocator@2.0-service \
54 android.hardware.graphics.composer@2.1-impl \
55 android.hardware.graphics.mapper@2.0-impl \
56 libhwc2on1adapter
57
edebdf99
S
58# Media
59PRODUCT_COPY_FILES += \
60 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
61 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
62 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
63 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
64 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
65 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml
66
2f93c04e
S
67# Memory
68PRODUCT_PACKAGES += \
69 android.hardware.memtrack@1.0-impl
70
ec28d0f7
S
71# Permissions
72PRODUCT_COPY_FILES += \
73 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
74 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
75 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
76 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
77 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
78 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
79 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
eac4829a 80
c65d8399
S
81# ramdisk
82PRODUCT_PACKAGES += \
83 init.power.rc \
84 fstab.samsungexynos7580 \
85 init.baseband.rc \
86 init.samsung.rc \
87 init.samsungexynos7580.rc \
88 init.samsungexynos7580.usb.rc \
89 init.wifi.rc \
90 ueventd.samsungexynos7580.rc
91
6cd8a194
S
92# RenderScript
93PRODUCT_PACKAGES += \
94 android.hardware.renderscript@1.0-impl
95
41fbcd89 96# SamsungDoze
97PRODUCT_PACKAGES += \
98 SamsungDoze
99
e2934e8a
S
100# TextClassifier
101PRODUCT_PACKAGES += \
102 textclassifier.smartselection.bundle1
103
eac4829a
S
104# Wifi
105PRODUCT_PACKAGES += \
106 macloader \
107 wifiloader \
108 hostapd \
109 wificond \
110 wifilogd \
111 wlutil \
112 libwpa_client \
113 wpa_supplicant \
114 wpa_supplicant.conf \
115 android.hardware.wifi@1.0-service \
116 android.hardware.wifi@1.0 \
117 android.hardware.wifi@1.0-impl
118
0be00cd7
S
119# Properties
120-include $(LOCAL_PATH)/system_prop.mk
121
174e8e03
S
122# call Samsung LSI board support package
123$(call inherit-product, hardware/samsung_slsi-cm/exynos5/exynos5.mk)
124$(call inherit-product, hardware/samsung_slsi-cm/exynos7580/exynos7580.mk)
2211511a
S
125
126# call the proprietary setup
127$(call inherit-product, vendor/samsung/universal7580-common/universal7580-common-vendor.mk)