| OLD | NEW |
| 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 } |
| OLD | NEW |