j7elte: Add audio configuration
[GitHub/LineageOS/android_device_samsung_j7elte.git] / device.mk
CommitLineData
fd684260
DT
1# Copyright (C) 2017-2020 The LineageOS Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := device/samsung/j7elte
16
17$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
18
56283fcd
DT
19# Audio
20PRODUCT_COPY_FILES += \
21 $(LOCAL_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_0.xml
22
9427e63c
DW
23# Bluetooth
24PRODUCT_COPY_FILES += \
25 $(LOCAL_PATH)/bluetooth/bt_vendor.conf:system/etc/bluetooth/bt_vendor.conf
26
27PRODUCT_PACKAGES += \
28 android.hardware.bluetooth@1.0-service
29
12452abf
DT
30# Boot animation
31TARGET_BOOTANIMATION_PRELOAD := true
32TARGET_BOOTANIMATION_TEXTURE_CACHE := true
33TARGET_SCREEN_HEIGHT := 1280
34TARGET_SCREEN_WIDTH := 720
35
2dc00a1d
DT
36# GPS
37PRODUCT_COPY_FILES += \
38 $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \
39 $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml
40
bf4ad9d9
DW
41# Radio
42PRODUCT_PACKAGES += \
43 libprotobuf-cpp-full \
44 libsecril-client \
45 modemloader \
46 libxml2 \
47 rild \
48 libril \
49 libreference-ril \
50 libsecril-client-sap \
51 android.hardware.radio@1.1 \
52 android.hardware.radio.deprecated@1.0
53
54PRODUCT_COPY_FILES += \
55 device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc
56
fd684260
DT
57# Ramdisk
58PRODUCT_PACKAGES += \
59 init.target.rc
60
61# Inherit from universal7580-common
62$(call inherit-product, device/samsung/universal7580-common/device-common.mk)