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, |
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 # See the License for the specific language governing permissions and | 12 # See the License for the specific language governing permissions and |
13 # limitations under the License. | 13 # limitations under the License. |
14 | 14 |
15 { | 15 { |
16 'includes': [ | 16 'includes': [ |
17 '../build/crashpad.gypi', | 17 '../build/crashpad.gypi', |
18 ], | 18 ], |
19 'targets': [ | 19 'targets': [ |
20 { | 20 { |
21 'target_name': 'crashpad_client_test', | 21 'target_name': 'crashpad_client_test', |
22 'type': 'executable', | 22 'type': 'executable', |
23 'dependencies': [ | 23 'dependencies': [ |
24 'client.gyp:crashpad_client', | 24 'client.gyp:crashpad_client', |
25 '../compat/compat.gyp:crashpad_compat', | 25 '../compat/compat.gyp:crashpad_compat', |
| 26 '../test/test.gyp:crashpad_test', |
26 '../third_party/gtest/gtest.gyp:gtest', | 27 '../third_party/gtest/gtest.gyp:gtest', |
27 '../third_party/gtest/gtest.gyp:gtest_main', | 28 '../third_party/gtest/gtest.gyp:gtest_main', |
28 '../third_party/mini_chromium/mini_chromium.gyp:base', | 29 '../third_party/mini_chromium/mini_chromium.gyp:base', |
29 '../util/util.gyp:crashpad_util', | 30 '../util/util.gyp:crashpad_util', |
30 '../util/util_test.gyp:crashpad_util_test_lib', | |
31 ], | 31 ], |
32 'include_dirs': [ | 32 'include_dirs': [ |
33 '..', | 33 '..', |
34 ], | 34 ], |
35 'sources': [ | 35 'sources': [ |
36 'capture_context_mac_test.cc', | 36 'capture_context_mac_test.cc', |
37 'crash_report_database_test.cc', | 37 'crash_report_database_test.cc', |
38 'settings_test.cc', | 38 'settings_test.cc', |
39 'simple_string_dictionary_test.cc', | 39 'simple_string_dictionary_test.cc', |
40 'simulate_crash_mac_test.cc', | 40 'simulate_crash_mac_test.cc', |
41 ], | 41 ], |
42 'conditions': [ | 42 'conditions': [ |
43 ['OS=="win"', { | 43 ['OS=="win"', { |
44 'sources!': [ | 44 'sources!': [ |
45 # Port to Win https://code.google.com/p/crashpad/issues/detail?id=13 | 45 # Port to Win https://code.google.com/p/crashpad/issues/detail?id=13 |
46 'settings_test.cc', | 46 'settings_test.cc', |
47 ], | 47 ], |
48 }], | 48 }], |
49 ], | 49 ], |
50 }, | 50 }, |
51 ], | 51 ], |
52 } | 52 } |
OLD | NEW |