universal7580: Disable window rounded corner animations
[GitHub/LineageOS/android_device_samsung_universal7580-common.git] / device-common.mk
... / ...
CommitLineData
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
18
19DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
20
21# Audio
22PRODUCT_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
31PRODUCT_COPY_FILES += \
32 $(LOCAL_PATH)/configs/audio/audio_policy.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/audio_policy.conf \
33 $(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
34 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
35 frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
36 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
37 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
38 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
39 $(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
40
41# Bluetooth
42PRODUCT_PACKAGES += \
43 android.hardware.bluetooth@1.0-impl.7580 \
44 libbt-vendor
45
46# Camera
47PRODUCT_PACKAGES += \
48 android.hardware.camera.provider@2.4-impl-legacy \
49 android.hardware.camera.provider@2.4-service
50
51# Configstore
52PRODUCT_PACKAGES += \
53 android.hardware.configstore@1.0-impl \
54 android.hardware.configstore@1.0-service
55
56# DRM
57PRODUCT_PACKAGES += \
58 android.hardware.drm@1.0-impl \
59 android.hardware.drm@1.0-service
60
61# Flat device tree for boot image
62PRODUCT_HOST_PACKAGES += \
63 dtbhtoolExynos
64
65# GPS
66PRODUCT_PACKAGES += \
67 android.hardware.gnss@1.0-impl
68
69# Graphics
70PRODUCT_PACKAGES += \
71 libion \
72 libfimg \
73 android.hardware.graphics.allocator@2.0-impl \
74 android.hardware.graphics.allocator@2.0-service \
75 android.hardware.graphics.composer@2.1-impl \
76 android.hardware.graphics.mapper@2.0-impl \
77 libhwc2on1adapter
78
79# Health
80PRODUCT_PACKAGES += \
81 android.hardware.health@2.0-impl \
82 android.hardware.health@2.0-service
83
84# Keymaster
85PRODUCT_PACKAGES += \
86 keystore.exynos5 \
87 android.hardware.keymaster@3.0-impl \
88 android.hardware.keymaster@3.0-service
89
90# Lights
91PRODUCT_PACKAGES += \
92 android.hardware.light@2.0-service.samsung
93
94# Livedisplay
95PRODUCT_PACKAGES += \
96 vendor.lineage.livedisplay@2.0-service.samsung-exynos
97
98# Media
99PRODUCT_COPY_FILES += \
100 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
101 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
102 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
103 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
104 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
105 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
106
107# Memory
108PRODUCT_PACKAGES += \
109 android.hardware.memtrack@1.0-impl
110
111# Power
112PRODUCT_PACKAGES += \
113 android.hardware.power@1.0-service.exynos
114
115# Permissions
116PRODUCT_COPY_FILES += \
117 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
118 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
119 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
120 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
121 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
122 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
123 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
124
125# ramdisk
126PRODUCT_PACKAGES += \
127 init.power.rc \
128 fstab.samsungexynos7580 \
129 init.baseband.rc \
130 init.samsung.rc \
131 init.samsungexynos7580.rc \
132 init.samsungexynos7580.usb.rc \
133 init.recovery.samsungexynos7580.rc \
134 init.wifi.rc \
135 ueventd.samsungexynos7580.rc
136
137# RenderScript
138PRODUCT_PACKAGES += \
139 android.hardware.renderscript@1.0-impl
140
141# SamsungDoze
142PRODUCT_PACKAGES += \
143 SamsungDoze
144
145# SEC
146PRODUCT_PACKAGES += \
147 libsecnativefeature
148
149# Seccomp filters
150PRODUCT_COPY_FILES += \
151 $(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy \
152 $(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy
153
154# Sensors
155PRODUCT_PACKAGES += \
156 android.hardware.sensors@1.0-impl \
157 android.hardware.vibrator@1.0-impl \
158 android.hardware.vibrator@1.0-service
159
160# Shims
161PRODUCT_PACKAGES += \
162 libcamera_client_shim \
163 libexynoscamera_shim \
164 libstagefright_shim \
165 libui_shim
166
167# TextClassifier
168PRODUCT_PACKAGES += \
169 textclassifier.bundle1
170
171# Touch features
172PRODUCT_PACKAGES += \
173 vendor.lineage.touch@1.0-service.samsung
174
175# Trust HAL
176PRODUCT_PACKAGES += \
177 vendor.lineage.trust@1.0-service
178
179# USB
180PRODUCT_PACKAGES += \
181 android.hardware.usb@1.0-service.basic
182
183# Wifi
184PRODUCT_PACKAGES += \
185 wifiloader \
186 hostapd \
187 wificond \
188 wifilogd \
189 wlutil \
190 libwpa_client \
191 wpa_supplicant \
192 wpa_supplicant.conf \
193 android.hardware.wifi@1.0-service.legacy
194
195# Overriden service definition
196PRODUCT_COPY_FILES += \
197 $(LOCAL_PATH)/configs/init/mediaserver.rc:$(TARGET_COPY_OUT_SYSTEM)/etc/init/mediaserver.rc
198
199# Properties
200-include $(LOCAL_PATH)/system_prop.mk
201
202# call Samsung LSI board support package
203ifneq ($(WITH_EXYNOS_BSP),)
204$(call inherit-product, hardware/samsung_slsi/exynos5/exynos5.mk)
205$(call inherit-product, hardware/samsung_slsi/exynos7580/exynos7580.mk)
206endif
207
208# call the proprietary setup
209$(call inherit-product, vendor/samsung/universal7580-common/universal7580-common-vendor.mk)