mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
win handler: Move test targets to handler_test.gyp
Test: end_to_end_test Change-Id: I1fb01e0a6e701c8ec3958b68e2665cd4348a2242 Reviewed-on: https://chromium-review.googlesource.com/481083 Reviewed-by: Scott Graham <scottmg@chromium.org>
This commit is contained in:
parent
74fddc3fed
commit
f487da4ff2
@ -112,119 +112,7 @@
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'crashy_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
'../util/util.gyp:crashpad_util',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/crashy_test_program.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'crashy_signal',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/crashy_signal.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'crash_other_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../test/test.gyp:crashpad_test',
|
||||
'../third_party/gtest/gtest.gyp:gtest',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
'../util/util.gyp:crashpad_util',
|
||||
],
|
||||
'sources': [
|
||||
'win/crash_other_program.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'fake_handler_that_crashes_at_startup',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'win/fake_handler_that_crashes_at_startup.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'hanging_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
],
|
||||
'sources': [
|
||||
'win/hanging_program.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'loader_lock_dll',
|
||||
'type': 'loadable_module',
|
||||
'sources': [
|
||||
'win/loader_lock_dll.cc',
|
||||
],
|
||||
'msvs_settings': {
|
||||
'NoImportLibrary': 'true',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'self_destroying_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../compat/compat.gyp:crashpad_compat',
|
||||
'../snapshot/snapshot.gyp:crashpad_snapshot',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
'../util/util.gyp:crashpad_util',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/self_destroying_test_program.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
# Cannot create an x64 DLL with embedded debug info.
|
||||
['target_arch=="ia32"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crashy_z7_loader',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../test/test.gyp:crashpad_test',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/crashy_test_z7_loader.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, {
|
||||
'targets': [],
|
||||
}],
|
||||
],
|
||||
}
|
||||
|
@ -37,7 +37,22 @@
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
'targets': [{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crash_other_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../test/test.gyp:crashpad_test',
|
||||
'../third_party/gtest/gtest.gyp:gtest',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
'../util/util.gyp:crashpad_util',
|
||||
],
|
||||
'sources': [
|
||||
'win/crash_other_program.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
# The handler is only tested on Windows for now.
|
||||
'target_name': 'crashpad_handler_test',
|
||||
'type': 'executable',
|
||||
@ -58,7 +73,104 @@
|
||||
'sources': [
|
||||
'crashpad_handler_test.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'crashy_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
'../util/util.gyp:crashpad_util',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/crashy_test_program.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'crashy_signal',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/crashy_signal.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'fake_handler_that_crashes_at_startup',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'win/fake_handler_that_crashes_at_startup.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'hanging_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
],
|
||||
'sources': [
|
||||
'win/hanging_program.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'loader_lock_dll',
|
||||
'type': 'loadable_module',
|
||||
'sources': [
|
||||
'win/loader_lock_dll.cc',
|
||||
],
|
||||
'msvs_settings': {
|
||||
'NoImportLibrary': 'true',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'self_destroying_program',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../compat/compat.gyp:crashpad_compat',
|
||||
'../snapshot/snapshot.gyp:crashpad_snapshot',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
'../util/util.gyp:crashpad_util',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/self_destroying_test_program.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
# Cannot create an x64 DLL with embedded debug info.
|
||||
['target_arch=="ia32"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'crashy_z7_loader',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'../client/client.gyp:crashpad_client',
|
||||
'../test/test.gyp:crashpad_test',
|
||||
'../third_party/mini_chromium/mini_chromium.gyp:base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'..',
|
||||
],
|
||||
'sources': [
|
||||
'win/crashy_test_z7_loader.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user