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 assert(!is_ios) | 5 assert(!is_ios) |
6 if (is_android) { | 6 if (is_android) { |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 } | 8 } |
9 | 9 |
10 static_library("lib") { | 10 static_library("lib") { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 if (is_win) { | 59 if (is_win) { |
60 deps += [ "//third_party/crashpad/crashpad/handler:handler_lib" ] | 60 deps += [ "//third_party/crashpad/crashpad/handler:handler_lib" ] |
61 } | 61 } |
62 } | 62 } |
63 | 63 |
64 if (is_win) { | 64 if (is_win) { |
65 static_library("run_as_crashpad_handler") { | 65 static_library("run_as_crashpad_handler") { |
66 sources = [ | 66 sources = [ |
67 "crash_switches.cc", | 67 "crash_switches.cc", |
68 "crash_switches.h", | 68 "crash_switches.h", |
| 69 "fallback_crash_handler_launcher_win.cc", |
| 70 "fallback_crash_handler_launcher_win.h", |
69 "run_as_crashpad_handler_win.cc", | 71 "run_as_crashpad_handler_win.cc", |
70 "run_as_crashpad_handler_win.h", | 72 "run_as_crashpad_handler_win.h", |
71 ] | 73 ] |
72 | 74 |
73 deps = [ | 75 deps = [ |
74 "//base", | 76 "//base", |
75 "//third_party/crashpad/crashpad/handler:handler_lib", | 77 "//third_party/crashpad/crashpad/handler:handler_lib", |
76 ] | 78 ] |
77 } | 79 } |
78 } | 80 } |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 deps = [ | 208 deps = [ |
207 "//base", | 209 "//base", |
208 ] | 210 ] |
209 } | 211 } |
210 } | 212 } |
211 | 213 |
212 source_set("unit_tests") { | 214 source_set("unit_tests") { |
213 testonly = true | 215 testonly = true |
214 sources = [ | 216 sources = [ |
215 "crash_keys_win_unittest.cc", | 217 "crash_keys_win_unittest.cc", |
| 218 "fallback_crash_handler_launcher_win_unittest.cc", |
216 ] | 219 ] |
217 deps = [ | 220 deps = [ |
218 ":lib", | 221 ":lib", |
219 "//base", | 222 "//base", |
| 223 "//base/test:test_support", |
220 "//testing/gmock", | 224 "//testing/gmock", |
221 "//testing/gtest", | 225 "//testing/gtest", |
222 ] | 226 ] |
223 | 227 |
224 if (is_win) { | 228 if (is_win) { |
225 deps += [ "//breakpad:client" ] | 229 deps += [ |
| 230 ":run_as_crashpad_handler", |
| 231 "//breakpad:client", |
| 232 ] |
226 } | 233 } |
227 } | 234 } |
OLD | NEW |