| 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", |
| 11 "crash_report_database.cc", | 13 "crash_report_database.cc", |
| 12 "crash_report_database.h", | 14 "crash_report_database.h", |
| 13 "crash_report_database_mac.mm", | 15 "crash_report_database_mac.mm", |
| 14 "crash_report_database_win.cc", | 16 "crash_report_database_win.cc", |
| 15 "crashpad_client.h", | 17 "crashpad_client.h", |
| 16 "crashpad_client_mac.cc", | 18 "crashpad_client_mac.cc", |
| 17 "crashpad_client_win.cc", | 19 "crashpad_client_win.cc", |
| 18 "crashpad_info.cc", | 20 "crashpad_info.cc", |
| 19 "crashpad_info.h", | 21 "crashpad_info.h", |
| 20 "prune_crash_reports.cc", | 22 "prune_crash_reports.cc", |
| 21 "prune_crash_reports.h", | 23 "prune_crash_reports.h", |
| 22 "settings.cc", | 24 "settings.cc", |
| 23 "settings.h", | 25 "settings.h", |
| 24 "simple_string_dictionary.cc", | 26 "simple_string_dictionary.cc", |
| 25 "simple_string_dictionary.h", | 27 "simple_string_dictionary.h", |
| 26 "simulate_crash.h", | 28 "simulate_crash.h", |
| 27 "simulate_crash_mac.cc", | 29 "simulate_crash_mac.cc", |
| 28 "simulate_crash_mac.h", | 30 "simulate_crash_mac.h", |
| 29 "simulate_crash_win.h", | 31 "simulate_crash_win.h", |
| 30 ] | 32 ] |
| 31 | 33 |
| 32 if (is_mac) { | |
| 33 sources += [ | |
| 34 "capture_context_mac.S", | |
| 35 "capture_context_mac.h", | |
| 36 ] | |
| 37 } | |
| 38 | |
| 39 public_configs = [ ":client_config" ] | 34 public_configs = [ ":client_config" ] |
| 40 | 35 |
| 41 deps = [ | 36 deps = [ |
| 42 "//base", | 37 "//base", |
| 43 "//third_party/crashpad/crashpad/compat", | 38 "//third_party/crashpad/crashpad/compat", |
| 44 "//third_party/crashpad/crashpad/util", | 39 "//third_party/crashpad/crashpad/util", |
| 45 ] | 40 ] |
| 46 | 41 |
| 47 if (is_win) { | 42 if (is_win) { |
| 48 libs = [ "rpcrt4.lib" ] | 43 libs = [ "rpcrt4.lib" ] |
| 49 } | 44 } |
| 50 } | 45 } |
| OLD | NEW |