aboutsummaryrefslogtreecommitdiffstats
path: root/rilsrc/libsecril-compat
diff options
context:
space:
mode:
Diffstat (limited to 'rilsrc/libsecril-compat')
-rw-r--r--rilsrc/libsecril-compat/Android.mk17
-rw-r--r--rilsrc/libsecril-compat/secril-compat.c13
2 files changed, 0 insertions, 30 deletions
diff --git a/rilsrc/libsecril-compat/Android.mk b/rilsrc/libsecril-compat/Android.mk
deleted file mode 100644
index ee6c91b..0000000
--- a/rilsrc/libsecril-compat/Android.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SRC_FILES := \
- secril-compat.c
-
-LOCAL_SHARED_LIBRARIES := \
- libhardware_legacy \
- libbinder
-
-LOCAL_CFLAGS := -Wall -Werror
-
-LOCAL_MODULE := libsecril-compat
-
-include $(BUILD_SHARED_LIBRARY)
diff --git a/rilsrc/libsecril-compat/secril-compat.c b/rilsrc/libsecril-compat/secril-compat.c
deleted file mode 100644
index fc11450..0000000
--- a/rilsrc/libsecril-compat/secril-compat.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <sys/types.h>
-
-/**
- * With the switch to C++11 by default, char16_t became a unique type,
- * rather than basically just a typedef of uint16_t. As a result, the
- * compiler now mangles the symbol for writeString16 differently. Our
- * RIL references the old symbol of course, not the new one.
- */
-uintptr_t _ZN7android6Parcel13writeString16EPKDsj(void *instance, void *str, size_t len);
-uintptr_t _ZN7android6Parcel13writeString16EPKtj(void *instance, void *str, size_t len)
-{
- return _ZN7android6Parcel13writeString16EPKDsj(instance, str, len);
-}