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

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

Issue 2293073002: Tracing V2: Proto fields reflection. (Closed)
Patch Set: new one Created 4 years, 3 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 | « no previous file | components/tracing/DEPS » ('j') | components/tracing/core/proto_utils.h » ('J')
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",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "test/example_proto/library.proto", 69 "test/example_proto/library.proto",
70 "test/example_proto/library_internals/galaxies.proto", 70 "test/example_proto/library_internals/galaxies.proto",
71 "test/example_proto/test_messages.proto", 71 "test/example_proto/test_messages.proto",
72 "test/example_proto/upper_import.proto", 72 "test/example_proto/upper_import.proto",
73 ] 73 ]
74 74
75 proto_in_dir = "test/example_proto" 75 proto_in_dir = "test/example_proto"
76 76
77 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin" 77 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin"
78 generator_plugin_suffix = ".pbzero" 78 generator_plugin_suffix = ".pbzero"
79 generator_plugin_options = "wrapper_namespace=pbzero" 79 generator_plugin_options = "wrapper_namespace=pbzero,reflection=true"
Primiano Tucci (use gerrit) 2016/09/01 16:18:06 i'd avoid unnecessary switches. we just need this.
80 generate_cc = true 80 generate_cc = true
81 generate_python = false 81 generate_python = false
82 } 82 }
83 83
84 source_set("unit_tests") { 84 source_set("unit_tests") {
85 testonly = true 85 testonly = true
86 86
87 sources = [ 87 sources = [
88 "child/child_trace_message_filter_unittest.cc", 88 "child/child_trace_message_filter_unittest.cc",
89 "common/graphics_memory_dump_provider_android_unittest.cc", 89 "common/graphics_memory_dump_provider_android_unittest.cc",
90 "common/process_metrics_memory_dump_provider_unittest.cc", 90 "common/process_metrics_memory_dump_provider_unittest.cc",
91 "core/proto_utils_unittest.cc", 91 "core/proto_utils_unittest.cc",
92 "core/proto_zero_message_unittest.cc", 92 "core/proto_zero_message_unittest.cc",
93 "core/scattered_stream_writer_unittest.cc", 93 "core/scattered_stream_writer_unittest.cc",
94 "core/trace_buffer_writer_unittest.cc", 94 "core/trace_buffer_writer_unittest.cc",
95 "core/trace_ring_buffer_unittest.cc", 95 "core/trace_ring_buffer_unittest.cc",
96 "test/fake_scattered_buffer.cc", 96 "test/fake_scattered_buffer.cc",
97 "test/proto_zero_generation_unittest.cc", 97 "test/proto_zero_generation_unittest.cc",
98 ] 98 ]
99 99
100 deps = [ 100 deps = [
101 ":proto_zero_testing_messages", 101 ":proto_zero_testing_messages",
102 ":tracing", 102 ":tracing",
103 "//base/test:test_support", 103 "//base/test:test_support",
104 "//components/tracing/proto:golden_protos_for_tests", 104 "//components/tracing/proto:golden_protos_for_tests",
105 "//ipc", 105 "//ipc",
106 "//testing/gmock:gmock", 106 "//testing/gmock:gmock",
107 "//testing/gtest", 107 "//testing/gtest",
108 "//third_party/protobuf:protoc_lib",
108 ] 109 ]
109 110
110 if (!is_android) { 111 if (!is_android) {
111 sources += [ "browser/trace_config_file_unittest.cc" ] 112 sources += [ "browser/trace_config_file_unittest.cc" ]
112 deps += [ ":startup_tracing" ] 113 deps += [ ":startup_tracing" ]
113 } 114 }
114 } 115 }
OLDNEW
« no previous file with comments | « no previous file | components/tracing/DEPS » ('j') | components/tracing/core/proto_utils.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698