OLD | NEW |
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "//base", | 59 "//base", |
60 "//components/variations", | 60 "//components/variations", |
61 "//third_party/crashpad/crashpad/client", | 61 "//third_party/crashpad/crashpad/client", |
62 "//third_party/crashpad/crashpad/minidump", | 62 "//third_party/crashpad/crashpad/minidump", |
63 "//third_party/crashpad/crashpad/util", | 63 "//third_party/crashpad/crashpad/util", |
64 ] | 64 ] |
65 libs = [ "wevtapi.lib" ] | 65 libs = [ "wevtapi.lib" ] |
66 ldflags = [ "/DELAYLOAD:wevtapi.dll" ] # Only used after unclean shutdowns. | 66 ldflags = [ "/DELAYLOAD:wevtapi.dll" ] # Only used after unclean shutdowns. |
67 } | 67 } |
68 | 68 |
| 69 static_library("crash_stability") { |
| 70 sources = [ |
| 71 "stability_report_user_stream_data_source.cc", |
| 72 "stability_report_user_stream_data_source.h", |
| 73 ] |
| 74 deps = [ |
| 75 ":stability_client", |
| 76 ":stability_common", |
| 77 ":stability_report_proto", |
| 78 "//base", |
| 79 "//chrome/install_static:install_static_util", |
| 80 "//third_party/crashpad/crashpad/client", |
| 81 "//third_party/crashpad/crashpad/compat", |
| 82 "//third_party/crashpad/crashpad/handler:handler_lib", |
| 83 "//third_party/crashpad/crashpad/minidump", |
| 84 "//third_party/crashpad/crashpad/snapshot", |
| 85 ] |
| 86 } |
| 87 |
69 static_library("stability_common") { | 88 static_library("stability_common") { |
70 sources = [ | 89 sources = [ |
| 90 "minidump_user_streams.h", |
71 "stability_report_extractor.cc", | 91 "stability_report_extractor.cc", |
72 "stability_report_extractor.h", | 92 "stability_report_extractor.h", |
73 ] | 93 ] |
74 deps = [ | 94 deps = [ |
75 ":stability_client", | 95 ":stability_client", |
76 ":stability_report_proto", | 96 ":stability_report_proto", |
77 "//base", | 97 "//base", |
78 "//components/variations", | 98 "//components/variations", |
79 "//third_party/crashpad/crashpad/util", | 99 "//third_party/crashpad/crashpad/util", |
80 ] | 100 ] |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 executable("fetch_system_session_events") { | 164 executable("fetch_system_session_events") { |
145 sources = [ | 165 sources = [ |
146 "fetch_system_session_events_main_win.cc", | 166 "fetch_system_session_events_main_win.cc", |
147 ] | 167 ] |
148 deps = [ | 168 deps = [ |
149 ":postmortem_stability", | 169 ":postmortem_stability", |
150 "//base", | 170 "//base", |
151 ] | 171 ] |
152 } | 172 } |
153 } | 173 } |
OLD | NEW |