From 39c92d1fef4fc8288a178f791867eef82bec7692 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Mon, 25 Jun 2018 13:32:51 -0700 Subject: Disable warnings for Windows Bug: http://b/69933068 Disable -Wunused-parameter and -Wunused-function, which is emitted when using Clang to build Windows host modules. Test: m native-host-cross with clang Change-Id: I5d0921b960ed61449b62730bd9c73c51fc6b7332 --- Android.bp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index e0fd619..bd5eecc 100644 --- a/Android.bp +++ b/Android.bp @@ -84,7 +84,11 @@ cc_library { "windows", ], - cflags: ["-Werror"], + cflags: [ + "-Werror", + "-Wno-unused-function", + "-Wno-unused-parameter", + ], enabled: true, }, }, -- cgit v1.2.3