aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-09-28 12:36:04 -0700
committerChih-Hung Hsieh <chh@google.com>2017-09-28 12:37:38 -0700
commit5b9e47718021091e6e3fbc7556fcbca2f59505a1 (patch)
tree99afebe185eef1d1be5ebcae988b269c3c5a59cb
parent2aed88e521abb2b4e13966f73df8e753ac96f112 (diff)
downloadjsoncpp-5b9e47718021091e6e3fbc7556fcbca2f59505a1.tar.gz
Use -Werror in external/jsoncpp
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I7549ac243195508ab7d287413cb797ee254614ea
-rw-r--r--Android.bp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 8240f6b..d0550f1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,6 +16,9 @@ cc_library_static {
export_include_dirs: ["include"],
- cflags: ["-DJSON_USE_EXCEPTION=0"],
-
+ cflags: [
+ "-DJSON_USE_EXCEPTION=0",
+ "-Wall",
+ "-Werror",
+ ],
}