diff options
author | Chih-hung Hsieh <chh@google.com> | 2017-10-19 21:39:39 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-19 21:39:39 +0000 |
commit | 5835d76aea2d3473f8b97d81557f107ff0ac9c52 (patch) | |
tree | 694cac66d6806864dfbbb0a421c5ae641c06acc1 | |
parent | a938e3cdb29f70199b4dbf3a5438979f57eda327 (diff) | |
parent | 35a1770b8c41d33c5902a37563cb070462cbc068 (diff) | |
download | v8-5835d76aea2d3473f8b97d81557f107ff0ac9c52.tar.gz |
Merge "Use -Werror in external/v8" am: 91ca7d58d4 am: 25eea94176 am: 1d75d7df90
am: 35a1770b8c
Change-Id: Idc4379065141bdb555b58f0e90e33d687806928c
-rw-r--r-- | Android.libv8.mk | 2 | ||||
-rw-r--r-- | Android.v8common.mk | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Android.libv8.mk b/Android.libv8.mk index 465b8b41..1d96e6b1 100644 --- a/Android.libv8.mk +++ b/Android.libv8.mk @@ -8,6 +8,8 @@ include $(CLEAR_VARS) LOCAL_MODULE := libv8 LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_CFLAGS := -Wall -Werror + LOCAL_WHOLE_STATIC_LIBRARIES := libv8base libv8platform libv8sampler libv8src libv8gen v8peephole LOCAL_EXPORT_C_INCLUDE_DIRS := \ diff --git a/Android.v8common.mk b/Android.v8common.mk index f0718a15..280fa355 100644 --- a/Android.v8common.mk +++ b/Android.v8common.mk @@ -3,6 +3,8 @@ LOCAL_CXX_STL := libc++ LOCAL_CPP_EXTENSION := cc LOCAL_CFLAGS += \ + -Wall \ + -Werror \ -Wno-endif-labels \ -Wno-import \ -Wno-format \ |