From eb5b037f98ae203f1ee0438b8e5413bef1c775de Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 19 Apr 2019 09:34:39 -0700 Subject: [PATCH] AOSP: Turn off some more warnings on Windows. Test: builds Change-Id: Ieb0f34ba444f608ec3fdf89aa61a93b4ac312af4 From AOSP commit: 88a90b52f836bc4aaba231857f1e4facf0a25959 Signed-off-by: Theodore Ts'o --- Android.bp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Android.bp b/Android.bp index b8cbcdc4b..79dd58ea7 100644 --- a/Android.bp +++ b/Android.bp @@ -8,6 +8,13 @@ cc_defaults { // Still has unfixed/unsuppressed warnings. cflags: ["-Wno-error"], }, + windows: { + cflags: [ + "-Wno-typedef-redefinition", + "-Wno-unused-parameter", + "-Wno-unused-variable", + ], + }, }, } -- 2.47.2