diff options
author | Calin Juravle <calin@google.com> | 2014-08-15 18:27:04 +0100 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2014-08-18 11:05:26 +0100 |
commit | db2127b66225bd6f1341891da02df16d184cdbd6 (patch) | |
tree | 6eed6973557f0d2949d21508b855100db8f70070 /libnativebridge | |
parent | c0879ee9d39ad4e9a2628c5cf1aaf4f843c13760 (diff) | |
download | system_core-db2127b66225bd6f1341891da02df16d184cdbd6.zip system_core-db2127b66225bd6f1341891da02df16d184cdbd6.tar.gz system_core-db2127b66225bd6f1341891da02df16d184cdbd6.tar.bz2 |
Switch libnativebridge to clang
This fixes the mac build.
(cherry picked from commit 935708be6fe366c8e519b01d1fba9fd2414c0dba)
Change-Id: I246a1c0af2124ed1cec653f2f44ca256f26534ff
Diffstat (limited to 'libnativebridge')
-rw-r--r-- | libnativebridge/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnativebridge/Android.mk b/libnativebridge/Android.mk index 8209bc7..017ce02 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 |