From a517527f8b40296a6c1af980a6f6688e2f33b132 Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Sat, 30 Jul 2022 10:48:55 -0500 Subject: [PATCH] Update BUILD.gn --- arm/config/compiler/BUILD.gn | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/arm/config/compiler/BUILD.gn b/arm/config/compiler/BUILD.gn index a25c3311..9c34f613 100644 --- a/arm/config/compiler/BUILD.gn +++ b/arm/config/compiler/BUILD.gn @@ -1543,20 +1543,16 @@ config("default_warnings") { ] if (!is_nacl) { - # TODO(https://crbug.com/1300731) Clean up and enable. - cflags += [ "-Wno-unqualified-std-cast-call" ] + cflags += [ + # TODO(https://crbug.com/1300731) Clean up and enable. + "-Wno-unqualified-std-cast-call", - # Do not set the below flags if it's nacl as nacl-clang doesn't have the - # patches that require these flags. - if (llvm_force_head_revision) { - cflags += [ - # TODO(crbug.com/1343303) Evaluate and possibly enable. - "-Wno-array-parameter", + # TODO(crbug.com/1343303) Evaluate and possibly enable. + "-Wno-array-parameter", - # TODO(crbug.com/1343975) Evaluate and possibly enable. - "-Wno-deprecated-builtins", - ] - } + # TODO(crbug.com/1343975) Evaluate and possibly enable. + "-Wno-deprecated-builtins", + ] } if (is_fuchsia) {