diff --git a/libnativebridge/Android.mk b/libnativebridge/Android.mk index 8209bc794..017ce0248 100644 --- a/libnativebridge/Android.mk +++ b/libnativebridge/Android.mk @@ -10,6 +10,7 @@ include $(CLEAR_VARS) LOCAL_MODULE:= libnativebridge LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES) +LOCAL_CLANG := true LOCAL_CPP_EXTENSION := .cc LOCAL_CFLAGS := -Werror LOCAL_CPPFLAGS := -std=gnu++11 @@ -25,6 +26,7 @@ include $(CLEAR_VARS) LOCAL_MODULE:= libnativebridge LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES) +LOCAL_CLANG := true LOCAL_CPP_EXTENSION := .cc LOCAL_CFLAGS := -Werror LOCAL_CPPFLAGS := -std=gnu++11