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

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

Issue 1617263002: Revert of [tracing] Dump child processes' memory metrics in browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web_cache2_base
Patch Set: Created 4 years, 11 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/tracing.gyp ('k') | components/tracing/child_memory_dump_manager_delegate_impl.cc » ('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 component("tracing") { 5 component("tracing") {
6 sources = [ 6 sources = [
7 "child_memory_dump_manager_delegate_impl.cc", 7 "child_memory_dump_manager_delegate_impl.cc",
8 "child_memory_dump_manager_delegate_impl.h", 8 "child_memory_dump_manager_delegate_impl.h",
9 "child_trace_message_filter.cc", 9 "child_trace_message_filter.cc",
10 "child_trace_message_filter.h", 10 "child_trace_message_filter.h",
11 "graphics_memory_dump_provider_android.cc", 11 "graphics_memory_dump_provider_android.cc",
12 "graphics_memory_dump_provider_android.h", 12 "graphics_memory_dump_provider_android.h",
13 "process_metrics_memory_dump_provider.cc",
14 "process_metrics_memory_dump_provider.h",
15 "tracing_export.h", 13 "tracing_export.h",
16 "tracing_messages.cc", 14 "tracing_messages.cc",
17 "tracing_messages.h", 15 "tracing_messages.h",
18 ] 16 ]
19 17
20 defines = [ "TRACING_IMPLEMENTATION" ] 18 defines = [ "TRACING_IMPLEMENTATION" ]
21 19
22 deps = [ 20 deps = [
23 "//base", 21 "//base",
24 "//ipc", 22 "//ipc",
25 ] 23 ]
26
27 if (is_nacl) {
28 sources -= [ "process_metrics_memory_dump_provider.cc" ]
29 }
30 } 24 }
31 25
32 component("startup_tracing") { 26 component("startup_tracing") {
33 sources = [ 27 sources = [
34 "trace_config_file.cc", 28 "trace_config_file.cc",
35 "trace_config_file.h", 29 "trace_config_file.h",
36 "trace_to_console.cc", 30 "trace_to_console.cc",
37 "trace_to_console.h", 31 "trace_to_console.h",
38 "tracing_export.h", 32 "tracing_export.h",
39 "tracing_switches.cc", 33 "tracing_switches.cc",
40 "tracing_switches.h", 34 "tracing_switches.h",
41 ] 35 ]
42 36
43 defines = [ "TRACING_IMPLEMENTATION" ] 37 defines = [ "TRACING_IMPLEMENTATION" ]
44 38
45 deps = [ 39 deps = [
46 "//base", 40 "//base",
47 ] 41 ]
48 } 42 }
49 43
50 source_set("unit_tests") { 44 source_set("unit_tests") {
51 testonly = true 45 testonly = true
52 46
53 sources = [ 47 sources = [
54 "graphics_memory_dump_provider_android_unittest.cc", 48 "graphics_memory_dump_provider_android_unittest.cc",
55 "process_metrics_memory_dump_provider_unittest.cc",
56 ] 49 ]
57 50
58 deps = [ 51 deps = [
59 ":tracing", 52 ":tracing",
60 "//base/test:test_support", 53 "//base/test:test_support",
61 "//testing/gtest", 54 "//testing/gtest",
62 ] 55 ]
63 56
64 if (!is_android) { 57 if (!is_android) {
65 sources += [ "trace_config_file_unittest.cc" ] 58 sources += [ "trace_config_file_unittest.cc" ]
66 deps += [ ":startup_tracing" ] 59 deps += [ ":startup_tracing" ]
67 } 60 }
68 } 61 }
OLDNEW
« no previous file with comments | « components/tracing.gyp ('k') | components/tracing/child_memory_dump_manager_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698