Index: third_party/crashpad/crashpad/minidump/minidump_test.gyp |
diff --git a/third_party/crashpad/crashpad/minidump/minidump_test.gyp b/third_party/crashpad/crashpad/minidump/minidump_test.gyp |
index acf4d6356c8e1d3c556fdb36ecaf0f0fc88a8a3c..80f803db3b00c12fd6d27e3574765a478099973d 100644 |
--- a/third_party/crashpad/crashpad/minidump/minidump_test.gyp |
+++ b/third_party/crashpad/crashpad/minidump/minidump_test.gyp |
@@ -18,9 +18,38 @@ |
], |
'targets': [ |
{ |
+ 'target_name': 'crashpad_minidump_test_lib', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'minidump.gyp:crashpad_minidump', |
+ '../third_party/gtest/gtest.gyp:gtest', |
+ '../third_party/mini_chromium/mini_chromium.gyp:base', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'test/minidump_context_test_util.cc', |
+ 'test/minidump_context_test_util.h', |
+ 'test/minidump_file_writer_test_util.cc', |
+ 'test/minidump_file_writer_test_util.h', |
+ 'test/minidump_memory_writer_test_util.cc', |
+ 'test/minidump_memory_writer_test_util.h', |
+ 'test/minidump_rva_list_test_util.cc', |
+ 'test/minidump_rva_list_test_util.h', |
+ 'test/minidump_string_writer_test_util.cc', |
+ 'test/minidump_string_writer_test_util.h', |
+ 'test/minidump_user_extension_stream_util.cc', |
+ 'test/minidump_user_extension_stream_util.h', |
+ 'test/minidump_writable_test_util.cc', |
+ 'test/minidump_writable_test_util.h', |
+ ], |
+ }, |
+ { |
'target_name': 'crashpad_minidump_test', |
'type': 'executable', |
'dependencies': [ |
+ 'crashpad_minidump_test_lib', |
'minidump.gyp:crashpad_minidump', |
'../snapshot/snapshot_test.gyp:crashpad_snapshot_test_lib', |
'../test/test.gyp:crashpad_gtest_main', |
@@ -36,8 +65,8 @@ |
'minidump_context_writer_test.cc', |
'minidump_crashpad_info_writer_test.cc', |
'minidump_exception_writer_test.cc', |
- 'minidump_handle_writer_test.cc', |
'minidump_file_writer_test.cc', |
+ 'minidump_handle_writer_test.cc', |
'minidump_memory_info_writer_test.cc', |
'minidump_memory_writer_test.cc', |
'minidump_misc_info_writer_test.cc', |
@@ -52,18 +81,6 @@ |
'minidump_unloaded_module_writer_test.cc', |
'minidump_user_stream_writer_test.cc', |
'minidump_writable_test.cc', |
- 'test/minidump_context_test_util.cc', |
- 'test/minidump_context_test_util.h', |
- 'test/minidump_file_writer_test_util.cc', |
- 'test/minidump_file_writer_test_util.h', |
- 'test/minidump_memory_writer_test_util.cc', |
- 'test/minidump_memory_writer_test_util.h', |
- 'test/minidump_rva_list_test_util.cc', |
- 'test/minidump_rva_list_test_util.h', |
- 'test/minidump_string_writer_test_util.cc', |
- 'test/minidump_string_writer_test_util.h', |
- 'test/minidump_writable_test_util.cc', |
- 'test/minidump_writable_test_util.h', |
], |
}, |
], |