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

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

Issue 2028043002: tracing: restructure to the components/tracing folder (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
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/child_memory_dump_manager_delegate_impl.cc",
8 "child_memory_dump_manager_delegate_impl.h", 8 "child/child_memory_dump_manager_delegate_impl.h",
9 "child_trace_message_filter.cc", 9 "child/child_trace_message_filter.cc",
10 "child_trace_message_filter.h", 10 "child/child_trace_message_filter.h",
11 "graphics_memory_dump_provider_android.cc", 11 "common/graphics_memory_dump_provider_android.cc",
12 "graphics_memory_dump_provider_android.h", 12 "common/graphics_memory_dump_provider_android.h",
13 "process_metrics_memory_dump_provider.cc", 13 "common/process_metrics_memory_dump_provider.cc",
14 "process_metrics_memory_dump_provider.h", 14 "common/process_metrics_memory_dump_provider.h",
15 "common/tracing_messages.cc",
16 "common/tracing_messages.h",
15 "tracing_export.h", 17 "tracing_export.h",
16 "tracing_messages.cc",
17 "tracing_messages.h",
18 ] 18 ]
19 19
20 defines = [ "TRACING_IMPLEMENTATION" ] 20 defines = [ "TRACING_IMPLEMENTATION" ]
21 21
22 deps = [ 22 deps = [
23 "//base", 23 "//base",
24 "//ipc", 24 "//ipc",
25 ] 25 ]
26 26
27 if (is_nacl) { 27 if (is_nacl) {
28 sources -= [ "process_metrics_memory_dump_provider.cc" ] 28 sources -= [ "common/process_metrics_memory_dump_provider.cc" ]
29 } 29 }
30 } 30 }
31 31
32 component("startup_tracing") { 32 component("startup_tracing") {
33 sources = [ 33 sources = [
34 "trace_config_file.cc", 34 "browser/trace_config_file.cc",
35 "trace_config_file.h", 35 "browser/trace_config_file.h",
36 "trace_to_console.cc", 36 "common/trace_to_console.cc",
37 "trace_to_console.h", 37 "common/trace_to_console.h",
38 "common/tracing_switches.cc",
39 "common/tracing_switches.h",
38 "tracing_export.h", 40 "tracing_export.h",
39 "tracing_switches.cc",
40 "tracing_switches.h",
41 ] 41 ]
42 42
43 defines = [ "TRACING_IMPLEMENTATION" ] 43 defines = [ "TRACING_IMPLEMENTATION" ]
44 44
45 deps = [ 45 deps = [
46 "//base", 46 "//base",
47 ] 47 ]
48 } 48 }
49 49
50 source_set("unit_tests") { 50 source_set("unit_tests") {
51 testonly = true 51 testonly = true
52 52
53 sources = [ 53 sources = [
54 "child_trace_message_filter_unittest.cc", 54 "child/child_trace_message_filter_unittest.cc",
55 "graphics_memory_dump_provider_android_unittest.cc", 55 "common/graphics_memory_dump_provider_android_unittest.cc",
56 "process_metrics_memory_dump_provider_unittest.cc", 56 "common/process_metrics_memory_dump_provider_unittest.cc",
57 ] 57 ]
58 58
59 deps = [ 59 deps = [
60 ":tracing", 60 ":tracing",
61 "//base/test:test_support", 61 "//base/test:test_support",
62 "//ipc", 62 "//ipc",
63 "//testing/gmock:gmock", 63 "//testing/gmock:gmock",
64 "//testing/gtest", 64 "//testing/gtest",
65 ] 65 ]
66 66
67 if (!is_android) { 67 if (!is_android) {
68 sources += [ "trace_config_file_unittest.cc" ] 68 sources += [ "browser/trace_config_file_unittest.cc" ]
69 deps += [ ":startup_tracing" ] 69 deps += [ ":startup_tracing" ]
70 } 70 }
71 } 71 }
OLDNEW
« no previous file with comments | « components/tracing.gyp ('k') | components/tracing/OWNERS » ('j') | components/tracing/OWNERS » ('J')

Powered by Google App Engine
This is Rietveld 408576698