OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 config("client_config") { | 5 config("client_config") { |
6 include_dirs = [ ".." ] | 6 include_dirs = [ ".." ] |
7 } | 7 } |
8 | 8 |
9 source_set("client") { | 9 source_set("client") { |
10 sources = [ | 10 sources = [ |
11 "capture_context_mac.S", | |
12 "capture_context_mac.h", | |
13 "crash_report_database.cc", | 11 "crash_report_database.cc", |
14 "crash_report_database.h", | 12 "crash_report_database.h", |
15 "crash_report_database_mac.mm", | 13 "crash_report_database_mac.mm", |
16 "crash_report_database_win.cc", | 14 "crash_report_database_win.cc", |
17 "crashpad_client.h", | 15 "crashpad_client.h", |
18 "crashpad_client_mac.cc", | 16 "crashpad_client_mac.cc", |
19 "crashpad_client_win.cc", | 17 "crashpad_client_win.cc", |
20 "crashpad_info.cc", | 18 "crashpad_info.cc", |
21 "crashpad_info.h", | 19 "crashpad_info.h", |
22 "prune_crash_reports.cc", | 20 "prune_crash_reports.cc", |
23 "prune_crash_reports.h", | 21 "prune_crash_reports.h", |
24 "settings.cc", | 22 "settings.cc", |
25 "settings.h", | 23 "settings.h", |
26 "simple_string_dictionary.cc", | 24 "simple_string_dictionary.cc", |
27 "simple_string_dictionary.h", | 25 "simple_string_dictionary.h", |
28 "simulate_crash.h", | 26 "simulate_crash.h", |
29 "simulate_crash_mac.cc", | 27 "simulate_crash_mac.cc", |
30 "simulate_crash_mac.h", | 28 "simulate_crash_mac.h", |
31 "simulate_crash_win.h", | 29 "simulate_crash_win.h", |
32 ] | 30 ] |
33 | 31 |
| 32 if (is_mac) { |
| 33 sources += [ |
| 34 "capture_context_mac.S", |
| 35 "capture_context_mac.h", |
| 36 ] |
| 37 } |
| 38 |
34 public_configs = [ ":client_config" ] | 39 public_configs = [ ":client_config" ] |
35 | 40 |
36 deps = [ | 41 deps = [ |
37 "//base", | 42 "//base", |
38 "//third_party/crashpad/crashpad/compat", | 43 "//third_party/crashpad/crashpad/compat", |
39 "//third_party/crashpad/crashpad/util", | 44 "//third_party/crashpad/crashpad/util", |
40 ] | 45 ] |
41 | 46 |
42 if (is_win) { | 47 if (is_win) { |
43 libs = [ "rpcrt4.lib" ] | 48 libs = [ "rpcrt4.lib" ] |
44 } | 49 } |
45 } | 50 } |
OLD | NEW |