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

Side by Side Diff: tools/build.py

Issue 11280006: - Remove '-parallelizeTargets' from xcodebuild invocation as it eats (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | « no previous file | 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 # 6 #
7 7
8 import optparse 8 import optparse
9 import os 9 import os
10 import shutil 10 import shutil
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 build_config = utils.GetBuildConf(mode, arch) 249 build_config = utils.GetBuildConf(mode, arch)
250 if HOST_OS == 'macos': 250 if HOST_OS == 'macos':
251 project_file = 'dart.xcodeproj' 251 project_file = 'dart.xcodeproj'
252 if os.path.exists('dart-%s.gyp' % CurrentDirectoryBaseName()): 252 if os.path.exists('dart-%s.gyp' % CurrentDirectoryBaseName()):
253 project_file = 'dart-%s.xcodeproj' % CurrentDirectoryBaseName() 253 project_file = 'dart-%s.xcodeproj' % CurrentDirectoryBaseName()
254 args = ['xcodebuild', 254 args = ['xcodebuild',
255 '-project', 255 '-project',
256 project_file, 256 project_file,
257 '-target', 257 '-target',
258 target, 258 target,
259 '-parallelizeTargets',
260 '-configuration', 259 '-configuration',
261 build_config, 260 build_config,
262 'SYMROOT=%s' % os.path.abspath('xcodebuild') 261 'SYMROOT=%s' % os.path.abspath('xcodebuild')
263 ] 262 ]
264 elif HOST_OS == 'win32': 263 elif HOST_OS == 'win32':
265 project_file = 'dart.sln' 264 project_file = 'dart.sln'
266 if os.path.exists('dart-%s.gyp' % CurrentDirectoryBaseName()): 265 if os.path.exists('dart-%s.gyp' % CurrentDirectoryBaseName()):
267 project_file = 'dart-%s.sln' % CurrentDirectoryBaseName() 266 project_file = 'dart-%s.sln' % CurrentDirectoryBaseName()
268 if target == 'all': 267 if target == 'all':
269 args = [options.devenv + os.sep + options.executable, 268 args = [options.devenv + os.sep + options.executable,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 process.wait() 319 process.wait()
321 if process.returncode != 0: 320 if process.returncode != 0:
322 print "BUILD FAILED" 321 print "BUILD FAILED"
323 return 1 322 return 1
324 323
325 return 0 324 return 0
326 325
327 326
328 if __name__ == '__main__': 327 if __name__ == '__main__':
329 sys.exit(Main()) 328 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698