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

Side by Side Diff: visual_studio/NativeClientVSAddIn/buildbot_run.py

Issue 10982100: fix minor typo in buildbot script. (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 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 | 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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file 3 # found in the LICENSE file
4 4
5 """Entry point for the AddIn build bot. 5 """Entry point for the AddIn build bot.
6 6
7 Perform build steps and output results using the buildbot 7 Perform build steps and output results using the buildbot
8 annootator syntax 8 annootator syntax
9 """ 9 """
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 def _GetGsutil(): 57 def _GetGsutil():
58 if os.environ.get('BUILDBOT_BUILDERNAME'): 58 if os.environ.get('BUILDBOT_BUILDERNAME'):
59 # When running in a buildbot slave use 59 # When running in a buildbot slave use
60 # gsutil from the slave scripts folder 60 # gsutil from the slave scripts folder
61 import slave 61 import slave
62 slave_dir = os.path.dirname(slave.__file__) 62 slave_dir = os.path.dirname(slave.__file__)
63 gsutil = os.path.join(slave_dir, 'gsutil') 63 gsutil = os.path.join(slave_dir, 'gsutil')
64 if os.name == 'nt': 64 if os.name == 'nt':
65 gsutil += '.bat' 65 gsutil += '.bat'
66 gsutil = [gsutil]
66 else: 67 else:
67 if os.name == 'nt': 68 if os.name == 'nt':
68 gsutil = [sys.executable, _FindInPath('gsutil')] 69 gsutil = [sys.executable, _FindInPath('gsutil')]
69 else: 70 else:
70 gsutil = ['gsutil'] 71 gsutil = ['gsutil']
71 72
72 return gsutil 73 return gsutil
73 74
74 75
75 def StepArchive(): 76 def StepArchive():
(...skipping 16 matching lines...) Expand all
92 93
93 94
94 def main(): 95 def main():
95 StepBuild() 96 StepBuild()
96 StepTest() 97 StepTest()
97 StepArchive() 98 StepArchive()
98 99
99 100
100 if __name__ == '__main__': 101 if __name__ == '__main__':
101 main() 102 main()
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