summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-07-30 18:10:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-07-30 18:10:35 +0000
commit18f1b5e28734183ff8073fe86dc46bc4ebba8a59 (patch)
tree33d701b92e447884e5bf9ed37a190f2810dcde8b
parenteb789ea833d8d800662b67914d9c1785a58c2caa (diff)
parentde96c64fb96edf8acd52c1b2bbaa6e57786c4ce8 (diff)
downloadandroid_abi_cpp-18f1b5e28734183ff8073fe86dc46bc4ebba8a59.tar.gz
android_abi_cpp-18f1b5e28734183ff8073fe86dc46bc4ebba8a59.tar.bz2
android_abi_cpp-18f1b5e28734183ff8073fe86dc46bc4ebba8a59.zip
Merge "Remove the need to copy & paste boilerplate."
-rw-r--r--use_rtti.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/use_rtti.mk b/use_rtti.mk
new file mode 100644
index 0000000..372816c
--- /dev/null
+++ b/use_rtti.mk
@@ -0,0 +1,8 @@
+# To use RTTI, "include abi/cpp/use_rtti.mk" in your target.
+
+LOCAL_C_INCLUDES := \
+ abi/cpp/include \
+ $(LOCAL_C_INCLUDES)
+
+LOCAL_RTTI_FLAG := -frtti
+LOCAL_SHARED_LIBRARIES += libgabi++