a5xelte: Add RIL configuration
[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
5a6ea125
DW
21# Boot animation
22TARGET_BOOTANIMATION_PRELOAD := true
23TARGET_BOOTANIMATION_TEXTURE_CACHE := true
24TARGET_SCREEN_HEIGHT := 1920
25TARGET_SCREEN_WIDTH := 1080
26
217472c8
DW
27# Bluetooth
28PRODUCT_COPY_FILES += \
29 $(LOCAL_PATH)/bluetooth/bt_vendor.conf:system/etc/bluetooth/bt_vendor.conf
30
31PRODUCT_PACKAGES += \
32 android.hardware.bluetooth@1.0-service
876113c7
DW
33
34# GPS
35PRODUCT_COPY_FILES += \
36 $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \
37 $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml
217472c8 38
b7e14c05
DW
39# Ramdisk
40PRODUCT_PACKAGES += \
41 init.target.rc
42
1475f6e2
DW
43# Radio
44PRODUCT_PACKAGES += \
45 libprotobuf-cpp-full \
46 libsecril-client \
47 modemloader \
48 libxml2 \
49 rild \
50 libril \
51 libreference-ril \
52 libsecril-client-sap \
53 android.hardware.radio@1.1 \
54 android.hardware.radio.deprecated@1.0
55
56PRODUCT_COPY_FILES += \
57 device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc
58
b7e14c05
DW
59# Inherit from universal7580-common
60$(call inherit-product, device/samsung/universal7580-common/device-common.mk)
1475f6e2 61