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

Side by Side Diff: third_party/protobuf/protobuf.gyp

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « third_party/ots/src/woff2.cc ('k') | third_party/qcms/README.chromium » ('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 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['use_system_protobuf==0', { 7 ['use_system_protobuf==0', {
8 'conditions': [ 8 'conditions': [
9 ['OS!="win"', { 9 ['OS!="win"', {
10 'variables': { 10 'variables': {
(...skipping 11 matching lines...) Expand all
22 4244, # implicit conversion, possible loss of data 22 4244, # implicit conversion, possible loss of data
23 4355, # 'this' used in base member initializer list 23 4355, # 'this' used in base member initializer list
24 4267, # size_t to int truncation 24 4267, # size_t to int truncation
25 4291, # no matching operator delete for a placement new 25 4291, # no matching operator delete for a placement new
26 ], 26 ],
27 'defines!': [ 27 'defines!': [
28 'WIN32_LEAN_AND_MEAN', # Protobuf defines this itself. 28 'WIN32_LEAN_AND_MEAN', # Protobuf defines this itself.
29 ], 29 ],
30 }, 30 },
31 }], 31 }],
32 ['OS=="ios" and "<(GENERATOR)"!="ninja"', { 32 ['OS=="ios" and "<(GENERATOR)"=="xcode" and "<(GENERATOR_FLAVOR)"!="ninj a"', {
33 'variables': { 33 'variables': {
34 'ninja_output_dir': 'ninja-protoc', 34 'ninja_output_dir': 'ninja-protoc',
35 'ninja_product_dir': 35 'ninja_product_dir':
36 '<(DEPTH)/xcodebuild/<(ninja_output_dir)/<(CONFIGURATION_NAME)', 36 '<(DEPTH)/xcodebuild/<(ninja_output_dir)/<(CONFIGURATION_NAME)',
37 # Gyp to rerun 37 # Gyp to rerun
38 're_run_targets': [ 38 're_run_targets': [
39 'third_party/protobuf/protobuf.gyp', 39 'third_party/protobuf/protobuf.gyp',
40 ], 40 ],
41 }, 41 },
42 'targets': [ 42 'targets': [
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 'src/google/protobuf/io/printer.cc', 163 'src/google/protobuf/io/printer.cc',
164 'src/google/protobuf/io/tokenizer.cc', 164 'src/google/protobuf/io/tokenizer.cc',
165 'src/google/protobuf/io/zero_copy_stream_impl.cc', 165 'src/google/protobuf/io/zero_copy_stream_impl.cc',
166 'src/google/protobuf/compiler/importer.cc', 166 'src/google/protobuf/compiler/importer.cc',
167 'src/google/protobuf/compiler/parser.cc', 167 'src/google/protobuf/compiler/parser.cc',
168 ], 168 ],
169 }, 169 },
170 { 170 {
171 'target_name': 'protoc', 171 'target_name': 'protoc',
172 'conditions': [ 172 'conditions': [
173 ['OS!="ios" or "<(GENERATOR)"=="ninja"', { 173 ['OS!="ios" or "<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ni nja"', {
174 'type': 'executable', 174 'type': 'executable',
175 'toolsets': ['host'], 175 'toolsets': ['host'],
176 'sources': [ 176 'sources': [
177 'src/google/protobuf/compiler/code_generator.cc', 177 'src/google/protobuf/compiler/code_generator.cc',
178 'src/google/protobuf/compiler/command_line_interface.cc', 178 'src/google/protobuf/compiler/command_line_interface.cc',
179 'src/google/protobuf/compiler/plugin.cc', 179 'src/google/protobuf/compiler/plugin.cc',
180 'src/google/protobuf/compiler/plugin.pb.cc', 180 'src/google/protobuf/compiler/plugin.pb.cc',
181 'src/google/protobuf/compiler/subprocess.cc', 181 'src/google/protobuf/compiler/subprocess.cc',
182 'src/google/protobuf/compiler/subprocess.h', 182 'src/google/protobuf/compiler/subprocess.h',
183 'src/google/protobuf/compiler/zip_writer.cc', 183 'src/google/protobuf/compiler/zip_writer.cc',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 'src/google/protobuf/compiler/python/python_generator.cc', 231 'src/google/protobuf/compiler/python/python_generator.cc',
232 'src/google/protobuf/compiler/main.cc', 232 'src/google/protobuf/compiler/main.cc',
233 ], 233 ],
234 'dependencies': [ 234 'dependencies': [
235 'protobuf_full_do_not_use', 235 'protobuf_full_do_not_use',
236 ], 236 ],
237 'include_dirs': [ 237 'include_dirs': [
238 '<(config_h_dir)', 238 '<(config_h_dir)',
239 'src/src', 239 'src/src',
240 ], 240 ],
241 }, { # else, OS=="ios" and "<(GENERATOR)"!="ninja" 241 }, { # else, OS=="ios" and "<(GENERATOR)"=="xcode" and "<(GENERATOR _FLAVOR)"!="ninja"
242 'type': 'none', 242 'type': 'none',
243 'toolsets': ['host'], 243 'toolsets': ['host'],
244 'dependencies': [ 244 'dependencies': [
245 'compile_protoc', 245 'compile_protoc',
246 ], 246 ],
247 'actions': [ 247 'actions': [
248 { 248 {
249 'action_name': 'copy protoc', 249 'action_name': 'copy protoc',
250 'inputs': [ 250 'inputs': [
251 '<(ninja_product_dir)/protoc', 251 '<(ninja_product_dir)/protoc',
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 'toolsets': ['host', 'target'], 389 'toolsets': ['host', 'target'],
390 }, 390 },
391 { 391 {
392 'target_name': 'py_proto', 392 'target_name': 'py_proto',
393 'type': 'none', 393 'type': 'none',
394 }, 394 },
395 ], 395 ],
396 }], 396 }],
397 ], 397 ],
398 } 398 }
OLDNEW
« no previous file with comments | « third_party/ots/src/woff2.cc ('k') | third_party/qcms/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698