summaryrefslogtreecommitdiffstats
path: root/ril/libsecril-compat/Android.mk
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-11-23 05:02:05 -0600
committerZiyan <jaraidaniel@gmail.com>2016-01-22 00:42:36 +0100
commit6fdee07ba2e030ac191e120ef678a38f58260e43 (patch)
tree0a9ccbff3c3aedc63b4eebfe88e1c54d59c48544 /ril/libsecril-compat/Android.mk
parentca38a3d859aa9020a9a02f49e34576b9c3e81f0f (diff)
downloaddevice_samsung_tuna-6fdee07ba2e030ac191e120ef678a38f58260e43.zip
device_samsung_tuna-6fdee07ba2e030ac191e120ef678a38f58260e43.tar.gz
device_samsung_tuna-6fdee07ba2e030ac191e120ef678a38f58260e43.tar.bz2
ril: Add 'libsecril-compat'.
While I preferred to just modify the RILs directly, it simply became too tedious trying to fix three things that all have the same problem. libsecril-compat: Log if unimplemented symbols are called. Analysis of the RILs has shown these shouldn't be called, but just in case, we should know if it happens. libsecril-compat: Actually forward the writeString16 symbol. Good thing I added that logging; somehow this IS called.
Diffstat (limited to 'ril/libsecril-compat/Android.mk')
-rw-r--r--ril/libsecril-compat/Android.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/ril/libsecril-compat/Android.mk b/ril/libsecril-compat/Android.mk
new file mode 100644
index 0000000..461f552
--- /dev/null
+++ b/ril/libsecril-compat/Android.mk
@@ -0,0 +1,19 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SRC_FILES := \
+ md5.c \
+ secril-compat.c
+
+LOCAL_SHARED_LIBRARIES := \
+ libhardware_legacy \
+ libbinder \
+ liblog
+
+LOCAL_CFLAGS := -Wall -Werror
+
+LOCAL_MODULE := libsecril-compat
+
+include $(BUILD_SHARED_LIBRARY)