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

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

Issue 2201393002: Tracing V2: Import support for protobuf plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style 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 | « no previous file | components/tracing/test/example_messages.proto » ('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",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 deps = [ 56 deps = [
57 "//base", 57 "//base",
58 ] 58 ]
59 } 59 }
60 60
61 # For unit testing of generated stubs. 61 # For unit testing of generated stubs.
62 proto_library("proto_zero_testing_messages") { 62 proto_library("proto_zero_testing_messages") {
63 visibility = [ "//components/tracing/*" ] 63 visibility = [ "//components/tracing/*" ]
64 64
65 sources = [ 65 sources = [
66 "test/example_messages.proto", 66 "test/example_proto/library.proto",
67 "test/example_proto/library_internals/galaxies.proto",
68 "test/example_proto/test_messages.proto",
67 ] 69 ]
68 70
69 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin" 71 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin"
70 generator_plugin_suffix = ".pbzero" 72 generator_plugin_suffix = ".pbzero"
71 generate_cc = false 73 generate_cc = false
72 generate_python = false 74 generate_python = false
73 } 75 }
74 76
75 source_set("unit_tests") { 77 source_set("unit_tests") {
76 testonly = true 78 testonly = true
(...skipping 17 matching lines...) Expand all
94 "//ipc", 96 "//ipc",
95 "//testing/gmock:gmock", 97 "//testing/gmock:gmock",
96 "//testing/gtest", 98 "//testing/gtest",
97 ] 99 ]
98 100
99 if (!is_android) { 101 if (!is_android) {
100 sources += [ "browser/trace_config_file_unittest.cc" ] 102 sources += [ "browser/trace_config_file_unittest.cc" ]
101 deps += [ ":startup_tracing" ] 103 deps += [ ":startup_tracing" ]
102 } 104 }
103 } 105 }
OLDNEW
« no previous file with comments | « no previous file | components/tracing/test/example_messages.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698