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 proto_library("stability_report_proto") { | 7 proto_library("stability_report_proto") { |
8 sources = [ | 8 sources = [ |
9 "stability_report.proto", | 9 "stability_report.proto", |
10 ] | 10 ] |
(...skipping 18 matching lines...) Expand all Loading... |
29 } | 29 } |
30 | 30 |
31 static_library("browser_watcher_client") { | 31 static_library("browser_watcher_client") { |
32 sources = [ | 32 sources = [ |
33 "watcher_client_win.cc", | 33 "watcher_client_win.cc", |
34 "watcher_client_win.h", | 34 "watcher_client_win.h", |
35 "watcher_metrics_provider_win.cc", | 35 "watcher_metrics_provider_win.cc", |
36 "watcher_metrics_provider_win.h", | 36 "watcher_metrics_provider_win.h", |
37 ] | 37 ] |
38 deps = [ | 38 deps = [ |
| 39 ":postmortem_report_collector", |
| 40 ":stability", |
39 "//base", | 41 "//base", |
40 "//components/metrics", | 42 "//components/metrics", |
| 43 "//third_party/crashpad/crashpad/client", |
41 ] | 44 ] |
42 } | 45 } |
43 | 46 |
44 static_library("postmortem_minidump_writer") { | 47 static_library("postmortem_minidump_writer") { |
45 # TODO(manzagop): remove this lib once Crashpad writes the minidumps. | 48 # TODO(manzagop): remove this lib once Crashpad writes the minidumps. |
46 sources = [ | 49 sources = [ |
47 "postmortem_minidump_writer.h", | 50 "postmortem_minidump_writer.h", |
48 "postmortem_minidump_writer_win.cc", | 51 "postmortem_minidump_writer_win.cc", |
49 ] | 52 ] |
50 deps = [ | 53 deps = [ |
(...skipping 13 matching lines...) Expand all Loading... |
64 deps = [ | 67 deps = [ |
65 ":postmortem_minidump_writer", | 68 ":postmortem_minidump_writer", |
66 ":stability_report_proto", | 69 ":stability_report_proto", |
67 "//base", | 70 "//base", |
68 "//components/version_info", | 71 "//components/version_info", |
69 "//third_party/crashpad/crashpad/client", | 72 "//third_party/crashpad/crashpad/client", |
70 "//third_party/crashpad/crashpad/util", | 73 "//third_party/crashpad/crashpad/util", |
71 ] | 74 ] |
72 } | 75 } |
73 | 76 |
| 77 static_library("stability") { |
| 78 sources = [ |
| 79 "features.cc", |
| 80 "features.h", |
| 81 "stability_debugging_win.cc", |
| 82 "stability_debugging_win.h", |
| 83 ] |
| 84 deps = [ |
| 85 "//base", |
| 86 ] |
| 87 } |
| 88 |
74 source_set("unit_tests") { | 89 source_set("unit_tests") { |
75 testonly = true | 90 testonly = true |
76 sources = [ | 91 sources = [ |
77 "endsession_watcher_window_win_unittest.cc", | 92 "endsession_watcher_window_win_unittest.cc", |
78 "exit_code_watcher_win_unittest.cc", | 93 "exit_code_watcher_win_unittest.cc", |
79 "exit_funnel_win_unittest.cc", | 94 "exit_funnel_win_unittest.cc", |
80 "postmortem_minidump_writer_win_unittest.cc", | 95 "postmortem_minidump_writer_win_unittest.cc", |
81 "postmortem_report_collector_unittest.cc", | 96 "postmortem_report_collector_unittest.cc", |
82 "watcher_client_win_unittest.cc", | 97 "watcher_client_win_unittest.cc", |
83 "watcher_metrics_provider_win_unittest.cc", | 98 "watcher_metrics_provider_win_unittest.cc", |
(...skipping 22 matching lines...) Expand all Loading... |
106 | 121 |
107 executable("dump_postmortem") { | 122 executable("dump_postmortem") { |
108 sources = [ | 123 sources = [ |
109 "dump_postmortem_minidump_main_win.cc", | 124 "dump_postmortem_minidump_main_win.cc", |
110 ] | 125 ] |
111 deps = [ | 126 deps = [ |
112 ":stability_report_proto", | 127 ":stability_report_proto", |
113 "//base", | 128 "//base", |
114 ] | 129 ] |
115 } | 130 } |
OLD | NEW |