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

Side by Side Diff: buildbot/buildbot_toolchain_build.py

Issue 1924743004: Remove GYP build from bots and 'gclient runhooks' (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: punt gyp build from pnacl script Created 4 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 | « buildbot/buildbot_standard.py ('k') | 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client 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 """Main entry point for toolchain_build buildbots. 6 """Main entry point for toolchain_build buildbots.
7 7
8 Passes its arguments to toolchain_build.py. 8 Passes its arguments to toolchain_build.py.
9 """ 9 """
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 if toolchain_name.startswith('nacl_'): 124 if toolchain_name.startswith('nacl_'):
125 scons_toolchain_arg = 'nacl_%s_dir' % clib 125 scons_toolchain_arg = 'nacl_%s_dir' % clib
126 elif toolchain_name.startswith('pnacl_'): 126 elif toolchain_name.startswith('pnacl_'):
127 scons_toolchain_arg = 'pnacl_%s_dir' % clib 127 scons_toolchain_arg = 'pnacl_%s_dir' % clib
128 else: 128 else:
129 print 'Error - Could not figure out toolchain type: %s' % toolchain_name 129 print 'Error - Could not figure out toolchain type: %s' % toolchain_name
130 return 1 130 return 1
131 131
132 subprocess.check_call([sys.executable, 132 subprocess.check_call([sys.executable,
133 BUILDBOT_STANDARD, 133 BUILDBOT_STANDARD,
134 '--no-gyp',
135 '--step-suffix= [%s %s]' % (toolchain_name, mode), 134 '--step-suffix= [%s %s]' % (toolchain_name, mode),
136 '--scons-args', '%s=%s' % (scons_toolchain_arg, 135 '--scons-args', '%s=%s' % (scons_toolchain_arg,
137 toolchain_dir), 136 toolchain_dir),
138 mode, arch, clib]) 137 mode, arch, clib])
139 138
140 return 0 139 return 0
141 140
142 if __name__ == '__main__': 141 if __name__ == '__main__':
143 sys.exit(main(sys.argv[1:])) 142 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « buildbot/buildbot_standard.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698