Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-08-12 11:48:29 -05:00 committed by GitHub
parent bc45ac4859
commit 97998fbf2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1529,20 +1529,20 @@ config("default_warnings") {
"-Wno-ignored-pragma-optimize",
]
if (llvm_force_head_revision && !is_nacl) {
cflags += [
# TODO(crbug.com/1352183) Evaluate and possibly enable.
"-Wno-bitfield-constant-conversion",
]
}
if (!is_nacl) {
cflags += [
# TODO(https://crbug.com/1300731) Clean up and enable.
"-Wno-unqualified-std-cast-call",
# TODO(crbug.com/1343975) Evaluate and possibly enable.
"-Wno-deprecated-builtins",
]
}
if (is_fuchsia) {
# TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383)
cflags += [ "-Wno-deprecated-copy" ]
}
}
}
}