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,13 +1543,10 @@ config("default_warnings") {
] ]
if (!is_nacl) { if (!is_nacl) {
# TODO(https://crbug.com/1300731) Clean up and enable.
cflags += [ "-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 += [ cflags += [
# TODO(https://crbug.com/1300731) Clean up and enable.
"-Wno-unqualified-std-cast-call",
# TODO(crbug.com/1343303) Evaluate and possibly enable. # TODO(crbug.com/1343303) Evaluate and possibly enable.
"-Wno-array-parameter", "-Wno-array-parameter",
@ -1557,7 +1554,6 @@ config("default_warnings") {
"-Wno-deprecated-builtins", "-Wno-deprecated-builtins",
] ]
} }
}
if (is_fuchsia) { if (is_fuchsia) {
# TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383) # TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383)