summaryrefslogtreecommitdiffstats
path: root/libsamsung_symbols
diff options
context:
space:
mode:
authorforkbomb <keepcalm444@gmail.com>2015-11-21 18:53:12 +1100
committerforkbomb <keepcalm444@gmail.com>2015-11-25 08:06:10 +1100
commit549a1c6690b905748645107c1a1099761849c8e9 (patch)
treee3fe634111c8321d52b9941562fd7b9f3e68d3ac /libsamsung_symbols
parent5202b0fd2cddefa31009861b825df42c13d6a706 (diff)
downloaddevice_samsung_i9300-549a1c6690b905748645107c1a1099761849c8e9.zip
device_samsung_i9300-549a1c6690b905748645107c1a1099761849c8e9.tar.gz
device_samsung_i9300-549a1c6690b905748645107c1a1099761849c8e9.tar.bz2
i9300: squash RIL bringup
* ril: update ril header to v11 from https://github.com/ArchiDroid/android_device_samsung_i9300/commit/706bc3c354d2f6d6d905e6a26ccee282357c26ee * ril: LCE support * set BOARD_RIL_CLASS and add SamsungExynos4RIL * add Samsung symbols shim library * use ril-wrapper to stop libsec-ril from crashing (based off dmitry-ril for the Nexus S) Change-Id: I169024341621ea05db5b8d8e82c4bf958b7bc6c0
Diffstat (limited to 'libsamsung_symbols')
-rw-r--r--libsamsung_symbols/Android.mk28
-rw-r--r--libsamsung_symbols/samsung_ril.cpp21
2 files changed, 49 insertions, 0 deletions
diff --git a/libsamsung_symbols/Android.mk b/libsamsung_symbols/Android.mk
new file mode 100644
index 0000000..c2e942e
--- /dev/null
+++ b/libsamsung_symbols/Android.mk
@@ -0,0 +1,28 @@
+# Copyright (C) 2015 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ samsung_ril.cpp
+
+LOCAL_SHARED_LIBRARIES := libbinder
+
+LOCAL_MODULE := libsamsung_symbols
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+
+include $(BUILD_SHARED_LIBRARY)
diff --git a/libsamsung_symbols/samsung_ril.cpp b/libsamsung_symbols/samsung_ril.cpp
new file mode 100644
index 0000000..404616d
--- /dev/null
+++ b/libsamsung_symbols/samsung_ril.cpp
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2015 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* status_t Parcel::writeString16 */
+extern "C" int _ZN7android6Parcel13writeString16EPKDsj();
+extern "C" int _ZN7android6Parcel13writeString16EPKtj() {
+ return _ZN7android6Parcel13writeString16EPKDsj();
+}