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

Side by Side Diff: third_party/protobuf/proto_library.gni

Issue 328313003: More work on content/browser GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « dbus/BUILD.gn ('k') | no next file » | 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 # Compile a protocol buffer. 5 # Compile a protocol buffer.
6 # 6 #
7 # The 'proto_in_dir' variable must be the relative path to the 7 # The 'proto_in_dir' variable is the path to the directory containing the
8 # directory containing the .proto files. If left out, it defaults to '.'. 8 # .proto files. If left out, it defaults to '.'.
9 # 9 #
10 # The 'proto_out_dir' variable specifies the path suffix that output files are 10 # The 'proto_out_dir' variable specifies the path suffix that output files are
11 # generated under. Targets that gyp-depend on my_proto_lib will be able to 11 # generated under. Targets that gyp-depend on my_proto_lib will be able to
12 # include the resulting proto headers with an include like: 12 # include the resulting proto headers with an include like:
13 # #include "dir/for/my_proto_lib/foo.pb.h" 13 # #include "dir/for/my_proto_lib/foo.pb.h"
14 # If undefined, this defaults to matching the input directory. 14 # If undefined, this defaults to matching the input directory.
15 # 15 #
16 # If you need to add an EXPORT macro to a protobuf's C++ header, set the 16 # If you need to add an EXPORT macro to a protobuf's C++ header, set the
17 # 'cc_generator_options' variable with the value: 'dllexport_decl=FOO_EXPORT:' 17 # 'cc_generator_options' variable with the value: 'dllexport_decl=FOO_EXPORT:'
18 # e.g. 'dllexport_decl=BASE_EXPORT:' 18 # e.g. 'dllexport_decl=BASE_EXPORT:'
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 sources = get_target_outputs(":$action_name") 116 sources = get_target_outputs(":$action_name")
117 117
118 direct_dependent_configs = [ "//third_party/protobuf:using_proto" ] 118 direct_dependent_configs = [ "//third_party/protobuf:using_proto" ]
119 119
120 deps = [ 120 deps = [
121 ":$action_name", 121 ":$action_name",
122 "//third_party/protobuf:protobuf_lite", 122 "//third_party/protobuf:protobuf_lite",
123 ] 123 ]
124 } 124 }
125 } 125 }
OLDNEW
« no previous file with comments | « dbus/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698