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

Side by Side Diff: components/browser_watcher/BUILD.gn

Issue 2685053003: Switch stability reports to use the crashed version's details (Closed)
Patch Set: Merge Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/browser_watcher/postmortem_minidump_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 if (is_win) { 7 if (is_win) {
8 proto_library("stability_report_proto") { 8 proto_library("stability_report_proto") {
9 sources = [ 9 sources = [
10 "stability_report.proto", 10 "stability_report.proto",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ] 43 ]
44 } 44 }
45 45
46 static_library("postmortem_minidump_writer") { 46 static_library("postmortem_minidump_writer") {
47 # TODO(manzagop): remove this lib once Crashpad writes the minidumps. 47 # TODO(manzagop): remove this lib once Crashpad writes the minidumps.
48 sources = [ 48 sources = [
49 "postmortem_minidump_writer.h", 49 "postmortem_minidump_writer.h",
50 "postmortem_minidump_writer_win.cc", 50 "postmortem_minidump_writer_win.cc",
51 ] 51 ]
52 deps = [ 52 deps = [
53 ":stability_data",
53 ":stability_report_proto", 54 ":stability_report_proto",
54 "//base", 55 "//base",
55 "//third_party/crashpad/crashpad/client", 56 "//third_party/crashpad/crashpad/client",
56 "//third_party/crashpad/crashpad/minidump", 57 "//third_party/crashpad/crashpad/minidump",
57 "//third_party/crashpad/crashpad/util", 58 "//third_party/crashpad/crashpad/util",
58 ] 59 ]
59 } 60 }
60 61
61 static_library("postmortem_report_collector") { 62 static_library("postmortem_report_collector") {
62 sources = [ 63 sources = [
63 "postmortem_report_collector.cc", 64 "postmortem_report_collector.cc",
64 "postmortem_report_collector.h", 65 "postmortem_report_collector.h",
65 ] 66 ]
66 deps = [ 67 deps = [
67 ":postmortem_minidump_writer", 68 ":postmortem_minidump_writer",
69 ":stability_data",
68 ":stability_report_proto", 70 ":stability_report_proto",
69 "//base", 71 "//base",
70 "//third_party/crashpad/crashpad/client", 72 "//third_party/crashpad/crashpad/client",
71 "//third_party/crashpad/crashpad/util", 73 "//third_party/crashpad/crashpad/util",
72 ] 74 ]
73 } 75 }
74 } 76 }
75 77
76 static_library("stability") { 78 static_library("stability") {
77 sources = [ 79 sources = [
(...skipping 25 matching lines...) Expand all
103 "watcher_client_win_unittest.cc", 105 "watcher_client_win_unittest.cc",
104 "watcher_metrics_provider_win_unittest.cc", 106 "watcher_metrics_provider_win_unittest.cc",
105 "window_hang_monitor_win_unittest.cc", 107 "window_hang_monitor_win_unittest.cc",
106 ] 108 ]
107 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 109 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
108 deps = [ 110 deps = [
109 ":browser_watcher", 111 ":browser_watcher",
110 ":browser_watcher_client", 112 ":browser_watcher_client",
111 ":postmortem_minidump_writer", 113 ":postmortem_minidump_writer",
112 ":postmortem_report_collector", 114 ":postmortem_report_collector",
115 ":stability_data",
113 ":stability_report_proto", 116 ":stability_report_proto",
114 "//base", 117 "//base",
115 "//base/test:test_support", 118 "//base/test:test_support",
116 "//testing/gmock", 119 "//testing/gmock",
117 "//testing/gtest", 120 "//testing/gtest",
118 "//third_party/crashpad/crashpad/client", 121 "//third_party/crashpad/crashpad/client",
119 122
120 # TODO(manzagop): remove this lib once Crashpad writes the minidumps. 123 # TODO(manzagop): remove this lib once Crashpad writes the minidumps.
121 "//third_party/crashpad/crashpad/compat", 124 "//third_party/crashpad/crashpad/compat",
122 "//third_party/crashpad/crashpad/minidump", 125 "//third_party/crashpad/crashpad/minidump",
123 "//third_party/crashpad/crashpad/snapshot", 126 "//third_party/crashpad/crashpad/snapshot",
124 "//third_party/crashpad/crashpad/util", 127 "//third_party/crashpad/crashpad/util",
125 ] 128 ]
126 } 129 }
127 130
128 executable("dump_postmortem") { 131 executable("dump_postmortem") {
129 sources = [ 132 sources = [
130 "dump_postmortem_minidump_main_win.cc", 133 "dump_postmortem_minidump_main_win.cc",
131 ] 134 ]
132 deps = [ 135 deps = [
133 ":stability_report_proto", 136 ":stability_report_proto",
134 "//base", 137 "//base",
135 ] 138 ]
136 } 139 }
137 } 140 }
OLDNEW
« no previous file with comments | « no previous file | components/browser_watcher/postmortem_minidump_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698