Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(910)

Unified Diff: components/crash/content/app/BUILD.gn

Issue 2250263002: Fix ASAN canary crashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ananta and scottmg to owners for main_loader_dll_win.cc and chrome_crash_reporter_client_win.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_elf/chrome_elf_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
#
« no previous file with comments | « chrome_elf/chrome_elf_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698