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

Unified Diff: components/browser_watcher/BUILD.gn

Issue 2715903003: Bound the impact of system instability on chrome instability. (Closed)
Patch Set: Merge fixups Created 3 years, 9 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
Index: components/browser_watcher/BUILD.gn
diff --git a/components/browser_watcher/BUILD.gn b/components/browser_watcher/BUILD.gn
index d4cc2acf4cfb06236e568f0055e598d0bb3245c9..ff857fe05ce5ebe0dab683f170d2cc31dffd8712 100644
--- a/components/browser_watcher/BUILD.gn
+++ b/components/browser_watcher/BUILD.gn
@@ -43,38 +43,28 @@ if (is_win) {
]
}
- static_library("postmortem_minidump_writer") {
- # TODO(manzagop): remove this lib once Crashpad writes the minidumps.
+ static_library("postmortem_report_collector") {
sources = [
"postmortem_minidump_writer.h",
"postmortem_minidump_writer_win.cc",
- ]
- deps = [
- ":stability_data",
- ":stability_report_proto",
- "//base",
- "//third_party/crashpad/crashpad/client",
- "//third_party/crashpad/crashpad/minidump",
- "//third_party/crashpad/crashpad/util",
- ]
- }
-
- static_library("postmortem_report_collector") {
- sources = [
"postmortem_report_collector.cc",
"postmortem_report_collector.h",
"postmortem_report_extractor.cc",
"postmortem_report_extractor.h",
+ "system_session_analyzer_win.cc",
+ "system_session_analyzer_win.h",
]
deps = [
- ":postmortem_minidump_writer",
":stability_data",
":stability_report_proto",
"//base",
"//components/variations",
"//third_party/crashpad/crashpad/client",
+ "//third_party/crashpad/crashpad/minidump",
"//third_party/crashpad/crashpad/util",
]
+ libs = [ "wevtapi.lib" ]
+ ldflags = [ "/DELAYLOAD:wevtapi.dll" ] # Only used after unclean shutdowns.
}
}
@@ -105,6 +95,7 @@ if (is_win) {
"exit_code_watcher_win_unittest.cc",
"postmortem_minidump_writer_win_unittest.cc",
"postmortem_report_collector_unittest.cc",
+ "system_session_analyzer_win_unittest.cc",
"watcher_client_win_unittest.cc",
"watcher_metrics_provider_win_unittest.cc",
"window_hang_monitor_win_unittest.cc",
@@ -113,7 +104,6 @@ if (is_win) {
deps = [
":browser_watcher",
":browser_watcher_client",
- ":postmortem_minidump_writer",
":postmortem_report_collector",
":stability_data",
":stability_report_proto",
@@ -140,4 +130,14 @@ if (is_win) {
"//base",
]
}
+
+ executable("fetch_system_session_events") {
+ sources = [
+ "fetch_system_session_events_main_win.cc",
+ ]
+ deps = [
+ ":postmortem_report_collector",
+ "//base",
+ ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698