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 "//third_party/crashpad/crashpad/client", |
| 80 "//third_party/crashpad/crashpad/compat", |
| 81 "//third_party/crashpad/crashpad/handler:handler_lib", |
| 82 "//third_party/crashpad/crashpad/minidump", |
| 83 "//third_party/crashpad/crashpad/snapshot", |
| 84 ] |
| 85 } |
| 86 |
69 static_library("stability_common") { | 87 static_library("stability_common") { |
70 sources = [ | 88 sources = [ |
| 89 "minidump_user_streams.h", |
71 "stability_report_extractor.cc", | 90 "stability_report_extractor.cc", |
72 "stability_report_extractor.h", | 91 "stability_report_extractor.h", |
73 ] | 92 ] |
74 deps = [ | 93 deps = [ |
75 ":stability_client", | 94 ":stability_client", |
76 ":stability_report_proto", | 95 ":stability_report_proto", |
77 "//base", | 96 "//base", |
78 "//components/variations", | 97 "//components/variations", |
79 "//third_party/crashpad/crashpad/util", | 98 "//third_party/crashpad/crashpad/util", |
80 ] | 99 ] |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 executable("fetch_system_session_events") { | 163 executable("fetch_system_session_events") { |
145 sources = [ | 164 sources = [ |
146 "fetch_system_session_events_main_win.cc", | 165 "fetch_system_session_events_main_win.cc", |
147 ] | 166 ] |
148 deps = [ | 167 deps = [ |
149 ":postmortem_stability", | 168 ":postmortem_stability", |
150 "//base", | 169 "//base", |
151 ] | 170 ] |
152 } | 171 } |
153 } | 172 } |
OLD | NEW |