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

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

Issue 293353005: [NaCl SDL] Roll naclports revision (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | no next file » | 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 import oshelpers 50 import oshelpers
51 51
52 BUILD_DIR = os.path.join(NACL_DIR, 'build') 52 BUILD_DIR = os.path.join(NACL_DIR, 'build')
53 NACL_TOOLCHAIN_DIR = os.path.join(NACL_DIR, 'toolchain') 53 NACL_TOOLCHAIN_DIR = os.path.join(NACL_DIR, 'toolchain')
54 NACL_TOOLCHAINTARS_DIR = os.path.join(NACL_TOOLCHAIN_DIR, '.tars') 54 NACL_TOOLCHAINTARS_DIR = os.path.join(NACL_TOOLCHAIN_DIR, '.tars')
55 55
56 CYGTAR = os.path.join(BUILD_DIR, 'cygtar.py') 56 CYGTAR = os.path.join(BUILD_DIR, 'cygtar.py')
57 PKGVER = os.path.join(BUILD_DIR, 'package_version', 'package_version.py') 57 PKGVER = os.path.join(BUILD_DIR, 'package_version', 'package_version.py')
58 58
59 NACLPORTS_URL = 'https://naclports.googlecode.com/svn/trunk/src' 59 NACLPORTS_URL = 'https://naclports.googlecode.com/svn/trunk/src'
60 NACLPORTS_REV = 1226 60 NACLPORTS_REV = 1289
61 61
62 GYPBUILD_DIR = 'gypbuild' 62 GYPBUILD_DIR = 'gypbuild'
63 63
64 options = None 64 options = None
65 65
66 # Map of: ToolchainName: (PackageName, SDKDir). 66 # Map of: ToolchainName: (PackageName, SDKDir).
67 TOOLCHAIN_PACKAGE_MAP = { 67 TOOLCHAIN_PACKAGE_MAP = {
68 'newlib': ('nacl_x86_newlib', '%(platform)s_x86_newlib'), 68 'newlib': ('nacl_x86_newlib', '%(platform)s_x86_newlib'),
69 'bionic': ('nacl_arm_bionic', '%(platform)s_arm_bionic'), 69 'bionic': ('nacl_arm_bionic', '%(platform)s_arm_bionic'),
70 'arm': ('nacl_arm_newlib', '%(platform)s_arm_newlib'), 70 'arm': ('nacl_arm_newlib', '%(platform)s_arm_newlib'),
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 BuildStepArchiveSDKTools() 1026 BuildStepArchiveSDKTools()
1027 1027
1028 return 0 1028 return 0
1029 1029
1030 1030
1031 if __name__ == '__main__': 1031 if __name__ == '__main__':
1032 try: 1032 try:
1033 sys.exit(main(sys.argv)) 1033 sys.exit(main(sys.argv))
1034 except KeyboardInterrupt: 1034 except KeyboardInterrupt:
1035 buildbot_common.ErrorExit('build_sdk: interrupted') 1035 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698