OLD | NEW |
1 # Copyright 2017 The Crashpad Authors. All rights reserved. | 1 # Copyright 2017 The Crashpad Authors. All rights reserved. |
2 # | 2 # |
3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
6 # | 6 # |
7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
8 # | 8 # |
9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 19 matching lines...) Expand all Loading... |
30 'include_dirs': [ | 30 'include_dirs': [ |
31 '..', | 31 '..', |
32 ], | 32 ], |
33 'sources': [ | 33 'sources': [ |
34 'crashpad_handler_test_extended_handler.cc', | 34 'crashpad_handler_test_extended_handler.cc', |
35 ], | 35 ], |
36 }, | 36 }, |
37 ], | 37 ], |
38 'conditions': [ | 38 'conditions': [ |
39 ['OS=="win"', { | 39 ['OS=="win"', { |
40 'targets': [{ | 40 'targets': [ |
41 # The handler is only tested on Windows for now. | 41 { |
42 'target_name': 'crashpad_handler_test', | 42 'target_name': 'crash_other_program', |
43 'type': 'executable', | 43 'type': 'executable', |
44 'dependencies': [ | 44 'dependencies': [ |
45 'crashpad_handler_test_extended_handler', | 45 '../client/client.gyp:crashpad_client', |
46 'handler.gyp:crashpad_handler_lib', | 46 '../test/test.gyp:crashpad_test', |
47 '../client/client.gyp:crashpad_client', | 47 '../third_party/gtest/gtest.gyp:gtest', |
48 '../compat/compat.gyp:crashpad_compat', | 48 '../third_party/mini_chromium/mini_chromium.gyp:base', |
49 '../test/test.gyp:crashpad_gtest_main', | 49 '../util/util.gyp:crashpad_util', |
50 '../test/test.gyp:crashpad_test', | 50 ], |
51 '../third_party/gtest/gtest.gyp:gtest', | 51 'sources': [ |
52 '../third_party/mini_chromium/mini_chromium.gyp:base', | 52 'win/crash_other_program.cc', |
53 '../util/util.gyp:crashpad_util', | 53 ], |
54 ], | 54 }, |
55 'include_dirs': [ | 55 { |
56 '..', | 56 # The handler is only tested on Windows for now. |
57 ], | 57 'target_name': 'crashpad_handler_test', |
58 'sources': [ | 58 'type': 'executable', |
59 'crashpad_handler_test.cc', | 59 'dependencies': [ |
60 ], | 60 'crashpad_handler_test_extended_handler', |
61 }], | 61 'handler.gyp:crashpad_handler_lib', |
| 62 '../client/client.gyp:crashpad_client', |
| 63 '../compat/compat.gyp:crashpad_compat', |
| 64 '../test/test.gyp:crashpad_gtest_main', |
| 65 '../test/test.gyp:crashpad_test', |
| 66 '../third_party/gtest/gtest.gyp:gtest', |
| 67 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 68 '../util/util.gyp:crashpad_util', |
| 69 ], |
| 70 'include_dirs': [ |
| 71 '..', |
| 72 ], |
| 73 'sources': [ |
| 74 'crashpad_handler_test.cc', |
| 75 ], |
| 76 }, |
| 77 { |
| 78 'target_name': 'crashy_program', |
| 79 'type': 'executable', |
| 80 'dependencies': [ |
| 81 '../client/client.gyp:crashpad_client', |
| 82 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 83 '../util/util.gyp:crashpad_util', |
| 84 ], |
| 85 'include_dirs': [ |
| 86 '..', |
| 87 ], |
| 88 'sources': [ |
| 89 'win/crashy_test_program.cc', |
| 90 ], |
| 91 }, |
| 92 { |
| 93 'target_name': 'crashy_signal', |
| 94 'type': 'executable', |
| 95 'dependencies': [ |
| 96 '../client/client.gyp:crashpad_client', |
| 97 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 98 ], |
| 99 'include_dirs': [ |
| 100 '..', |
| 101 ], |
| 102 'sources': [ |
| 103 'win/crashy_signal.cc', |
| 104 ], |
| 105 }, |
| 106 { |
| 107 'target_name': 'fake_handler_that_crashes_at_startup', |
| 108 'type': 'executable', |
| 109 'sources': [ |
| 110 'win/fake_handler_that_crashes_at_startup.cc', |
| 111 ], |
| 112 }, |
| 113 { |
| 114 'target_name': 'hanging_program', |
| 115 'type': 'executable', |
| 116 'dependencies': [ |
| 117 '../client/client.gyp:crashpad_client', |
| 118 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 119 ], |
| 120 'sources': [ |
| 121 'win/hanging_program.cc', |
| 122 ], |
| 123 }, |
| 124 { |
| 125 'target_name': 'loader_lock_dll', |
| 126 'type': 'loadable_module', |
| 127 'sources': [ |
| 128 'win/loader_lock_dll.cc', |
| 129 ], |
| 130 'msvs_settings': { |
| 131 'NoImportLibrary': 'true', |
| 132 }, |
| 133 }, |
| 134 { |
| 135 'target_name': 'self_destroying_program', |
| 136 'type': 'executable', |
| 137 'dependencies': [ |
| 138 '../client/client.gyp:crashpad_client', |
| 139 '../compat/compat.gyp:crashpad_compat', |
| 140 '../snapshot/snapshot.gyp:crashpad_snapshot', |
| 141 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 142 '../util/util.gyp:crashpad_util', |
| 143 ], |
| 144 'include_dirs': [ |
| 145 '..', |
| 146 ], |
| 147 'sources': [ |
| 148 'win/self_destroying_test_program.cc', |
| 149 ], |
| 150 }, |
| 151 ], |
| 152 'conditions': [ |
| 153 # Cannot create an x64 DLL with embedded debug info. |
| 154 ['target_arch=="ia32"', { |
| 155 'targets': [ |
| 156 { |
| 157 'target_name': 'crashy_z7_loader', |
| 158 'type': 'executable', |
| 159 'dependencies': [ |
| 160 '../client/client.gyp:crashpad_client', |
| 161 '../test/test.gyp:crashpad_test', |
| 162 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 163 ], |
| 164 'include_dirs': [ |
| 165 '..', |
| 166 ], |
| 167 'sources': [ |
| 168 'win/crashy_test_z7_loader.cc', |
| 169 ], |
| 170 }, |
| 171 ], |
| 172 }], |
| 173 ], |
62 }], | 174 }], |
63 ], | 175 ], |
64 } | 176 } |
OLD | NEW |