| 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 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 | 6 |
| 7 component("tracing") { | 7 component("tracing") { |
| 8 sources = [ | 8 sources = [ |
| 9 "child/child_memory_dump_manager_delegate_impl.cc", | 9 "child/child_memory_dump_manager_delegate_impl.cc", |
| 10 "child/child_memory_dump_manager_delegate_impl.h", | 10 "child/child_memory_dump_manager_delegate_impl.h", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 "core/trace_buffer_writer.h", | 27 "core/trace_buffer_writer.h", |
| 28 "core/trace_ring_buffer.cc", | 28 "core/trace_ring_buffer.cc", |
| 29 "core/trace_ring_buffer.h", | 29 "core/trace_ring_buffer.h", |
| 30 "tracing_export.h", | 30 "tracing_export.h", |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 defines = [ "TRACING_IMPLEMENTATION" ] | 33 defines = [ "TRACING_IMPLEMENTATION" ] |
| 34 | 34 |
| 35 deps = [ | 35 deps = [ |
| 36 "//base", | 36 "//base", |
| 37 "//ipc", |
| 38 ] |
| 39 |
| 40 public_deps = [ |
| 37 "//components/tracing/proto:protos", | 41 "//components/tracing/proto:protos", |
| 38 "//ipc", | |
| 39 ] | 42 ] |
| 40 | 43 |
| 41 if (is_nacl) { | 44 if (is_nacl) { |
| 42 sources -= [ "common/process_metrics_memory_dump_provider.cc" ] | 45 sources -= [ "common/process_metrics_memory_dump_provider.cc" ] |
| 43 } | 46 } |
| 44 } | 47 } |
| 45 | 48 |
| 46 component("startup_tracing") { | 49 component("startup_tracing") { |
| 47 sources = [ | 50 sources = [ |
| 48 "browser/trace_config_file.cc", | 51 "browser/trace_config_file.cc", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 "//ipc", | 108 "//ipc", |
| 106 "//testing/gmock:gmock", | 109 "//testing/gmock:gmock", |
| 107 "//testing/gtest", | 110 "//testing/gtest", |
| 108 ] | 111 ] |
| 109 | 112 |
| 110 if (!is_android) { | 113 if (!is_android) { |
| 111 sources += [ "browser/trace_config_file_unittest.cc" ] | 114 sources += [ "browser/trace_config_file_unittest.cc" ] |
| 112 deps += [ ":startup_tracing" ] | 115 deps += [ ":startup_tracing" ] |
| 113 } | 116 } |
| 114 } | 117 } |
| OLD | NEW |