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

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

Issue 240493003: Support static/dynamic for bionic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Enable bionic static/dynamic and nacl_io test 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
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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 InstallFiles(SRC_DIR, tc_dst_inc, NACL_HEADER_MAP[tc_name]) 346 InstallFiles(SRC_DIR, tc_dst_inc, NACL_HEADER_MAP[tc_name])
347 347
348 348
349 def MakeNinjaRelPath(path): 349 def MakeNinjaRelPath(path):
350 return os.path.join(os.path.relpath(OUT_DIR, SRC_DIR), path) 350 return os.path.join(os.path.relpath(OUT_DIR, SRC_DIR), path)
351 351
352 352
353 TOOLCHAIN_LIBS = { 353 TOOLCHAIN_LIBS = {
354 'bionic' : [ 354 'bionic' : [
355 'libminidump_generator.a', 355 'libminidump_generator.a',
356 'libnacl.a',
binji 2014/04/28 21:01:22 Why? Mention this in the CL description.
noelallen1 2014/04/28 23:00:33 Done.
357 'libnacl_dyncode.a', 356 'libnacl_dyncode.a',
358 'libnacl_exception.a', 357 'libnacl_exception.a',
359 'libnacl_list_mappings.a', 358 'libnacl_list_mappings.a',
360 'libppapi.a', 359 'libppapi.a',
361 ], 360 ],
362 'newlib' : [ 361 'newlib' : [
363 'crti.o', 362 'crti.o',
364 'crtn.o', 363 'crtn.o',
365 'libminidump_generator.a', 364 'libminidump_generator.a',
366 'libnacl.a', 365 'libnacl.a',
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 1023
1025 return 0 1024 return 0
1026 1025
1027 1026
1028 if __name__ == '__main__': 1027 if __name__ == '__main__':
1029 try: 1028 try:
1030 sys.exit(main(sys.argv)) 1029 sys.exit(main(sys.argv))
1031 except KeyboardInterrupt: 1030 except KeyboardInterrupt:
1032 buildbot_common.ErrorExit('build_sdk: interrupted') 1031 buildbot_common.ErrorExit('build_sdk: interrupted')
1033 1032
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698