| 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 "tracing_export.h", | 17 "tracing_export.h", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 defines = [ "TRACING_IMPLEMENTATION" ] | 20 defines = [ "TRACING_IMPLEMENTATION" ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "//base", | 23 "//base", |
| 24 "//components/tracing/proto:tracing_proto", |
| 24 "//ipc", | 25 "//ipc", |
| 25 ] | 26 ] |
| 26 | 27 |
| 28 sources += [ "sample_proto_canary.cc" ] |
| 29 |
| 27 if (is_nacl) { | 30 if (is_nacl) { |
| 28 sources -= [ "common/process_metrics_memory_dump_provider.cc" ] | 31 sources -= [ "common/process_metrics_memory_dump_provider.cc" ] |
| 29 } | 32 } |
| 30 } | 33 } |
| 31 | 34 |
| 32 component("startup_tracing") { | 35 component("startup_tracing") { |
| 33 sources = [ | 36 sources = [ |
| 34 "browser/trace_config_file.cc", | 37 "browser/trace_config_file.cc", |
| 35 "browser/trace_config_file.h", | 38 "browser/trace_config_file.h", |
| 36 "common/trace_to_console.cc", | 39 "common/trace_to_console.cc", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 62 "//ipc", | 65 "//ipc", |
| 63 "//testing/gmock:gmock", | 66 "//testing/gmock:gmock", |
| 64 "//testing/gtest", | 67 "//testing/gtest", |
| 65 ] | 68 ] |
| 66 | 69 |
| 67 if (!is_android) { | 70 if (!is_android) { |
| 68 sources += [ "browser/trace_config_file_unittest.cc" ] | 71 sources += [ "browser/trace_config_file_unittest.cc" ] |
| 69 deps += [ ":startup_tracing" ] | 72 deps += [ ":startup_tracing" ] |
| 70 } | 73 } |
| 71 } | 74 } |
| OLD | NEW |