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) {
# 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) {