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

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

Issue 62273004: Remove call to update_resources.py for WebRTC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | build/android/buildbot/bb_run_bot.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 'run_findbugs_plugin_tests.py')] + build_type) 98 'run_findbugs_plugin_tests.py')] + build_type)
99 99
100 100
101 def BisectPerfRegression(_): 101 def BisectPerfRegression(_):
102 RunCmd([SrcPath('tools', 'prepare-bisect-perf-regression.py'), 102 RunCmd([SrcPath('tools', 'prepare-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 RunCmd([SrcPath('tools', 'run-bisect-perf-regression.py'), 104 RunCmd([SrcPath('tools', 'run-bisect-perf-regression.py'),
105 '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)]) 105 '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)])
106 106
107 107
108 def DownloadWebRTCResources(_):
109 bb_annotations.PrintNamedStep('download_resources')
110 RunCmd([SrcPath('third_party', 'webrtc', 'tools', 'update_resources.py'),
111 '-p', '../../../'], halt_on_failure=True)
112
113
114 def GetHostStepCmds(): 108 def GetHostStepCmds():
115 return [ 109 return [
116 ('compile', Compile), 110 ('compile', Compile),
117 ('extract_build', ExtractBuild), 111 ('extract_build', ExtractBuild),
118 ('check_webview_licenses', CheckWebViewLicenses), 112 ('check_webview_licenses', CheckWebViewLicenses),
119 ('bisect_perf_regression', BisectPerfRegression), 113 ('bisect_perf_regression', BisectPerfRegression),
120 ('download_webrtc_resources', DownloadWebRTCResources),
121 ('findbugs', FindBugs), 114 ('findbugs', FindBugs),
122 ('zip_build', ZipBuild) 115 ('zip_build', ZipBuild)
123 ] 116 ]
124 117
125 118
126 def GetHostStepsOptParser(): 119 def GetHostStepsOptParser():
127 parser = bb_utils.GetParser() 120 parser = bb_utils.GetParser()
128 parser.add_option('--steps', help='Comma separated list of host tests.') 121 parser.add_option('--steps', help='Comma separated list of host tests.')
129 parser.add_option('--build-targets', default='All', 122 parser.add_option('--build-targets', default='All',
130 help='Comma separated list of build targets.') 123 help='Comma separated list of build targets.')
(...skipping 10 matching lines...) Expand all
141 return sys.exit('Unused args %s' % args) 134 return sys.exit('Unused args %s' % args)
142 135
143 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 136 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
144 137
145 if options.steps: 138 if options.steps:
146 bb_utils.RunSteps(options.steps.split(','), GetHostStepCmds(), options) 139 bb_utils.RunSteps(options.steps.split(','), GetHostStepCmds(), options)
147 140
148 141
149 if __name__ == '__main__': 142 if __name__ == '__main__':
150 sys.exit(main(sys.argv)) 143 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | build/android/buildbot/bb_run_bot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698