OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 } | 7 } |
8 | 8 |
9 source_set("lib") { | 9 source_set("lib") { |
10 sources = [ | 10 sources = [ |
(...skipping 27 matching lines...) Expand all Loading... |
38 ] | 38 ] |
39 | 39 |
40 if (is_mac || is_win) { | 40 if (is_mac || is_win) { |
41 sources += [ "crashpad.cc" ] | 41 sources += [ "crashpad.cc" ] |
42 } | 42 } |
43 | 43 |
44 defines = [ "CRASH_IMPLEMENTATION" ] | 44 defines = [ "CRASH_IMPLEMENTATION" ] |
45 | 45 |
46 public_deps = [ | 46 public_deps = [ |
47 ":app_non_mac_win", | 47 ":app_non_mac_win", |
48 ":lib", | |
49 "//third_party/kasko", | 48 "//third_party/kasko", |
50 ] | 49 ] |
51 deps = [ | 50 deps = [ |
52 "//base", | 51 "//base", |
53 ] | 52 ] |
54 | 53 |
| 54 deps += [ ":lib" ] |
55 if (is_win) { | 55 if (is_win) { |
56 deps += [ | 56 deps += [ |
57 # TODO(fdoray): Remove this once the PreRead field trial has expired. | 57 # TODO(fdoray): Remove this once the PreRead field trial has expired. |
58 # crbug.com/577698 | 58 # crbug.com/577698 |
59 "//components/startup_metric_utils/common", | 59 "//components/startup_metric_utils/common", |
60 ] | 60 ] |
61 } | 61 } |
62 if (is_mac || is_win) { | 62 if (is_mac || is_win) { |
63 deps += [ | 63 deps += [ |
64 "//third_party/crashpad/crashpad/client", | 64 "//third_party/crashpad/crashpad/client", |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 183 |
184 if (is_mac) { | 184 if (is_mac) { |
185 deps += [ "//breakpad" ] | 185 deps += [ "//breakpad" ] |
186 } | 186 } |
187 | 187 |
188 if (is_win) { | 188 if (is_win) { |
189 deps += [ "//breakpad:breakpad_handler" ] | 189 deps += [ "//breakpad:breakpad_handler" ] |
190 } | 190 } |
191 } | 191 } |
192 } | 192 } |
OLD | NEW |