Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 Loading... | |
| 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 |
| OLD | NEW |