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

Side by Side Diff: webrtc/build/protoc.gypi

Issue 1589433002: Add build_protobuf variable. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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
« no previous file with comments | « webrtc/build/common.gypi ('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 (c) 2013 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 # Copied from Chromium's src/build/protoc.gypi 9 # Copied from Chromium's src/build/protoc.gypi
10 # 10 #
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 '--use-system-protobuf=<(use_system_protobuf)', 102 '--use-system-protobuf=<(use_system_protobuf)',
103 '--', 103 '--',
104 '<(protoc)', 104 '<(protoc)',
105 '--cpp_out', '<(cc_generator_options)<(cc_dir)', 105 '--cpp_out', '<(cc_generator_options)<(cc_dir)',
106 '--python_out', '<(py_dir)', 106 '--python_out', '<(py_dir)',
107 ], 107 ],
108 'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)', 108 'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)',
109 'process_outputs_as_sources': 1, 109 'process_outputs_as_sources': 1,
110 }, 110 },
111 ], 111 ],
112 'dependencies': [
113 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protoc#host',
114 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
115 ],
116 'include_dirs': [ 112 'include_dirs': [
117 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 113 '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
118 '<(DEPTH)', 114 '<(DEPTH)',
119 ], 115 ],
120 'direct_dependent_settings': { 116 'direct_dependent_settings': {
121 'include_dirs': [ 117 'include_dirs': [
122 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 118 '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
123 '<(DEPTH)', 119 '<(DEPTH)',
124 ] 120 ]
125 }, 121 },
126 'export_dependent_settings': [
127 # The generated headers reference headers within protobuf_lite,
128 # so dependencies must be able to find those headers too.
129 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
130 ],
131 # This target exports a hard dependency because it generates header 122 # This target exports a hard dependency because it generates header
132 # files. 123 # files.
133 'hard_dependency': 1, 124 'hard_dependency': 1,
125 'conditions': [
126 ['build_protobuf==1', {
127 'dependencies': [
128 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protoc#host',
129 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
130 ],
131 'export_dependent_settings': [
132 # The generated headers reference headers within protobuf_lite,
133 # so dependencies must be able to find those headers too.
134 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
135 ],
136 }],
137 ],
134 } 138 }
OLDNEW
« no previous file with comments | « webrtc/build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698