commit | 84f0dcd59ee41b385e819b2563cbd1a7f8700cba | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 02 11:47:31 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Oct 02 13:21:22 2017 -0700 |
tree | cd9b9ab3ccdb207959abdde679a0d23dd53f2fea | |
parent | b3639adf9ce41f520f7a64a5016e6ffc41ccd009 [diff] [blame] |
Use -Werror in bionic Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ic68141a5c50880c485646e38349f94b866267bd9
diff --git a/tests/libs/Android.bp b/tests/libs/Android.bp index aa4d0dd..858f2b1 100644 --- a/tests/libs/Android.bp +++ b/tests/libs/Android.bp
@@ -17,6 +17,10 @@ cc_defaults { name: "bionic_testlib_defaults", host_supported: true, + cflags: [ + "-Wall", + "-Werror", + ], ldflags: [ "-Wl,--rpath,${ORIGIN}", "-Wl,--enable-new-dtags",