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

Side by Side Diff: tools/bisect-perf-regression.py

Issue 189133005: Rename chromium_testshell target to chrome_shell_apk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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 | « chrome/tools/build/android/FILES.cfg ('k') | tools/cr/cr/base/android.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 (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 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 """Performance Test Bisect Tool 6 """Performance Test Bisect Tool
7 7
8 This script bisects a series of changelists using binary search. It starts at 8 This script bisects a series of changelists using binary search. It starts at
9 a bad revision where a performance metric has regressed, and asks for a last 9 a bad revision where a performance metric has regressed, and asks for a last
10 known-good revision. It will then binary search across this revision range by 10 known-good revision. It will then binary search across this revision range by
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 return os.path.join(src_dir, 'build') 664 return os.path.join(src_dir, 'build')
665 raise NotImplementedError('Unexpected platform %s' % sys.platform) 665 raise NotImplementedError('Unexpected platform %s' % sys.platform)
666 666
667 667
668 class AndroidBuilder(Builder): 668 class AndroidBuilder(Builder):
669 """AndroidBuilder is used to build on android.""" 669 """AndroidBuilder is used to build on android."""
670 def __init__(self, opts): 670 def __init__(self, opts):
671 super(AndroidBuilder, self).__init__(opts) 671 super(AndroidBuilder, self).__init__(opts)
672 672
673 def _GetTargets(self): 673 def _GetTargets(self):
674 return ['chromium_testshell', 'cc_perftests_apk', 'android_tools'] 674 return ['chrome_shell', 'cc_perftests_apk', 'android_tools']
675 675
676 def Build(self, depot, opts): 676 def Build(self, depot, opts):
677 """Builds the android content shell and other necessary tools using options 677 """Builds the android content shell and other necessary tools using options
678 passed into the script. 678 passed into the script.
679 679
680 Args: 680 Args:
681 depot: Current depot being bisected. 681 depot: Current depot being bisected.
682 opts: The options parsed from the command line. 682 opts: The options parsed from the command line.
683 683
684 Returns: 684 Returns:
(...skipping 2630 matching lines...) Expand 10 before | Expand all | Expand 10 after
3315 # The perf dashboard scrapes the "results" step in order to comment on 3315 # The perf dashboard scrapes the "results" step in order to comment on
3316 # bugs. If you change this, please update the perf dashboard as well. 3316 # bugs. If you change this, please update the perf dashboard as well.
3317 bisect_utils.OutputAnnotationStepStart('Results') 3317 bisect_utils.OutputAnnotationStepStart('Results')
3318 print 'Error: %s' % e.message 3318 print 'Error: %s' % e.message
3319 if opts.output_buildbot_annotations: 3319 if opts.output_buildbot_annotations:
3320 bisect_utils.OutputAnnotationStepClosed() 3320 bisect_utils.OutputAnnotationStepClosed()
3321 return 1 3321 return 1
3322 3322
3323 if __name__ == '__main__': 3323 if __name__ == '__main__':
3324 sys.exit(main()) 3324 sys.exit(main())
OLDNEW
« no previous file with comments | « chrome/tools/build/android/FILES.cfg ('k') | tools/cr/cr/base/android.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698