commit | 5b9e47718021091e6e3fbc7556fcbca2f59505a1 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Sep 28 12:36:04 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Sep 28 12:37:38 2017 -0700 |
tree | 99afebe185eef1d1be5ebcae988b269c3c5a59cb | |
parent | 2aed88e521abb2b4e13966f73df8e753ac96f112 [diff] |
Use -Werror in external/jsoncpp Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I7549ac243195508ab7d287413cb797ee254614ea
diff --git a/Android.bp b/Android.bp index 8240f6b..d0550f1 100644 --- a/Android.bp +++ b/Android.bp
@@ -16,6 +16,9 @@ export_include_dirs: ["include"], - cflags: ["-DJSON_USE_EXCEPTION=0"], - + cflags: [ + "-DJSON_USE_EXCEPTION=0", + "-Wall", + "-Werror", + ], }