commit | 734e378a7387b2d51f40f4e4cba8887703bd1839 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Oct 05 13:44:13 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Oct 09 15:16:59 2017 -0700 |
tree | 3b8d60e033ef5e92bce181ad9ed137566b4940ec | |
parent | c1e25bd59d6ee62decf2c7b72411f4189032674c [diff] [blame] |
Use -Werror in frameworks/native/cmds * Remove or comment out unused variables/functions. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I15a463eb9a20bc12787c104f671063ceeafaa1cc
diff --git a/cmds/atrace/Android.bp b/cmds/atrace/Android.bp index 5548699..e06f937 100644 --- a/cmds/atrace/Android.bp +++ b/cmds/atrace/Android.bp
@@ -3,6 +3,10 @@ cc_binary { name: "atrace", srcs: ["atrace.cpp"], + cflags: [ + "-Wall", + "-Werror", + ], shared_libs: [ "libbinder",