commit | c7edf078f92c7ce083f8c243a79f8aecdfff4ac1 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Oct 03 09:57:55 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Oct 13 16:25:16 2017 -0700 |
tree | d7816094d61913df8ee8c17e60763ccd050c4631 | |
parent | 26817938f6966928488e92de73359c3887006642 [diff] [blame] |
Use -Werror in frameworks/base * Fix unused variable and return value warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I890e65a20848d00559ba5a4f9691be1347b456af
diff --git a/Android.bp b/Android.bp index b83c63f..cf9610d 100644 --- a/Android.bp +++ b/Android.bp
@@ -34,6 +34,11 @@ include_dirs: ["external/protobuf/src"], }, + cflags: [ + "-Wall", + "-Werror", + "-Wno-unused-parameter", + ], target: { host: { proto: {