commit | 8dd657432832bc5117e644c85e8e2b1ec244d2a0 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Feb 17 22:39:46 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Feb 17 22:39:46 2017 -0800 |
tree | 04c845f4fe8ebe9166be3682a7aa35c6c7fdcced | |
parent | 99ab54bf60c61cde44ea8fff16915737c6b8762e [diff] [blame] |
Build with -Wall and -Werror. Test: pass Change-Id: I0b14bfca491b67883bdff079b2e863db4691b635
diff --git a/Android.bp b/Android.bp index d44a5e7..59edb20 100644 --- a/Android.bp +++ b/Android.bp
@@ -18,6 +18,11 @@ "transport", // libhidltransport ] +libhidl_flags = [ + "-Wall", + "-Werror", +] + cc_test { name: "libhidl_test", gtest: false, @@ -37,5 +42,5 @@ cflags: [ "-O0", "-g", - ], + ] + libhidl_flags, }