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

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

Issue 1315463002: [Startup Tracing] Add --trace-config-file flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review fix - blundell Created 5 years, 3 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_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 "tracing_export.h", 11 "tracing_export.h",
12 "tracing_messages.cc", 12 "tracing_messages.cc",
13 "tracing_messages.h", 13 "tracing_messages.h",
14 ] 14 ]
15 15
16 defines = [ "TRACING_IMPLEMENTATION" ] 16 defines = [ "TRACING_IMPLEMENTATION" ]
17 17
18 deps = [ 18 deps = [
19 "//base", 19 "//base",
20 "//ipc", 20 "//ipc",
21 ] 21 ]
22 } 22 }
23 23
24 component("startup_tracing") { 24 component("startup_tracing") {
25 sources = [ 25 sources = [
26 "startup_tracing.cc", 26 "trace_config_file.cc",
27 "startup_tracing.h", 27 "trace_config_file.h",
28 "tracing_export.h", 28 "tracing_export.h",
29 "tracing_switches.cc", 29 "tracing_switches.cc",
30 "tracing_switches.h", 30 "tracing_switches.h",
31 ] 31 ]
32 32
33 defines = [ "TRACING_IMPLEMENTATION" ] 33 defines = [ "TRACING_IMPLEMENTATION" ]
34 34
35 deps = [ 35 deps = [
36 "//base", 36 "//base",
37 ] 37 ]
38 } 38 }
39
40 source_set("unit_tests") {
41 testonly = true
42
43 sources = [
44 "trace_config_file_unittest.cc",
45 ]
46
47 deps = [
48 ":startup_tracing",
49 "//base/test:test_support",
50 "//testing/gtest",
51 ]
52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698