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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 "test/example_proto/library.proto", | 68 "test/example_proto/library.proto", |
69 "test/example_proto/library_internals/galaxies.proto", | 69 "test/example_proto/library_internals/galaxies.proto", |
70 "test/example_proto/test_messages.proto", | 70 "test/example_proto/test_messages.proto", |
71 "test/example_proto/upper_import.proto", | 71 "test/example_proto/upper_import.proto", |
72 ] | 72 ] |
73 | 73 |
74 proto_in_dir = "test/example_proto" | 74 proto_in_dir = "test/example_proto" |
75 | 75 |
76 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin" | 76 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin" |
77 generator_plugin_suffix = ".pbzero" | 77 generator_plugin_suffix = ".pbzero" |
| 78 generator_plugin_options = "wrapper_namespace=pbzero" |
78 generate_cc = true | 79 generate_cc = true |
79 generate_python = false | 80 generate_python = false |
80 } | 81 } |
81 | 82 |
82 source_set("unit_tests") { | 83 source_set("unit_tests") { |
83 testonly = true | 84 testonly = true |
84 | 85 |
85 sources = [ | 86 sources = [ |
86 "child/child_trace_message_filter_unittest.cc", | 87 "child/child_trace_message_filter_unittest.cc", |
87 "common/graphics_memory_dump_provider_android_unittest.cc", | 88 "common/graphics_memory_dump_provider_android_unittest.cc", |
(...skipping 25 matching lines...) Expand all Loading... |
113 | 114 |
114 # Official protobuf used by tests to verify that the Tracing V2 output is | 115 # Official protobuf used by tests to verify that the Tracing V2 output is |
115 # effectively proto-compatible. | 116 # effectively proto-compatible. |
116 proto_library("golden_protos_for_tests") { | 117 proto_library("golden_protos_for_tests") { |
117 visibility = [ ":unit_tests" ] | 118 visibility = [ ":unit_tests" ] |
118 proto_out_dir = "components/tracing/test/golden_protos" | 119 proto_out_dir = "components/tracing/test/golden_protos" |
119 sources = [ | 120 sources = [ |
120 "proto/events_chunk.proto", | 121 "proto/events_chunk.proto", |
121 ] | 122 ] |
122 } | 123 } |
OLD | NEW |