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

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

Issue 2064463002: Mojo interface/service for Leak Detector on remote process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update ProtobufToMojoConverterTest Created 4 years, 5 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 | « components/metrics.gypi ('k') | components/metrics/leak_detector/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 declare_args() { 5 declare_args() {
6 # Overrides os name in uma metrics log to "Blimp". 6 # Overrides os name in uma metrics log to "Blimp".
7 metrics_use_blimp = false 7 metrics_use_blimp = false
8 } 8 }
9 9
10 # These are only used by the blimp team, which has entirely migrated to gn, 10 # These are only used by the blimp team, which has entirely migrated to gn,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 ":metrics", 121 ":metrics",
122 ] 122 ]
123 deps = [ 123 deps = [
124 "//base", 124 "//base",
125 "//content/public/browser", 125 "//content/public/browser",
126 "//gpu/config", 126 "//gpu/config",
127 ] 127 ]
128 } 128 }
129 } 129 }
130 130
131 if (is_chromeos) {
132 # GYP version: components/metrics.gypi:metrics_leak_detector
133 static_library("leak_detector") {
134 sources = [
135 "leak_detector/call_stack_manager.cc",
136 "leak_detector/call_stack_manager.h",
137 "leak_detector/call_stack_table.cc",
138 "leak_detector/call_stack_table.h",
139 "leak_detector/custom_allocator.cc",
140 "leak_detector/custom_allocator.h",
141 "leak_detector/leak_analyzer.cc",
142 "leak_detector/leak_analyzer.h",
143 "leak_detector/leak_detector.cc",
144 "leak_detector/leak_detector.h",
145 "leak_detector/leak_detector_impl.cc",
146 "leak_detector/leak_detector_impl.h",
147 "leak_detector/leak_detector_value_type.cc",
148 "leak_detector/leak_detector_value_type.h",
149 "leak_detector/ranked_set.cc",
150 "leak_detector/ranked_set.h",
151 ]
152
153 deps = [
154 "//base",
155 "//components/metrics/proto:proto",
156 ]
157 }
158 }
159
160 # GYP version: components/metrics.gypi:metrics_net 131 # GYP version: components/metrics.gypi:metrics_net
161 static_library("net") { 132 static_library("net") {
162 sources = [ 133 sources = [
163 "net/cellular_logic_helper.cc", 134 "net/cellular_logic_helper.cc",
164 "net/cellular_logic_helper.h", 135 "net/cellular_logic_helper.h",
165 "net/net_metrics_log_uploader.cc", 136 "net/net_metrics_log_uploader.cc",
166 "net/net_metrics_log_uploader.h", 137 "net/net_metrics_log_uploader.h",
167 "net/network_metrics_provider.cc", 138 "net/network_metrics_provider.cc",
168 "net/network_metrics_provider.h", 139 "net/network_metrics_provider.h",
169 "net/version_utils.cc", 140 "net/version_utils.cc",
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 "serialization/metric_sample.h", 268 "serialization/metric_sample.h",
298 "serialization/serialization_utils.cc", 269 "serialization/serialization_utils.cc",
299 "serialization/serialization_utils.h", 270 "serialization/serialization_utils.h",
300 ] 271 ]
301 deps = [ 272 deps = [
302 "//base", 273 "//base",
303 ] 274 ]
304 } 275 }
305 } 276 }
306 277
307 if (is_chromeos) {
308 source_set("leak_detector_unit_tests") {
309 testonly = true
310 sources = [
311 "leak_detector/call_stack_manager_unittest.cc",
312 "leak_detector/call_stack_table_unittest.cc",
313 "leak_detector/leak_analyzer_unittest.cc",
314 "leak_detector/leak_detector_impl_unittest.cc",
315 "leak_detector/leak_detector_unittest.cc",
316 "leak_detector/ranked_set_unittest.cc",
317 ]
318
319 deps = [
320 ":leak_detector",
321 "//base",
322 "//components/metrics/proto:proto",
323 "//content/test:test_support",
324 "//testing/gtest",
325 ]
326 }
327 }
328
329 source_set("unit_tests") { 278 source_set("unit_tests") {
330 testonly = true 279 testonly = true
331 sources = [ 280 sources = [
332 "call_stack_profile_metrics_provider_unittest.cc", 281 "call_stack_profile_metrics_provider_unittest.cc",
333 "cloned_install_detector_unittest.cc", 282 "cloned_install_detector_unittest.cc",
334 "daily_event_unittest.cc", 283 "daily_event_unittest.cc",
335 "data_use_tracker_unittest.cc", 284 "data_use_tracker_unittest.cc",
336 "drive_metrics_provider_unittest.cc", 285 "drive_metrics_provider_unittest.cc",
337 "file_metrics_provider_unittest.cc", 286 "file_metrics_provider_unittest.cc",
338 "histogram_encoder_unittest.cc", 287 "histogram_encoder_unittest.cc",
(...skipping 25 matching lines...) Expand all
364 "//third_party/zlib:compression_utils", 313 "//third_party/zlib:compression_utils",
365 "//ui/gfx/geometry", 314 "//ui/gfx/geometry",
366 ] 315 ]
367 316
368 if (is_linux) { 317 if (is_linux) {
369 sources += [ "serialization/serialization_utils_unittest.cc" ] 318 sources += [ "serialization/serialization_utils_unittest.cc" ]
370 deps += [ ":serialization" ] 319 deps += [ ":serialization" ]
371 } 320 }
372 321
373 if (is_chromeos) { 322 if (is_chromeos) {
374 deps += [ ":leak_detector_unit_tests" ] 323 deps += [ "leak_detector:unit_tests" ]
375 } 324 }
376 } 325 }
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/leak_detector/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698