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

Side by Side Diff: native_client_sdk/src/build_tools/build_projects.py

Issue 289023002: Initial SIMD demos life and earth for PNaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: title Created 6 years, 7 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 | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('j') | 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 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import multiprocessing 6 import multiprocessing
7 import optparse 7 import optparse
8 import os 8 import os
9 import posixpath 9 import posixpath
10 import sys 10 import sys
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 UpdateHelpers(pepperdir, clobber=options.clobber) 331 UpdateHelpers(pepperdir, clobber=options.clobber)
332 UpdateProjects(pepperdir, project_tree, options.toolchain, 332 UpdateProjects(pepperdir, project_tree, options.toolchain,
333 clobber=options.clobber) 333 clobber=options.clobber)
334 334
335 if options.build: 335 if options.build:
336 if options.config: 336 if options.config:
337 configs = [options.config] 337 configs = [options.config]
338 else: 338 else:
339 configs = ['Debug', 'Release'] 339 configs = ['Debug', 'Release']
340 for config in configs: 340 for config in configs:
341 BuildProjects(pepperdir, project_tree, config=config) 341 BuildProjects(pepperdir, project_tree, config=config, deps=False)
342 342
343 return 0 343 return 0
344 344
345 345
346 if __name__ == '__main__': 346 if __name__ == '__main__':
347 script_name = os.path.basename(sys.argv[0]) 347 script_name = os.path.basename(sys.argv[0])
348 try: 348 try:
349 sys.exit(main(sys.argv)) 349 sys.exit(main(sys.argv))
350 except parse_dsc.ValidationError as e: 350 except parse_dsc.ValidationError as e:
351 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) 351 buildbot_common.ErrorExit('%s: %s' % (script_name, e))
352 except KeyboardInterrupt: 352 except KeyboardInterrupt:
353 buildbot_common.ErrorExit('%s: interrupted' % script_name) 353 buildbot_common.ErrorExit('%s: interrupted' % script_name)
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698