forked from universal5433/android_device_samsung_gts28ltexx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
56 lines (45 loc) · 1.69 KB
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
LOCAL_PATH := device/samsung/gts28ltexx
# Ramdisk
PRODUCT_PACKAGES += \
ueventd.universal5433.rc \
init.baseband.rc
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/audio/mixer_paths_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_0.xml #\
# $(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
# Bluetooth
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bt_vendor.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor.conf
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
device/samsung/gts28ltexx/overlay
# Radio
PRODUCT_PACKAGES += \
libxml2 \
libprotobuf-cpp-full \
rild \
libril \
libreference-ril \
libsecril-client \
libsecril-client-sap \
modemloader \
Stk
# RILD
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.legacy.rc
# Vibrator
PRODUCT_PACKAGES += \
#PRODUCT_PACKAGES += \
# SamsungServiceMode
# RIL-specific prereq libraries
PRODUCT_COPY_FILES += \
prebuilts/vndk/v29/arm/arch-arm-armv7-a-neon/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcutils-v29.so
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml
# call the proprietary setup
$(call inherit-product, vendor/samsung/gts28ltexx/gts28ltexx-vendor.mk)