mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
[Wconversion] Suppress warnings on Fuchsia
Bug: fuchsia:56258 Change-Id: I6bdc0b81a0294040e4dceb18576ab38c45a430e4 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2345384 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
parent
45ca490687
commit
59e8120e7a
@ -116,6 +116,7 @@ static_library("client") {
|
||||
deps += [ "../third_party/fuchsia" ]
|
||||
if (crashpad_is_in_fuchsia) {
|
||||
deps += [ "//sdk/lib/fdio" ]
|
||||
configs += [ "//build/config:Wno-conversion" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -171,4 +171,8 @@ compat_target("compat") {
|
||||
if (!crashpad_is_linux && !crashpad_is_android && !crashpad_is_fuchsia) {
|
||||
deps += [ "../third_party/glibc" ]
|
||||
}
|
||||
|
||||
if (crashpad_is_in_fuchsia) {
|
||||
configs = [ "//build/config:Wno-conversion" ]
|
||||
}
|
||||
}
|
||||
|
@ -261,6 +261,10 @@ static_library("snapshot") {
|
||||
}
|
||||
|
||||
configs += [ "..:disable_ubsan" ]
|
||||
|
||||
if (crashpad_is_in_fuchsia) {
|
||||
configs += [ "//build/config:Wno-conversion" ]
|
||||
}
|
||||
}
|
||||
|
||||
# :context is the only part of snapshot that minidump may depend on.
|
||||
@ -281,6 +285,10 @@ static_library("context") {
|
||||
if (crashpad_is_win) {
|
||||
cflags = [ "/wd4201" ] # nonstandard extension used : nameless struct/union
|
||||
}
|
||||
|
||||
if (crashpad_is_in_fuchsia) {
|
||||
configs += [ "//build/config:Wno-conversion" ]
|
||||
}
|
||||
}
|
||||
|
||||
if (crashpad_is_linux) {
|
||||
|
@ -612,6 +612,10 @@ static_library("util") {
|
||||
}
|
||||
|
||||
configs += [ "..:disable_ubsan" ]
|
||||
|
||||
if (crashpad_is_in_fuchsia) {
|
||||
configs += [ "//build/config:Wno-conversion" ]
|
||||
}
|
||||
}
|
||||
|
||||
if (!crashpad_is_android && !crashpad_is_ios) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user