summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-11-08 14:44:14 -0800
committerChih-Hung Hsieh <chh@google.com>2017-11-08 14:44:14 -0800
commitc16c2dbc0fc0f4aca9bfcfd4ebb7328cc61262b3 (patch)
treedf8a0ebf96e942915fea01fa5dbf62a1ed535f07
parentea6c6b9f85951a3487ed1f270c1e0d7777bc5c19 (diff)
downloadnative-c16c2dbc0fc0f4aca9bfcfd4ebb7328cc61262b3.tar.gz
Use -Werror in frameworks/native/cmds/surfacereplayer/proto
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: If39d101b1c4000360ea0230d4fce193fb2d9f757
-rw-r--r--cmds/surfacereplayer/proto/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/surfacereplayer/proto/Android.bp b/cmds/surfacereplayer/proto/Android.bp
index dda80bb565..71a5e23a9e 100644
--- a/cmds/surfacereplayer/proto/Android.bp
+++ b/cmds/surfacereplayer/proto/Android.bp
@@ -3,6 +3,10 @@ cc_library_static {
srcs: [
"src/trace.proto",
],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
proto: {
type: "lite",
export_proto_headers: true,