| 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/proto_utils.h", | 17 "core/proto_utils.h", |
| 18 "core/proto_zero_message.cc", |
| 19 "core/proto_zero_message.h", |
| 18 "core/scattered_stream_writer.cc", | 20 "core/scattered_stream_writer.cc", |
| 19 "core/scattered_stream_writer.h", | 21 "core/scattered_stream_writer.h", |
| 20 "core/trace_ring_buffer.cc", | 22 "core/trace_ring_buffer.cc", |
| 21 "core/trace_ring_buffer.h", | 23 "core/trace_ring_buffer.h", |
| 22 "tracing_export.h", | 24 "tracing_export.h", |
| 23 ] | 25 ] |
| 24 | 26 |
| 25 defines = [ "TRACING_IMPLEMENTATION" ] | 27 defines = [ "TRACING_IMPLEMENTATION" ] |
| 26 | 28 |
| 27 deps = [ | 29 deps = [ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 53 } | 55 } |
| 54 | 56 |
| 55 source_set("unit_tests") { | 57 source_set("unit_tests") { |
| 56 testonly = true | 58 testonly = true |
| 57 | 59 |
| 58 sources = [ | 60 sources = [ |
| 59 "child/child_trace_message_filter_unittest.cc", | 61 "child/child_trace_message_filter_unittest.cc", |
| 60 "common/graphics_memory_dump_provider_android_unittest.cc", | 62 "common/graphics_memory_dump_provider_android_unittest.cc", |
| 61 "common/process_metrics_memory_dump_provider_unittest.cc", | 63 "common/process_metrics_memory_dump_provider_unittest.cc", |
| 62 "core/proto_utils_unittest.cc", | 64 "core/proto_utils_unittest.cc", |
| 65 "core/proto_zero_message_unittest.cc", |
| 63 "core/scattered_stream_writer_unittest.cc", | 66 "core/scattered_stream_writer_unittest.cc", |
| 64 "core/trace_ring_buffer_unittest.cc", | 67 "core/trace_ring_buffer_unittest.cc", |
| 65 "test/fake_scattered_buffer.cc", | 68 "test/fake_scattered_buffer.cc", |
| 66 ] | 69 ] |
| 67 | 70 |
| 68 deps = [ | 71 deps = [ |
| 69 ":tracing", | 72 ":tracing", |
| 70 "//base/test:test_support", | 73 "//base/test:test_support", |
| 71 "//ipc", | 74 "//ipc", |
| 72 "//testing/gmock:gmock", | 75 "//testing/gmock:gmock", |
| 73 "//testing/gtest", | 76 "//testing/gtest", |
| 74 ] | 77 ] |
| 75 | 78 |
| 76 if (!is_android) { | 79 if (!is_android) { |
| 77 sources += [ "browser/trace_config_file_unittest.cc" ] | 80 sources += [ "browser/trace_config_file_unittest.cc" ] |
| 78 deps += [ ":startup_tracing" ] | 81 deps += [ ":startup_tracing" ] |
| 79 } | 82 } |
| 80 } | 83 } |
| OLD | NEW |