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/child_memory_dump_manager_delegate_impl.cc", | 7 "child/child_memory_dump_manager_delegate_impl.cc", |
8 "child/child_memory_dump_manager_delegate_impl.h", | 8 "child/child_memory_dump_manager_delegate_impl.h", |
9 "child/child_trace_message_filter.cc", | 9 "child/child_trace_message_filter.cc", |
10 "child/child_trace_message_filter.h", | 10 "child/child_trace_message_filter.h", |
11 "common/graphics_memory_dump_provider_android.cc", | 11 "common/graphics_memory_dump_provider_android.cc", |
12 "common/graphics_memory_dump_provider_android.h", | 12 "common/graphics_memory_dump_provider_android.h", |
13 "common/process_metrics_memory_dump_provider.cc", | 13 "common/process_metrics_memory_dump_provider.cc", |
14 "common/process_metrics_memory_dump_provider.h", | 14 "common/process_metrics_memory_dump_provider.h", |
15 "common/tracing_messages.cc", | 15 "common/tracing_messages.cc", |
16 "common/tracing_messages.h", | 16 "common/tracing_messages.h", |
| 17 "core/scattered_stream_writer.cc", |
| 18 "core/scattered_stream_writer.h", |
17 "core/trace_ring_buffer.cc", | 19 "core/trace_ring_buffer.cc", |
18 "core/trace_ring_buffer.h", | 20 "core/trace_ring_buffer.h", |
19 "tracing_export.h", | 21 "tracing_export.h", |
20 ] | 22 ] |
21 | 23 |
22 defines = [ "TRACING_IMPLEMENTATION" ] | 24 defines = [ "TRACING_IMPLEMENTATION" ] |
23 | 25 |
24 deps = [ | 26 deps = [ |
25 "//base", | 27 "//base", |
26 "//ipc", | 28 "//ipc", |
(...skipping 22 matching lines...) Expand all Loading... |
49 ] | 51 ] |
50 } | 52 } |
51 | 53 |
52 source_set("unit_tests") { | 54 source_set("unit_tests") { |
53 testonly = true | 55 testonly = true |
54 | 56 |
55 sources = [ | 57 sources = [ |
56 "child/child_trace_message_filter_unittest.cc", | 58 "child/child_trace_message_filter_unittest.cc", |
57 "common/graphics_memory_dump_provider_android_unittest.cc", | 59 "common/graphics_memory_dump_provider_android_unittest.cc", |
58 "common/process_metrics_memory_dump_provider_unittest.cc", | 60 "common/process_metrics_memory_dump_provider_unittest.cc", |
| 61 "core/scattered_stream_writer_unittest.cc", |
59 "core/trace_ring_buffer_unittest.cc", | 62 "core/trace_ring_buffer_unittest.cc", |
60 ] | 63 ] |
61 | 64 |
62 deps = [ | 65 deps = [ |
63 ":tracing", | 66 ":tracing", |
64 "//base/test:test_support", | 67 "//base/test:test_support", |
65 "//ipc", | 68 "//ipc", |
66 "//testing/gmock:gmock", | 69 "//testing/gmock:gmock", |
67 "//testing/gtest", | 70 "//testing/gtest", |
68 ] | 71 ] |
69 | 72 |
70 if (!is_android) { | 73 if (!is_android) { |
71 sources += [ "browser/trace_config_file_unittest.cc" ] | 74 sources += [ "browser/trace_config_file_unittest.cc" ] |
72 deps += [ ":startup_tracing" ] | 75 deps += [ ":startup_tracing" ] |
73 } | 76 } |
74 } | 77 } |
OLD | NEW |