Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: components/tracing/BUILD.gn

Issue 2228593004: Revert of tracing v2: Introduce TraceBufferWriter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proto_refactor
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/tracing.gyp ('k') | components/tracing/core/proto_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
11 "child/child_trace_message_filter.cc", 11 "child/child_trace_message_filter.cc",
12 "child/child_trace_message_filter.h", 12 "child/child_trace_message_filter.h",
13 "common/graphics_memory_dump_provider_android.cc", 13 "common/graphics_memory_dump_provider_android.cc",
14 "common/graphics_memory_dump_provider_android.h", 14 "common/graphics_memory_dump_provider_android.h",
15 "common/process_metrics_memory_dump_provider.cc", 15 "common/process_metrics_memory_dump_provider.cc",
16 "common/process_metrics_memory_dump_provider.h", 16 "common/process_metrics_memory_dump_provider.h",
17 "common/tracing_messages.cc", 17 "common/tracing_messages.cc",
18 "common/tracing_messages.h", 18 "common/tracing_messages.h",
19 "core/proto_utils.h", 19 "core/proto_utils.h",
20 "core/proto_zero_message.cc", 20 "core/proto_zero_message.cc",
21 "core/proto_zero_message.h", 21 "core/proto_zero_message.h",
22 "core/proto_zero_message_handle.cc", 22 "core/proto_zero_message_handle.cc",
23 "core/proto_zero_message_handle.h", 23 "core/proto_zero_message_handle.h",
24 "core/scattered_stream_writer.cc", 24 "core/scattered_stream_writer.cc",
25 "core/scattered_stream_writer.h", 25 "core/scattered_stream_writer.h",
26 "core/trace_buffer_writer.cc",
27 "core/trace_buffer_writer.h",
28 "core/trace_ring_buffer.cc", 26 "core/trace_ring_buffer.cc",
29 "core/trace_ring_buffer.h", 27 "core/trace_ring_buffer.h",
30 "tracing_export.h", 28 "tracing_export.h",
31 ] 29 ]
32 30
33 defines = [ "TRACING_IMPLEMENTATION" ] 31 defines = [ "TRACING_IMPLEMENTATION" ]
34 32
35 deps = [ 33 deps = [
36 "//base", 34 "//base",
37 "//ipc", 35 "//ipc",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 source_set("unit_tests") { 77 source_set("unit_tests") {
80 testonly = true 78 testonly = true
81 79
82 sources = [ 80 sources = [
83 "child/child_trace_message_filter_unittest.cc", 81 "child/child_trace_message_filter_unittest.cc",
84 "common/graphics_memory_dump_provider_android_unittest.cc", 82 "common/graphics_memory_dump_provider_android_unittest.cc",
85 "common/process_metrics_memory_dump_provider_unittest.cc", 83 "common/process_metrics_memory_dump_provider_unittest.cc",
86 "core/proto_utils_unittest.cc", 84 "core/proto_utils_unittest.cc",
87 "core/proto_zero_message_unittest.cc", 85 "core/proto_zero_message_unittest.cc",
88 "core/scattered_stream_writer_unittest.cc", 86 "core/scattered_stream_writer_unittest.cc",
89 "core/trace_buffer_writer_unittest.cc",
90 "core/trace_ring_buffer_unittest.cc", 87 "core/trace_ring_buffer_unittest.cc",
91 "test/fake_scattered_buffer.cc", 88 "test/fake_scattered_buffer.cc",
92 "test/proto_zero_generation_unittest.cc", 89 "test/proto_zero_generation_unittest.cc",
93 ] 90 ]
94 91
95 deps = [ 92 deps = [
96 ":golden_protos_for_tests",
97 ":proto_zero_testing_messages", 93 ":proto_zero_testing_messages",
98 ":tracing", 94 ":tracing",
99 "//base/test:test_support", 95 "//base/test:test_support",
100 "//ipc", 96 "//ipc",
101 "//testing/gmock:gmock", 97 "//testing/gmock:gmock",
102 "//testing/gtest", 98 "//testing/gtest",
103 ] 99 ]
104 100
105 if (!is_android) { 101 if (!is_android) {
106 sources += [ "browser/trace_config_file_unittest.cc" ] 102 sources += [ "browser/trace_config_file_unittest.cc" ]
107 deps += [ ":startup_tracing" ] 103 deps += [ ":startup_tracing" ]
108 } 104 }
109 } 105 }
110
111 # Official protobuf used by tests to verify that the Tracing V2 output is
112 # effectively proto-compatible.
113 proto_library("golden_protos_for_tests") {
114 visibility = [ ":unit_tests" ]
115 proto_out_dir = "components/tracing/test/golden_protos"
116 sources = [
117 "proto/events_chunk.proto",
118 ]
119 }
OLDNEW
« no previous file with comments | « components/tracing.gyp ('k') | components/tracing/core/proto_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698