commit | 6e36725de8739c53b4ee05ece1a5cc242d7fc3a3 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Oct 05 14:23:38 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Oct 05 14:23:57 2017 -0700 |
tree | 49bb06034336a7ab91482ec183403345e63354b0 | |
parent | 0c47ec9a824963f42640927b8d0a237bf8ce2ea7 [diff] [blame] |
Use -Werror in frameworks/native/libs/nativewindow * Suppress unused function warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: If1583e0ae618f96033e0e5b661df333a8e34d858
diff --git a/libs/nativewindow/Android.bp b/libs/nativewindow/Android.bp index 938d426..009eec4 100644 --- a/libs/nativewindow/Android.bp +++ b/libs/nativewindow/Android.bp
@@ -34,6 +34,12 @@ clang: true, + cflags: [ + "-Wall", + "-Werror", + "-Wno-unused-function", + ], + cppflags: [ "-std=c++1z" ],