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

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

Issue 9234043: Support GLBIC example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 '''Entry point for both build and try bots''' 6 '''Entry point for both build and try bots'''
7 7
8 import build_utils 8 import build_utils
9 import lastchange 9 import lastchange
10 import os 10 import os
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 Run(GetBuildArgs('glibc', glibcdir, 'x86', '64'), cwd=NACL_DIR) 328 Run(GetBuildArgs('glibc', glibcdir, 'x86', '64'), cwd=NACL_DIR)
329 else: 329 else:
330 ErrorExit('Missing arch %s' % arch) 330 ErrorExit('Missing arch %s' % arch)
331 331
332 if not skip_headers: 332 if not skip_headers:
333 BuildStep('Copy Toolchain headers') 333 BuildStep('Copy Toolchain headers')
334 if arch == 'x86': 334 if arch == 'x86':
335 InstallHeaders(GetToolchainNaClInclude(newlibdir, 'x86'), 335 InstallHeaders(GetToolchainNaClInclude(newlibdir, 'x86'),
336 pepper_ver, 336 pepper_ver,
337 'newlib') 337 'newlib')
338 InstallHeaders(GetToolchainNaClInclude(newlibdir, 'x86'), 338 InstallHeaders(GetToolchainNaClInclude(glibcdir, 'x86'),
339 pepper_ver, 339 pepper_ver,
340 'glibc') 340 'glibc')
341 else: 341 else:
342 ErrorExit('Missing arch %s' % arch) 342 ErrorExit('Missing arch %s' % arch)
343 343
344 BuildStep('Copy make helpers') 344 BuildStep('Copy make helpers')
345 CopyDir(os.path.join(SDK_SRC_DIR, 'tools', '*.py'), 345 CopyDir(os.path.join(SDK_SRC_DIR, 'tools', '*.py'),
346 os.path.join(pepperdir, 'tools')) 346 os.path.join(pepperdir, 'tools'))
347 if platform == 'win': 347 if platform == 'win':
348 BuildStep('Add MAKE') 348 BuildStep('Add MAKE')
(...skipping 29 matching lines...) Expand all
378 AddMakeBat(dirnode) 378 AddMakeBat(dirnode)
379 print "\n\nMake: " + dirnode 379 print "\n\nMake: " + dirnode
380 Run(['make', 'all', '-j8'], cwd=os.path.abspath(dirnode), shell=True) 380 Run(['make', 'all', '-j8'], cwd=os.path.abspath(dirnode), shell=True)
381 381
382 return 0 382 return 0
383 383
384 384
385 if __name__ == '__main__': 385 if __name__ == '__main__':
386 sys.exit(main()) 386 sys.exit(main())
387 387
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/examples/dlopen/Makefile » ('j') | native_client_sdk/src/examples/dlopen/dlopen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698