diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-09-30 01:08:37 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-09-30 01:08:37 +0000 |
commit | 8eb95bd73a80b82d5071ff5e6d857639ca0bac71 (patch) | |
tree | 95d97bef877a89451183d481c8fa848f9688a107 | |
parent | 9f14f5dc031d651055c1b61d9139193016a900dd (diff) | |
parent | fddf06151e9a85d535d33c7ed896bd233d4adfb5 (diff) | |
download | libunwind_llvm-8eb95bd73a80b82d5071ff5e6d857639ca0bac71.tar.gz |
Use -Werror in external/libunwind_llvm am: 328ecd4d5f am: 98b55b853b
am: fddf06151e
Change-Id: Ie2ddc34640ba2e570a817d25a68f3f70ac71d63f
-rw-r--r-- | Android.bp | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -32,15 +32,18 @@ LIBUNWIND_LOCAL_INCLUDES = [ "include", ] +LIBUNWIND_CFLAGS = [ + "-Wall", + "-Werror", +] + LIBUNWIND_CPPFLAGS = [ "-std=c++14", "-fexceptions", - "-Wall", "-Wextra", "-Wno-unused-function", "-Wno-unused-parameter", "-Wno-unused-local-typedef", - "-Werror", ] cc_library_static { @@ -50,6 +53,7 @@ cc_library_static { srcs: LIBUNWIND_SRC_FILES, include_dirs: LIBUNWIND_INCLUDES, local_include_dirs: LIBUNWIND_LOCAL_INCLUDES, + cflags: LIBUNWIND_CFLAGS, cppflags: LIBUNWIND_CPPFLAGS, stl: "none", sanitize: { |