j7elte: Add system properties
[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
12371f36
DT
41# Properties
42-include $(LOCAL_PATH)/system_prop.mk
43
bf4ad9d9
DW
44# Radio
45PRODUCT_PACKAGES += \
46 libprotobuf-cpp-full \
47 libsecril-client \
48 modemloader \
49 libxml2 \
50 rild \
51 libril \
52 libreference-ril \
53 libsecril-client-sap \
54 android.hardware.radio@1.1 \
55 android.hardware.radio.deprecated@1.0
56
57PRODUCT_COPY_FILES += \
58 device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc
59
fd684260
DT
60# Ramdisk
61PRODUCT_PACKAGES += \
62 init.target.rc
63
64# Inherit from universal7580-common
65$(call inherit-product, device/samsung/universal7580-common/device-common.mk)
776859ba
DW
66
67# Call the proprietary setup
68$(call inherit-product, vendor/samsung/j7elte/j7elte-vendor.mk)