mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
win gn: reintroduce flags to disable warnings
These flags were moved to mini_chromium's build/BUILD.gn, but that configuration is not present when building in chromium. Change-Id: I0d03c7461869882cf2ee7544ecd3d100eb189160 Reviewed-on: https://chromium-review.googlesource.com/940436 Reviewed-by: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
9affa2a0e7
commit
dec23bef57
@ -241,6 +241,8 @@ if (crashpad_is_win) {
|
|||||||
"win/crashy_signal.cc",
|
"win/crashy_signal.cc",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
cflags = [ "/wd4702" ] # Unreachable code.
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"../client",
|
"../client",
|
||||||
"../third_party/mini_chromium:base",
|
"../third_party/mini_chromium:base",
|
||||||
|
@ -430,6 +430,8 @@ static_library("util") {
|
|||||||
"winhttp.lib",
|
"winhttp.lib",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
cflags = [ "/wd4201" ] # nonstandard extension used: nameless struct/union.
|
||||||
|
|
||||||
if (current_cpu == "x86") {
|
if (current_cpu == "x86") {
|
||||||
asmflags = [ "/safeseh" ]
|
asmflags = [ "/safeseh" ]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user