Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-07-30 10:48:55 -05:00 committed by GitHub
parent 6eff582982
commit a517527f8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1543,20 +1543,16 @@ config("default_warnings") {
] ]
if (!is_nacl) { if (!is_nacl) {
# TODO(https://crbug.com/1300731) Clean up and enable. cflags += [
cflags += [ "-Wno-unqualified-std-cast-call" ] # 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 # TODO(crbug.com/1343303) Evaluate and possibly enable.
# patches that require these flags. "-Wno-array-parameter",
if (llvm_force_head_revision) {
cflags += [
# TODO(crbug.com/1343303) Evaluate and possibly enable.
"-Wno-array-parameter",
# TODO(crbug.com/1343975) Evaluate and possibly enable. # TODO(crbug.com/1343975) Evaluate and possibly enable.
"-Wno-deprecated-builtins", "-Wno-deprecated-builtins",
] ]
}
} }
if (is_fuchsia) { if (is_fuchsia) {