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

Side by Side Diff: build/protoc.gypi

Issue 141693007: Delete some msvs_cygwin_shell:0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « build/isolate.gypi ('k') | build/win/importlibs/create_import_lib.gypi » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to invoke protoc in a consistent manner. For Java-targets, see 6 # to invoke protoc in a consistent manner. For Java-targets, see
7 # protoc_java.gypi. 7 # protoc_java.gypi.
8 # 8 #
9 # To use this, create a gyp target with the following form: 9 # To use this, create a gyp target with the following form:
10 # { 10 # {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 '--proto-in-dir','<(proto_in_dir)', 87 '--proto-in-dir','<(proto_in_dir)',
88 # Naively you'd use <(RULE_INPUT_PATH) here, but protoc requires 88 # Naively you'd use <(RULE_INPUT_PATH) here, but protoc requires
89 # --proto_path is a strict prefix of the path given as an argument. 89 # --proto_path is a strict prefix of the path given as an argument.
90 '--proto-in-file','<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)', 90 '--proto-in-file','<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)',
91 '--use-system-protobuf=<(use_system_protobuf)', 91 '--use-system-protobuf=<(use_system_protobuf)',
92 '--', 92 '--',
93 '<(protoc)', 93 '<(protoc)',
94 '--cpp_out', '<(cc_generator_options)<(cc_dir)', 94 '--cpp_out', '<(cc_generator_options)<(cc_dir)',
95 '--python_out', '<(py_dir)', 95 '--python_out', '<(py_dir)',
96 ], 96 ],
97 'msvs_cygwin_shell': 0,
98 'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)', 97 'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)',
99 'process_outputs_as_sources': 1, 98 'process_outputs_as_sources': 1,
100 }, 99 },
101 ], 100 ],
102 'dependencies': [ 101 'dependencies': [
103 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protoc#host', 102 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protoc#host',
104 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', 103 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
105 ], 104 ],
106 'include_dirs': [ 105 'include_dirs': [
107 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 106 '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
108 '<(DEPTH)', 107 '<(DEPTH)',
109 ], 108 ],
110 'direct_dependent_settings': { 109 'direct_dependent_settings': {
111 'include_dirs': [ 110 'include_dirs': [
112 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 111 '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
113 '<(DEPTH)', 112 '<(DEPTH)',
114 ] 113 ]
115 }, 114 },
116 'export_dependent_settings': [ 115 'export_dependent_settings': [
117 # The generated headers reference headers within protobuf_lite, 116 # The generated headers reference headers within protobuf_lite,
118 # so dependencies must be able to find those headers too. 117 # so dependencies must be able to find those headers too.
119 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', 118 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
120 ], 119 ],
121 # This target exports a hard dependency because it generates header 120 # This target exports a hard dependency because it generates header
122 # files. 121 # files.
123 'hard_dependency': 1, 122 'hard_dependency': 1,
124 } 123 }
OLDNEW
« no previous file with comments | « build/isolate.gypi ('k') | build/win/importlibs/create_import_lib.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698