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

Side by Side Diff: build/android/buildbot/bb_host_steps.py

Issue 18991015: Unset some environment vars so they can be set up via the bisect script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes from review. Created 7 years, 5 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 | tools/bisect-perf-regression.py » ('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 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 import os 6 import os
7 import sys 7 import sys
8 8
9 import bb_utils 9 import bb_utils
10 import bb_annotations 10 import bb_annotations
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 RunCmd([SrcPath( 93 RunCmd([SrcPath(
94 'tools', 'android', 'findbugs_plugin', 'test', 94 'tools', 'android', 'findbugs_plugin', 'test',
95 'run_findbugs_plugin_tests.py')] + build_type) 95 'run_findbugs_plugin_tests.py')] + build_type)
96 96
97 97
98 def BisectPerfRegression(_): 98 def BisectPerfRegression(_):
99 bb_annotations.PrintNamedStep('Bisect Perf Regression') 99 bb_annotations.PrintNamedStep('Bisect Perf Regression')
100 RunCmd([SrcPath('tools', 'prepare-bisect-perf-regression.py'), 100 RunCmd([SrcPath('tools', 'prepare-bisect-perf-regression.py'),
101 '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)]) 101 '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)])
102 RunCmd([SrcPath('tools', 'run-bisect-perf-regression.py'), 102 RunCmd([SrcPath('tools', 'run-bisect-perf-regression.py'),
103 '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir), 103 '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)])
104 '-p', bb_utils.GOMA_DIR])
105 104
106 105
107 def GetHostStepCmds(): 106 def GetHostStepCmds():
108 return [ 107 return [
109 ('compile', Compile), 108 ('compile', Compile),
110 ('extract_build', ExtractBuild), 109 ('extract_build', ExtractBuild),
111 ('check_webview_licenses', CheckWebViewLicenses), 110 ('check_webview_licenses', CheckWebViewLicenses),
112 ('bisect_perf_regression', BisectPerfRegression), 111 ('bisect_perf_regression', BisectPerfRegression),
113 ('findbugs', FindBugs), 112 ('findbugs', FindBugs),
114 ('zip_build', ZipBuild) 113 ('zip_build', ZipBuild)
(...skipping 18 matching lines...) Expand all
133 return sys.exit('Unused args %s' % args) 132 return sys.exit('Unused args %s' % args)
134 133
135 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 134 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
136 135
137 if options.steps: 136 if options.steps:
138 bb_utils.RunSteps(options.steps.split(','), GetHostStepCmds(), options) 137 bb_utils.RunSteps(options.steps.split(','), GetHostStepCmds(), options)
139 138
140 139
141 if __name__ == '__main__': 140 if __name__ == '__main__':
142 sys.exit(main(sys.argv)) 141 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | tools/bisect-perf-regression.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698