mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
gn: Guard addition of ELF test target
Fix Windows- and Mac-in-Chromium GN builds. Bug: crashpad:79 Change-Id: I952f364ed679a13f656a8db18fb4d1fbf5858c17 Reviewed-on: https://chromium-review.googlesource.com/900206 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
885fb47a0d
commit
0dd11f6341
@ -354,7 +354,6 @@ source_set("snapshot_test") {
|
||||
":crashpad_snapshot_test_module",
|
||||
":crashpad_snapshot_test_module_large",
|
||||
":crashpad_snapshot_test_module_small",
|
||||
":crashpad_snapshot_test_both_dt_hash_styles",
|
||||
]
|
||||
|
||||
if (crashpad_is_mac) {
|
||||
@ -370,6 +369,10 @@ source_set("snapshot_test") {
|
||||
libs = [ "dl" ]
|
||||
}
|
||||
|
||||
if (crashpad_is_linux || crashpad_is_android || crashpad_is_fuchsia) {
|
||||
data_deps += [ ":crashpad_snapshot_test_both_dt_hash_styles" ]
|
||||
}
|
||||
|
||||
if (crashpad_is_win) {
|
||||
cflags = [ "/wd4201" ] # nonstandard extension used : nameless struct/union
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user