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

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

Issue 2239383002: GN proto_libary refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: optimisation 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_proto/library.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_proto/library.proto", 66 "test/example_proto/library.proto",
67 "test/example_proto/library_internals/galaxies.proto", 67 "test/example_proto/library_internals/galaxies.proto",
68 "test/example_proto/test_messages.proto", 68 "test/example_proto/test_messages.proto",
69 "test/example_proto/upper_import.proto",
69 ] 70 ]
70 71
72 proto_in_dir = "test/example_proto"
73
71 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin" 74 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin"
72 generator_plugin_suffix = ".pbzero" 75 generator_plugin_suffix = ".pbzero"
73 generate_cc = false 76 generate_cc = true
74 generate_python = false 77 generate_python = false
75 } 78 }
76 79
77 source_set("unit_tests") { 80 source_set("unit_tests") {
78 testonly = true 81 testonly = true
79 82
80 sources = [ 83 sources = [
81 "child/child_trace_message_filter_unittest.cc", 84 "child/child_trace_message_filter_unittest.cc",
82 "common/graphics_memory_dump_provider_android_unittest.cc", 85 "common/graphics_memory_dump_provider_android_unittest.cc",
83 "common/process_metrics_memory_dump_provider_unittest.cc", 86 "common/process_metrics_memory_dump_provider_unittest.cc",
(...skipping 12 matching lines...) Expand all
96 "//ipc", 99 "//ipc",
97 "//testing/gmock:gmock", 100 "//testing/gmock:gmock",
98 "//testing/gtest", 101 "//testing/gtest",
99 ] 102 ]
100 103
101 if (!is_android) { 104 if (!is_android) {
102 sources += [ "browser/trace_config_file_unittest.cc" ] 105 sources += [ "browser/trace_config_file_unittest.cc" ]
103 deps += [ ":startup_tracing" ] 106 deps += [ ":startup_tracing" ]
104 } 107 }
105 } 108 }
OLDNEW
« no previous file with comments | « no previous file | components/tracing/test/example_proto/library.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698