From c7edf078f92c7ce083f8c243a79f8aecdfff4ac1 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 3 Oct 2017 09:57:55 -0700 Subject: Use -Werror in frameworks/base * Fix unused variable and return value warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I890e65a20848d00559ba5a4f9691be1347b456af --- cmds/am/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'cmds') diff --git a/cmds/am/Android.bp b/cmds/am/Android.bp index 7eb4edfecbf9..bb16df1d159d 100644 --- a/cmds/am/Android.bp +++ b/cmds/am/Android.bp @@ -4,6 +4,7 @@ cc_library_host_static { name: "libinstrumentation", srcs: ["**/*.proto"], + cflags: ["-Wall", "-Werror"], proto: { type: "full", export_proto_headers: true, -- cgit v1.2.3-59-g8ed1b