aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilad Arnold <garnold@google.com>2015-08-06 17:59:03 -0700
committerAlex Deymo <deymo@google.com>2015-11-17 17:24:30 -0800
commitf3284f069161c2bb4946911f90fb1c7e77dfa896 (patch)
treee9085ab1b28fac4145f7a7d1c41520a1d5bc7e7d
parente826aa4f99cf7d9e57fe9668e299a2808674ede4 (diff)
downloadgtest-f3284f069161c2bb4946911f90fb1c7e77dfa896.tar.gz
Add RTTI support to libgtest and libgtest_host.
This is needed by some newly ported code. Bug: 22827985 (cherry picked from commit aa6755e0675719c529054a29bee7c0b2da20c1d1) Change-Id: Icb9cbd7f180f9c2de38e1c5f17ca1c37961a1897
-rw-r--r--src/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Android.mk b/src/Android.mk
index d9ba471..7242d2e 100644
--- a/src/Android.mk
+++ b/src/Android.mk
@@ -92,6 +92,7 @@ LOCAL_CFLAGS += $(libgtest_cflags)
LOCAL_MODULE := libgtest_host
LOCAL_MULTILIB := both
LOCAL_ADDRESS_SANITIZER := false
+LOCAL_RTTI_FLAG := -frtti
include $(BUILD_HOST_STATIC_LIBRARY)
@@ -127,6 +128,7 @@ LOCAL_C_INCLUDES := $(libgtest_target_includes)
LOCAL_CFLAGS += $(libgtest_cflags)
LOCAL_MODULE := libgtest
LOCAL_ADDRESS_SANITIZER := false
+LOCAL_RTTI_FLAG := -frtti
include $(BUILD_STATIC_LIBRARY)