| Index: components/crash/content/app/BUILD.gn
|
| diff --git a/components/crash/content/app/BUILD.gn b/components/crash/content/app/BUILD.gn
|
| index f1e136dfdc426561061ceb7771b61a16e89008ea..be2522dab73586d5e9e75670c77c5a306da671a7 100644
|
| --- a/components/crash/content/app/BUILD.gn
|
| +++ b/components/crash/content/app/BUILD.gn
|
| @@ -34,8 +34,6 @@ static_library("app") {
|
| "crashpad.h",
|
| "crashpad_mac.mm",
|
| "crashpad_win.cc",
|
| - "run_as_crashpad_handler_win.cc",
|
| - "run_as_crashpad_handler_win.h",
|
| ]
|
|
|
| if (is_mac || is_win) {
|
| @@ -64,6 +62,22 @@ static_library("app") {
|
| }
|
| }
|
|
|
| +if (is_win) {
|
| + static_library("run_as_crashpad_handler") {
|
| + sources = [
|
| + "crash_switches.cc",
|
| + "crash_switches.h",
|
| + "run_as_crashpad_handler_win.cc",
|
| + "run_as_crashpad_handler_win.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//third_party/crashpad/crashpad/handler:handler_lib",
|
| + ]
|
| + }
|
| +}
|
| +
|
| # TODO(mark): https://crbug.com/466890: merge this target with
|
| # crash_component.
|
| #
|
|
|