Chromium Code Reviews

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

Issue 2269953002: Roll chromium_revision e3860bd297..938114be1e (412289:414059) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated DEPS. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « DEPS ('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 76 matching lines...)
87 '<(protoc)', 87 '<(protoc)',
88 ], 88 ],
89 'outputs': [ 89 'outputs': [
90 '<(py_dir)/<(RULE_INPUT_ROOT)_pb2.py', 90 '<(py_dir)/<(RULE_INPUT_ROOT)_pb2.py',
91 '<(cc_dir)/<(RULE_INPUT_ROOT).pb.cc', 91 '<(cc_dir)/<(RULE_INPUT_ROOT).pb.cc',
92 '<(cc_dir)/<(RULE_INPUT_ROOT).pb.h', 92 '<(cc_dir)/<(RULE_INPUT_ROOT).pb.h',
93 ], 93 ],
94 'action': [ 94 'action': [
95 'python', 95 'python',
96 '<(protoc_wrapper)', 96 '<(protoc_wrapper)',
97 '--include', 97 '--protoc',
98 '<(cc_include)', 98 '<(protoc)',
99 '--protobuf',
100 '<(cc_dir)/<(RULE_INPUT_ROOT).pb.h',
101 # Using the --arg val form (instead of --arg=val) allows gyp's msvs rule 99 # Using the --arg val form (instead of --arg=val) allows gyp's msvs rule
102 # generation to correct 'val' which is a path. 100 # generation to correct 'val' which is a path.
103 '--proto-in-dir','<(proto_in_dir)', 101 '--proto-in-dir','<(proto_in_dir)',
104 # Naively you'd use <(RULE_INPUT_PATH) here, but protoc requires 102 # Naively you'd use <(RULE_INPUT_PATH) here, but protoc requires
105 # --proto_path is a strict prefix of the path given as an argument. 103 # --proto_path is a strict prefix of the path given as an argument.
106 '--proto-in-file','<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)', 104 '--cc-out-dir', '<(cc_generator_options)<(cc_dir)',
107 '--use-system-protobuf=<(use_system_protobuf)', 105 '--py-out-dir', '<(py_dir)',
108 '--', 106 '<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)',
109 '<(protoc)',
110 '--cpp_out', '<(cc_generator_options)<(cc_dir)',
111 '--python_out', '<(py_dir)',
112 ], 107 ],
113 'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)', 108 'message': 'Generating C++ and Python code from <(RULE_INPUT_PATH)',
114 'process_outputs_as_sources': 1, 109 'process_outputs_as_sources': 1,
115 }, 110 },
116 ], 111 ],
117 'include_dirs': [ 112 'include_dirs': [
118 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 113 '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
119 ], 114 ],
120 'direct_dependent_settings': { 115 'direct_dependent_settings': {
121 'include_dirs': [ 116 'include_dirs': [
(...skipping 10 matching lines...)
132 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', 127 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
133 ], 128 ],
134 'export_dependent_settings': [ 129 'export_dependent_settings': [
135 # The generated headers reference headers within protobuf_lite, 130 # The generated headers reference headers within protobuf_lite,
136 # so dependencies must be able to find those headers too. 131 # so dependencies must be able to find those headers too.
137 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', 132 '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite',
138 ], 133 ],
139 }], 134 }],
140 ], 135 ],
141 } 136 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine