| Index: test/test.gyp
|
| diff --git a/client/client.gyp b/test/test.gyp
|
| similarity index 52%
|
| copy from client/client.gyp
|
| copy to test/test.gyp
|
| index 5faaf036f8378915db300ae205e959194f7fd17c..7c0175ca71134020b00073d25fa0d17403d29413 100644
|
| --- a/client/client.gyp
|
| +++ b/test/test.gyp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 2014 The Crashpad Authors. All rights reserved.
|
| +# Copyright 2015 The Crashpad Authors. All rights reserved.
|
| #
|
| # Licensed under the Apache License, Version 2.0 (the "License");
|
| # you may not use this file except in compliance with the License.
|
| @@ -18,10 +18,11 @@
|
| ],
|
| 'targets': [
|
| {
|
| - 'target_name': 'crashpad_client',
|
| + 'target_name': 'crashpad_test',
|
| 'type': 'static_library',
|
| 'dependencies': [
|
| '../compat/compat.gyp:crashpad_compat',
|
| + '../third_party/gtest/gtest.gyp:gtest',
|
| '../third_party/mini_chromium/mini_chromium.gyp:base',
|
| '../util/util.gyp:crashpad_util',
|
| ],
|
| @@ -29,42 +30,41 @@
|
| '..',
|
| ],
|
| 'sources': [
|
| - 'capture_context_mac.S',
|
| - 'capture_context_mac.h',
|
| - 'crash_report_database.cc',
|
| - 'crash_report_database.h',
|
| - 'crash_report_database_mac.mm',
|
| - 'crash_report_database_win.cc',
|
| - 'crashpad_client.h',
|
| - 'crashpad_client_mac.cc',
|
| - 'crashpad_info.cc',
|
| - 'crashpad_info.h',
|
| - 'settings.cc',
|
| - 'settings.h',
|
| - 'simple_string_dictionary.cc',
|
| - 'simple_string_dictionary.h',
|
| - 'simulate_crash.h',
|
| - 'simulate_crash_mac.cc',
|
| - 'simulate_crash_mac.h',
|
| + 'errors.cc',
|
| + 'errors.h',
|
| + 'gtest_death_check.h',
|
| + 'mac/dyld.h',
|
| + 'mac/mach_errors.cc',
|
| + 'mac/mach_errors.h',
|
| + 'mac/mach_multiprocess.cc',
|
| + 'mac/mach_multiprocess.h',
|
| + 'multiprocess.h',
|
| + 'multiprocess_exec.h',
|
| + 'multiprocess_exec_posix.cc',
|
| + 'multiprocess_exec_win.cc',
|
| + 'multiprocess_posix.cc',
|
| + 'paths.cc',
|
| + 'paths.h',
|
| + 'paths_mac.cc',
|
| + 'paths_win.cc',
|
| + 'scoped_temp_dir.cc',
|
| + 'scoped_temp_dir.h',
|
| + 'scoped_temp_dir_posix.cc',
|
| + 'scoped_temp_dir_win.cc',
|
| + 'thread.cc',
|
| + 'thread.h',
|
| + 'thread_posix.cc',
|
| + 'thread_win.cc',
|
| ],
|
| 'conditions': [
|
| - ['OS=="win"', {
|
| + ['OS=="mac"', {
|
| 'link_settings': {
|
| 'libraries': [
|
| - '-lrpcrt4.lib',
|
| + '$(SDKROOT)/usr/lib/libbsm.dylib',
|
| ],
|
| },
|
| - 'sources!': [
|
| - # Port to Win https://code.google.com/p/crashpad/issues/detail?id=13
|
| - 'settings.cc',
|
| - ],
|
| }],
|
| ],
|
| - 'direct_dependent_settings': {
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - },
|
| },
|
| ],
|
| }
|
|
|