mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 19:37:30 -03:00
Update BUILD.gn
This commit is contained in:
parent
13bef4ab28
commit
3f8ddaa3b0
1 changed files with 8 additions and 7 deletions
|
@ -1551,19 +1551,15 @@ config("default_warnings") {
|
|||
# TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
|
||||
"-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(crbug.com/1343975) Evaluate and possibly enable.
|
||||
"-Wno-deprecated-builtins",
|
||||
|
||||
# TODO(crbug.com/1352183) Evaluate and possibly enable.
|
||||
"-Wno-bitfield-constant-conversion",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1688,6 +1684,11 @@ config("chromium_code") {
|
|||
"-Wthread-safety",
|
||||
]
|
||||
}
|
||||
|
||||
# TODO(https://crbug.com/1355871): Enable on more platforms.
|
||||
if ((is_win || is_mac) && target_cpu == "x64") {
|
||||
cflags += [ "-Wextra-semi" ]
|
||||
}
|
||||
}
|
||||
|
||||
configs = [
|
||||
|
|
Loading…
Reference in a new issue