a5xelte: amplifier: Fix deadlock
[GitHub/LineageOS/android_device_samsung_a5xelte.git] / device.mk
CommitLineData
b7e14c05
DW
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/a5xelte
18
19$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
20
79d6b470
DW
21# Audio
22PRODUCT_COPY_FILES += \
23 $(LOCAL_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_0.xml
24
562312cb
CH
25
26PRODUCT_PACKAGES += \
27 libtfa98xx \
28 audio_amplifier.universal7580 \
29 libtinycompress
30
5a6ea125
DW
31# Boot animation
32TARGET_BOOTANIMATION_PRELOAD := true
33TARGET_BOOTANIMATION_TEXTURE_CACHE := true
34TARGET_SCREEN_HEIGHT := 1920
35TARGET_SCREEN_WIDTH := 1080
36
217472c8
DW
37# Bluetooth
38PRODUCT_COPY_FILES += \
39 $(LOCAL_PATH)/bluetooth/bt_vendor.conf:system/etc/bluetooth/bt_vendor.conf
40
41PRODUCT_PACKAGES += \
42 android.hardware.bluetooth@1.0-service
876113c7
DW
43
44# GPS
45PRODUCT_COPY_FILES += \
46 $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \
47 $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml
217472c8 48
b7e14c05
DW
49# Ramdisk
50PRODUCT_PACKAGES += \
51 init.target.rc
52
1475f6e2
DW
53# Radio
54PRODUCT_PACKAGES += \
55 libprotobuf-cpp-full \
56 libsecril-client \
57 modemloader \
58 libxml2 \
59 rild \
60 libril \
61 libreference-ril \
62 libsecril-client-sap \
63 android.hardware.radio@1.1 \
64 android.hardware.radio.deprecated@1.0
65
66PRODUCT_COPY_FILES += \
67 device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc
68
b7e14c05
DW
69# Inherit from universal7580-common
70$(call inherit-product, device/samsung/universal7580-common/device-common.mk)
1475f6e2 71