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

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

Issue 10539082: Add DSC files for the various examples. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/generate_make.py » ('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) 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 This script is invoked from XXX, usually without arguments 8 This script is invoked from XXX, usually without arguments
9 to package an SDK. It automatically determines whether 9 to package an SDK. It automatically determines whether
10 this SDK is for mac, win, linux. 10 this SDK is for mac, win, linux.
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 GetPNaClNativeLib(pnacldir, 'x86-64')) 321 GetPNaClNativeLib(pnacldir, 'x86-64'))
322 InstallHeaders(GetToolchainNaClInclude('pnacl', pnacldir, 'x86'), 322 InstallHeaders(GetToolchainNaClInclude('pnacl', pnacldir, 'x86'),
323 pepper_ver, 323 pepper_ver,
324 'newlib') 324 'newlib')
325 else: 325 else:
326 buildbot_common.ErrorExit('Missing arch %s' % arch) 326 buildbot_common.ErrorExit('Missing arch %s' % arch)
327 327
328 328
329 EXAMPLE_MAP = { 329 EXAMPLE_MAP = {
330 'newlib': [ 330 'newlib': [
331 'debugging', 331 # 'debugging',
332 'file_histogram', 332 'file_histogram',
333 'file_io', 333 'file_io',
334 'fullscreen_tumbler', 334 'fullscreen_tumbler',
335 'gamepad', 335 'gamepad',
336 'geturl', 336 'geturl',
337 'hello_world_interactive', 337 'hello_world_interactive',
338 'hello_world_newlib', 338 'hello_world_newlib',
339 # 'hello_world_gles',
339 'input_events', 340 'input_events',
340 'load_progress', 341 'load_progress',
341 'mouselock', 342 'mouselock',
342 'multithreaded_input_events', 343 'multithreaded_input_events',
343 'pi_generator', 344 'pi_generator',
344 'pong', 345 'pong',
345 'sine_synth', 346 'sine_synth',
346 'tumbler', 347 'tumbler',
347 'websocket' 348 'websocket'
348 ], 349 ],
349 'glibc': [ 350 'glibc': [
350 'dlopen', 351 # 'dlopen',
351 ], 352 ],
352 'pnacl': [ 353 'pnacl': [
353 'hello_world_pnacl', 354 'hello_world_pnacl',
354 ], 355 ],
355 } 356 }
356 357
357 358
358 def CopyExamples(pepperdir, toolchains): 359 def CopyExamples(pepperdir, toolchains):
359 buildbot_common.BuildStep('Copy examples') 360 buildbot_common.BuildStep('Copy examples')
360 361
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 manifest_snippet_stream.write(bundle.GetDataAsString()) 603 manifest_snippet_stream.write(bundle.GetDataAsString())
603 604
604 buildbot_common.Archive(tarname + '.json', bucket_path, OUT_DIR, 605 buildbot_common.Archive(tarname + '.json', bucket_path, OUT_DIR,
605 step_link=False) 606 step_link=False)
606 607
607 return 0 608 return 0
608 609
609 610
610 if __name__ == '__main__': 611 if __name__ == '__main__':
611 sys.exit(main(sys.argv)) 612 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/generate_make.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698