| Index: components/crash/content/app/BUILD.gn
|
| diff --git a/components/crash/content/app/BUILD.gn b/components/crash/content/app/BUILD.gn
|
| index 4bdcc707212ee9d13333fa796d2dac83eed4a352..45983f48864eddd43d1d81de0fc32fcb68869ddd 100644
|
| --- a/components/crash/content/app/BUILD.gn
|
| +++ b/components/crash/content/app/BUILD.gn
|
| @@ -66,13 +66,22 @@ if (is_win) {
|
| sources = [
|
| "crash_switches.cc",
|
| "crash_switches.h",
|
| + "fallback_crash_handler_launcher_win.cc",
|
| + "fallback_crash_handler_launcher_win.h",
|
| +
|
| + # TODO(siggi): Maybe this wants to be a separate target, as it requires
|
| + # the crashpad client as a dependency?
|
| + "fallback_crash_handler_win.cc",
|
| + "fallback_crash_handler_win.h",
|
| "run_as_crashpad_handler_win.cc",
|
| "run_as_crashpad_handler_win.h",
|
| ]
|
|
|
| deps = [
|
| "//base",
|
| + "//third_party/crashpad/crashpad/client",
|
| "//third_party/crashpad/crashpad/handler:handler_lib",
|
| + "//third_party/crashpad/crashpad/minidump",
|
| ]
|
| }
|
| }
|
| @@ -213,15 +222,25 @@ source_set("unit_tests") {
|
| testonly = true
|
| sources = [
|
| "crash_keys_win_unittest.cc",
|
| + "fallback_crash_handler_launcher_win_unittest.cc",
|
| + "fallback_crash_handler_win_unittest.cc",
|
| ]
|
| deps = [
|
| ":lib",
|
| "//base",
|
| + "//base/test:test_support",
|
| "//testing/gmock",
|
| "//testing/gtest",
|
| + "//third_party/crashpad/crashpad/compat",
|
| + "//third_party/crashpad/crashpad/snapshot:snapshot",
|
| + "//third_party/crashpad/crashpad/util",
|
| ]
|
|
|
| if (is_win) {
|
| - deps += [ "//breakpad:client" ]
|
| + deps += [
|
| + ":run_as_crashpad_handler",
|
| + "//breakpad:client",
|
| + "//third_party/crashpad/crashpad/client",
|
| + ]
|
| }
|
| }
|
|
|