mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
gn win: Add auxiliary test binaries used by end_to_end_test.py
Requires https://chromium-review.googlesource.com/c/chromium/mini_chromium/+/902407. With this, all tests pass in Windows x64 Debug, other configs TBD. Bug: crashpad:79 Change-Id: I3f91dbb6a239b3d5f2cd3a7ef706b045af218442 Reviewed-on: https://chromium-review.googlesource.com/902463 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
14dbd3531d
commit
6cf4f928eb
102
handler/BUILD.gn
102
handler/BUILD.gn
@ -206,4 +206,106 @@ if (crashpad_is_win) {
|
||||
"$root_out_dir/crashpad_handler.com",
|
||||
]
|
||||
}
|
||||
|
||||
executable("crash_other_program") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/crash_other_program.cc",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../client",
|
||||
"../test",
|
||||
"../third_party/gtest:gtest",
|
||||
"../third_party/mini_chromium:base",
|
||||
]
|
||||
}
|
||||
|
||||
executable("crashy_program") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/crashy_test_program.cc",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../client",
|
||||
"../third_party/mini_chromium:base",
|
||||
]
|
||||
}
|
||||
|
||||
executable("crashy_signal") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/crashy_signal.cc",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../client",
|
||||
"../third_party/mini_chromium:base",
|
||||
]
|
||||
}
|
||||
|
||||
executable("fake_handler_that_crashes_at_startup") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/fake_handler_that_crashes_at_startup.cc",
|
||||
]
|
||||
}
|
||||
|
||||
executable("hanging_program") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/hanging_program.cc",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../client",
|
||||
"../third_party/mini_chromium:base",
|
||||
]
|
||||
}
|
||||
|
||||
loadable_module("loader_lock_dll") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/loader_lock_dll.cc",
|
||||
]
|
||||
}
|
||||
|
||||
executable("self_destroying_program") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/self_destroying_test_program.cc",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../client",
|
||||
"../compat",
|
||||
"../snapshot",
|
||||
"../third_party/mini_chromium:base",
|
||||
]
|
||||
}
|
||||
|
||||
if (current_cpu == "x86") {
|
||||
# Cannot create an x64 DLL with embedded debug info.
|
||||
executable("crashy_z7_loader") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"win/crashy_test_z7_loader.cc",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../client",
|
||||
"../test",
|
||||
"../third_party/mini_chromium:base",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user