| OLD | NEW |
| 1 # Copyright 2014 The Crashpad Authors. All rights reserved. | 1 # Copyright 2014 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 ['OS=="win"', { | 96 ['OS=="win"', { |
| 97 'link_settings': { | 97 'link_settings': { |
| 98 'libraries': [ | 98 'libraries': [ |
| 99 '-lpowrprof.lib', | 99 '-lpowrprof.lib', |
| 100 '-lversion.lib', | 100 '-lversion.lib', |
| 101 ], | 101 ], |
| 102 }, | 102 }, |
| 103 }], | 103 }], |
| 104 ] | 104 ] |
| 105 }, | 105 }, |
| 106 { | |
| 107 'target_name': 'crashpad_snapshot_test_lib', | |
| 108 'type': 'static_library', | |
| 109 'dependencies': [ | |
| 110 'crashpad_snapshot', | |
| 111 '../compat/compat.gyp:crashpad_compat', | |
| 112 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
| 113 '../util/util.gyp:crashpad_util', | |
| 114 ], | |
| 115 'include_dirs': [ | |
| 116 '..', | |
| 117 ], | |
| 118 'sources': [ | |
| 119 'test/test_cpu_context.cc', | |
| 120 'test/test_cpu_context.h', | |
| 121 'test/test_exception_snapshot.cc', | |
| 122 'test/test_exception_snapshot.h', | |
| 123 'test/test_memory_snapshot.cc', | |
| 124 'test/test_memory_snapshot.h', | |
| 125 'test/test_module_snapshot.cc', | |
| 126 'test/test_module_snapshot.h', | |
| 127 'test/test_process_snapshot.cc', | |
| 128 'test/test_process_snapshot.h', | |
| 129 'test/test_system_snapshot.cc', | |
| 130 'test/test_system_snapshot.h', | |
| 131 'test/test_thread_snapshot.cc', | |
| 132 'test/test_thread_snapshot.h', | |
| 133 ], | |
| 134 }, | |
| 135 { | |
| 136 'target_name': 'crashpad_snapshot_test', | |
| 137 'type': 'executable', | |
| 138 'dependencies': [ | |
| 139 'crashpad_snapshot', | |
| 140 '../client/client.gyp:crashpad_client', | |
| 141 '../compat/compat.gyp:crashpad_compat', | |
| 142 '../third_party/gtest/gtest.gyp:gtest', | |
| 143 '../third_party/gtest/gtest.gyp:gtest_main', | |
| 144 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
| 145 '../util/util.gyp:crashpad_util', | |
| 146 '../util/util.gyp:crashpad_util_test_lib', | |
| 147 ], | |
| 148 'include_dirs': [ | |
| 149 '..', | |
| 150 ], | |
| 151 'sources': [ | |
| 152 'cpu_context_test.cc', | |
| 153 'mac/cpu_context_mac_test.cc', | |
| 154 'mac/crashpad_info_client_options_test.cc', | |
| 155 'mac/mach_o_image_annotations_reader_test.cc', | |
| 156 'mac/mach_o_image_reader_test.cc', | |
| 157 'mac/mach_o_image_segment_reader_test.cc', | |
| 158 'mac/process_reader_test.cc', | |
| 159 'mac/process_types_test.cc', | |
| 160 'mac/system_snapshot_mac_test.cc', | |
| 161 'minidump/process_snapshot_minidump_test.cc', | |
| 162 'win/system_snapshot_win_test.cc', | |
| 163 ], | |
| 164 'conditions': [ | |
| 165 ['OS=="mac"', { | |
| 166 'dependencies': [ | |
| 167 'crashpad_snapshot_test_module', | |
| 168 ], | |
| 169 'link_settings': { | |
| 170 'libraries': [ | |
| 171 '$(SDKROOT)/System/Library/Frameworks/OpenCL.framework', | |
| 172 ], | |
| 173 }, | |
| 174 }], | |
| 175 ], | |
| 176 }, | |
| 177 ], | |
| 178 'conditions': [ | |
| 179 ['OS=="mac"', { | |
| 180 'targets': [ | |
| 181 { | |
| 182 'target_name': 'crashpad_snapshot_test_module', | |
| 183 'type': 'loadable_module', | |
| 184 'dependencies': [ | |
| 185 '../client/client.gyp:crashpad_client', | |
| 186 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
| 187 ], | |
| 188 'include_dirs': [ | |
| 189 '..', | |
| 190 ], | |
| 191 'sources': [ | |
| 192 'mac/crashpad_info_client_options_test_module.cc', | |
| 193 ], | |
| 194 }, | |
| 195 ], | |
| 196 }], | |
| 197 ], | 106 ], |
| 198 } | 107 } |
| OLD | NEW |