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

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

Issue 2860863003: Rework GetStabilityFileForProcess for use by Crashpad integration (Closed)
Patch Set: Address Mark's second round Created 3 years, 7 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "stability_report_extractor.h", 72 "stability_report_extractor.h",
73 ] 73 ]
74 deps = [ 74 deps = [
75 ":stability_client", 75 ":stability_client",
76 ":stability_report_proto", 76 ":stability_report_proto",
77 "//base", 77 "//base",
78 "//components/variations", 78 "//components/variations",
79 "//third_party/crashpad/crashpad/util", 79 "//third_party/crashpad/crashpad/util",
80 ] 80 ]
81 } 81 }
82 }
83 82
84 static_library("stability_client") { 83 static_library("stability_client") {
85 sources = [ 84 sources = [
86 "features.cc", 85 "features.cc",
87 "features.h", 86 "features.h",
88 "stability_data_names.cc", 87 "stability_data_names.cc",
89 "stability_data_names.h", 88 "stability_data_names.h",
90 "stability_debugging.cc", 89 "stability_debugging.cc",
91 "stability_debugging.h", 90 "stability_debugging.h",
92 "stability_paths.cc", 91 "stability_paths.cc",
93 "stability_paths.h", 92 "stability_paths.h",
94 ] 93 ]
95 deps = [ 94 deps = [
96 "//base", 95 "//base",
97 ] 96 "//third_party/crashpad/crashpad/util",
98 } 97 ]
98 }
99 99
100 if (is_win) {
101 source_set("unit_tests") { 100 source_set("unit_tests") {
102 testonly = true 101 testonly = true
103 sources = [ 102 sources = [
104 "endsession_watcher_window_win_unittest.cc", 103 "endsession_watcher_window_win_unittest.cc",
105 "exit_code_watcher_win_unittest.cc", 104 "exit_code_watcher_win_unittest.cc",
106 "postmortem_minidump_writer_win_unittest.cc", 105 "postmortem_minidump_writer_win_unittest.cc",
107 "postmortem_report_collector_unittest.cc", 106 "postmortem_report_collector_unittest.cc",
108 "stability_debugging_win_unittest.cc", 107 "stability_debugging_win_unittest.cc",
109 "system_session_analyzer_win_unittest.cc", 108 "system_session_analyzer_win_unittest.cc",
110 "watcher_client_win_unittest.cc", 109 "watcher_client_win_unittest.cc",
111 "watcher_metrics_provider_win_unittest.cc", 110 "watcher_metrics_provider_win_unittest.cc",
112 "window_hang_monitor_win_unittest.cc", 111 "window_hang_monitor_win_unittest.cc",
113 ] 112 ]
114 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 113 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
115 deps = [ 114 deps = [
116 ":browser_watcher", 115 ":browser_watcher",
117 ":browser_watcher_client", 116 ":browser_watcher_client",
118 ":postmortem_stability", 117 ":postmortem_stability",
119 ":stability_client", 118 ":stability_client",
120 ":stability_common", 119 ":stability_common",
121 ":stability_report_proto", 120 ":stability_report_proto",
122 "//base", 121 "//base",
123 "//base/test:test_support", 122 "//base/test:test_support",
124 "//testing/gmock", 123 "//testing/gmock",
125 "//testing/gtest", 124 "//testing/gtest",
126 "//third_party/crashpad/crashpad/client", 125 "//third_party/crashpad/crashpad/client",
127 126
128 # TODO(manzagop): remove this lib once Crashpad writes the minidumps. 127 # TODO(manzagop): remove this lib once Crashpad writes the minidumps.
129 "//third_party/crashpad/crashpad/compat",
130 "//third_party/crashpad/crashpad/minidump", 128 "//third_party/crashpad/crashpad/minidump",
131 "//third_party/crashpad/crashpad/snapshot", 129 "//third_party/crashpad/crashpad/snapshot",
132 "//third_party/crashpad/crashpad/util", 130 "//third_party/crashpad/crashpad/util",
133 ] 131 ]
134 } 132 }
135 133
136 executable("dump_postmortem") { 134 executable("dump_postmortem") {
137 sources = [ 135 sources = [
138 "dump_postmortem_minidump_main_win.cc", 136 "dump_postmortem_minidump_main_win.cc",
139 ] 137 ]
140 deps = [ 138 deps = [
141 ":stability_report_proto", 139 ":stability_report_proto",
142 "//base", 140 "//base",
143 ] 141 ]
144 } 142 }
145 143
146 executable("fetch_system_session_events") { 144 executable("fetch_system_session_events") {
147 sources = [ 145 sources = [
148 "fetch_system_session_events_main_win.cc", 146 "fetch_system_session_events_main_win.cc",
149 ] 147 ]
150 deps = [ 148 deps = [
151 ":postmortem_stability", 149 ":postmortem_stability",
152 "//base", 150 "//base",
153 ] 151 ]
154 } 152 }
155 } 153 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/crashpad/crashpad/util/BUILD.gn ('k') | components/browser_watcher/stability_paths.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698