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 'targets': [ | 16 'targets': [ |
17 { | 17 { |
18 'target_name': 'client', | 18 'target_name': 'client', |
19 'type': 'static_library', | 19 'type': 'static_library', |
20 'dependencies': [ | 20 'dependencies': [ |
| 21 '../compat/compat.gyp:compat', |
21 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 22 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
22 '../util/util.gyp:util', | 23 '../util/util.gyp:util', |
23 ], | 24 ], |
24 'include_dirs': [ | 25 'include_dirs': [ |
25 '..', | 26 '..', |
26 ], | 27 ], |
27 'sources': [ | 28 'sources': [ |
28 'capture_context_mac.h', | 29 'capture_context_mac.h', |
29 'capture_context_mac.S', | 30 'capture_context_mac.S', |
30 'crashpad_client.h', | 31 'crashpad_client.h', |
31 'crashpad_client_mac.cc', | 32 'crashpad_client_mac.cc', |
32 'crashpad_info.cc', | 33 'crashpad_info.cc', |
33 'crashpad_info.h', | 34 'crashpad_info.h', |
34 'crash_report_database_mac.mm', | 35 'crash_report_database_mac.mm', |
35 'crash_report_database.cc', | 36 'crash_report_database.cc', |
36 'crash_report_database.h', | 37 'crash_report_database.h', |
37 'simple_string_dictionary.cc', | 38 'simple_string_dictionary.cc', |
38 'simple_string_dictionary.h', | 39 'simple_string_dictionary.h', |
39 'simulate_crash.h', | 40 'simulate_crash.h', |
40 'simulate_crash_mac.cc', | 41 'simulate_crash_mac.cc', |
41 'simulate_crash_mac.h', | 42 'simulate_crash_mac.h', |
42 ], | 43 ], |
43 }, | 44 }, |
44 { | 45 { |
45 'target_name': 'client_test', | 46 'target_name': 'client_test', |
46 'type': 'executable', | 47 'type': 'executable', |
47 'dependencies': [ | 48 'dependencies': [ |
48 'client', | 49 'client', |
| 50 '../compat/compat.gyp:compat', |
49 '../third_party/gtest/gtest.gyp:gtest', | 51 '../third_party/gtest/gtest.gyp:gtest', |
50 '../third_party/gtest/gtest.gyp:gtest_main', | 52 '../third_party/gtest/gtest.gyp:gtest_main', |
51 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 53 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
52 '../util/util.gyp:util', | 54 '../util/util.gyp:util', |
53 '../util/util.gyp:util_test_lib', | 55 '../util/util.gyp:util_test_lib', |
54 ], | 56 ], |
55 'include_dirs': [ | 57 'include_dirs': [ |
56 '..', | 58 '..', |
57 ], | 59 ], |
58 'sources': [ | 60 'sources': [ |
59 'capture_context_mac_test.cc', | 61 'capture_context_mac_test.cc', |
60 'crash_report_database_test.cc', | 62 'crash_report_database_test.cc', |
61 'simple_string_dictionary_test.cc', | 63 'simple_string_dictionary_test.cc', |
62 'simulate_crash_mac_test.cc', | 64 'simulate_crash_mac_test.cc', |
63 ], | 65 ], |
64 }, | 66 }, |
65 ], | 67 ], |
66 } | 68 } |
OLD | NEW |