Build and test with C++14.
Enable sized deallocation (disabled by clang by the default) so those
tests pass.
Bug: http://b/23043421
Change-Id: I347fa9a5653eb1ed0102d42234ba2de41616de39
diff --git a/Android.mk b/Android.mk
index 2afae8f..5ce2a84 100644
--- a/Android.mk
+++ b/Android.mk
@@ -49,7 +49,7 @@
external/libcxxabi/include \
LIBCXX_CPPFLAGS := \
- -std=c++11 \
+ -std=c++14 \
-nostdinc++ \
-fexceptions \
diff --git a/buildcmds/Android.mk b/buildcmds/Android.mk
index 7849244..33d01ef 100644
--- a/buildcmds/Android.mk
+++ b/buildcmds/Android.mk
@@ -25,7 +25,8 @@
LOCAL_CXX_STL := libc++
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../test/support
LOCAL_CPPFLAGS := \
- -std=c++11 \
+ -std=c++14 \
+ -fsized-deallocation \
-fexceptions \
-UNDEBUG \
-w \