commit | 122352d983805b8ded5f8f3c07e75844244aba40 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 02 15:20:07 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Wed Nov 01 11:32:55 2017 -0700 |
tree | 2512a37968404bd39265da943bee33e33e064744 | |
parent | 15251c24b9cbb809aad74d8e5796f0eb6d83d8bb [diff] [blame] |
Use -Werror in system/core * Move -Wall -Werror from cppflags to cflags. * Fix/suppress warning on unused variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I1e05e96a1d0bcb2ccef1ce456504b3af57167cc5
diff --git a/init/Android.bp b/init/Android.bp index 8c4f005..45ee754 100644 --- a/init/Android.bp +++ b/init/Android.bp
@@ -20,7 +20,7 @@ sanitize: { misc_undefined: ["signed-integer-overflow"], }, - cppflags: [ + cflags: [ "-DLOG_UEVENTS=0", "-Wall", "-Wextra",