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

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

Issue 2055393002: Revert of Mojo interface for Leak Detector on remote process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/leak_detector_remote.mojom » ('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 import("//mojo/public/tools/bindings/mojom.gni")
6
7 declare_args() { 5 declare_args() {
8 # Overrides os name in uma metrics log to "Blimp". 6 # Overrides os name in uma metrics log to "Blimp".
9 metrics_use_blimp = false 7 metrics_use_blimp = false
10 } 8 }
11 9
12 # 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,
13 # so this logic is not replicated in the gyp file. 11 # so this logic is not replicated in the gyp file.
14 if (metrics_use_blimp) { 12 if (metrics_use_blimp) {
15 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ] 13 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ]
16 } 14 }
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "serialization/serialization_utils.cc", 296 "serialization/serialization_utils.cc",
299 "serialization/serialization_utils.h", 297 "serialization/serialization_utils.h",
300 ] 298 ]
301 deps = [ 299 deps = [
302 "//base", 300 "//base",
303 ] 301 ]
304 } 302 }
305 } 303 }
306 304
307 if (is_chromeos) { 305 if (is_chromeos) {
308 mojom("interfaces") {
309 sources = [
310 "leak_detector/leak_detector_remote.mojom",
311 ]
312 }
313 }
314
315 if (is_chromeos) {
316 source_set("leak_detector_unit_tests") { 306 source_set("leak_detector_unit_tests") {
317 testonly = true 307 testonly = true
318 sources = [ 308 sources = [
319 "leak_detector/call_stack_manager_unittest.cc", 309 "leak_detector/call_stack_manager_unittest.cc",
320 "leak_detector/call_stack_table_unittest.cc", 310 "leak_detector/call_stack_table_unittest.cc",
321 "leak_detector/leak_analyzer_unittest.cc", 311 "leak_detector/leak_analyzer_unittest.cc",
322 "leak_detector/leak_detector_impl_unittest.cc", 312 "leak_detector/leak_detector_impl_unittest.cc",
323 "leak_detector/leak_detector_unittest.cc", 313 "leak_detector/leak_detector_unittest.cc",
324 "leak_detector/ranked_set_unittest.cc", 314 "leak_detector/ranked_set_unittest.cc",
325 ] 315 ]
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 365
376 if (is_linux) { 366 if (is_linux) {
377 sources += [ "serialization/serialization_utils_unittest.cc" ] 367 sources += [ "serialization/serialization_utils_unittest.cc" ]
378 deps += [ ":serialization" ] 368 deps += [ ":serialization" ]
379 } 369 }
380 370
381 if (is_chromeos) { 371 if (is_chromeos) {
382 deps += [ ":leak_detector_unit_tests" ] 372 deps += [ ":leak_detector_unit_tests" ]
383 } 373 }
384 } 374 }
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/leak_detector/leak_detector_remote.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698