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

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

Issue 2134683002: tracing v2: Add base class for zero-copy protobuf (ProtoZero) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proto_utils
Patch Set: rebase Created 4 years, 5 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",
21 "core/proto_zero_message.h",
20 "core/scattered_stream_writer.cc", 22 "core/scattered_stream_writer.cc",
21 "core/scattered_stream_writer.h", 23 "core/scattered_stream_writer.h",
22 "core/trace_ring_buffer.cc", 24 "core/trace_ring_buffer.cc",
23 "core/trace_ring_buffer.h", 25 "core/trace_ring_buffer.h",
24 "tracing_export.h", 26 "tracing_export.h",
25 ] 27 ]
26 28
27 defines = [ "TRACING_IMPLEMENTATION" ] 29 defines = [ "TRACING_IMPLEMENTATION" ]
28 30
29 deps = [ 31 deps = [
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 89 }
88 90
89 source_set("unit_tests") { 91 source_set("unit_tests") {
90 testonly = true 92 testonly = true
91 93
92 sources = [ 94 sources = [
93 "child/child_trace_message_filter_unittest.cc", 95 "child/child_trace_message_filter_unittest.cc",
94 "common/graphics_memory_dump_provider_android_unittest.cc", 96 "common/graphics_memory_dump_provider_android_unittest.cc",
95 "common/process_metrics_memory_dump_provider_unittest.cc", 97 "common/process_metrics_memory_dump_provider_unittest.cc",
96 "core/proto_utils_unittest.cc", 98 "core/proto_utils_unittest.cc",
99 "core/proto_zero_message_unittest.cc",
97 "core/scattered_stream_writer_unittest.cc", 100 "core/scattered_stream_writer_unittest.cc",
98 "core/trace_ring_buffer_unittest.cc", 101 "core/trace_ring_buffer_unittest.cc",
99 "test/fake_scattered_buffer.cc", 102 "test/fake_scattered_buffer.cc",
100 "test/proto_zero_generation_unittest.cc", 103 "test/proto_zero_generation_unittest.cc",
101 ] 104 ]
102 105
103 deps = [ 106 deps = [
104 ":proto_zero_testing_messages", 107 ":proto_zero_testing_messages",
105 ":tracing", 108 ":tracing",
106 "//base/test:test_support", 109 "//base/test:test_support",
107 "//ipc", 110 "//ipc",
108 "//testing/gmock:gmock", 111 "//testing/gmock:gmock",
109 "//testing/gtest", 112 "//testing/gtest",
110 ] 113 ]
111 114
112 if (!is_android) { 115 if (!is_android) {
113 sources += [ "browser/trace_config_file_unittest.cc" ] 116 sources += [ "browser/trace_config_file_unittest.cc" ]
114 deps += [ ":startup_tracing" ] 117 deps += [ ":startup_tracing" ]
115 } 118 }
116 } 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