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

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

Issue 641233002: [NaCl SDK] Update naclports revision used by the SDK build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | native_client_sdk/src/gonacl_appengine/src/bullet/build.sh » ('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 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://chromium.googlesource.com/external/naclports.git' 59 NACLPORTS_URL = 'https://chromium.googlesource.com/external/naclports.git'
60 NACLPORTS_REV = '99f2417' 60 NACLPORTS_REV = '873ca4910a5f9d4206306aacb4ed79c587c6a5f3'
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 984 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 BuildStepArchiveSDKTools() 1055 BuildStepArchiveSDKTools()
1056 1056
1057 return 0 1057 return 0
1058 1058
1059 1059
1060 if __name__ == '__main__': 1060 if __name__ == '__main__':
1061 try: 1061 try:
1062 sys.exit(main(sys.argv)) 1062 sys.exit(main(sys.argv))
1063 except KeyboardInterrupt: 1063 except KeyboardInterrupt:
1064 buildbot_common.ErrorExit('build_sdk: interrupted') 1064 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/gonacl_appengine/src/bullet/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698