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

Unified Diff: build/android/buildbot/bb_host_steps.py

Issue 212173006: Don't hardcode output directory in findbugs.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-duration
Patch Set: "Fix" findbugs "error" 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/pylib/utils/findbugs.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_host_steps.py
diff --git a/build/android/buildbot/bb_host_steps.py b/build/android/buildbot/bb_host_steps.py
index b2bda6c9d682783c8d43aa0983edfd4ab78580ad..48d2d9a437a12cc930c1415ddf3e959e470898a5 100755
--- a/build/android/buildbot/bb_host_steps.py
+++ b/build/android/buildbot/bb_host_steps.py
@@ -80,14 +80,12 @@ def ExtractBuild(options):
def FindBugs(options):
+ _ = options # keeps the linter and findbugs happy, parameter is not used
bb_annotations.PrintNamedStep('findbugs')
- build_type = []
- if options.target == 'Release':
- build_type = ['--release-build']
- RunCmd([SrcPath('build', 'android', 'findbugs_diff.py')] + build_type)
+ RunCmd([SrcPath('build', 'android', 'findbugs_diff.py')])
RunCmd([SrcPath(
'tools', 'android', 'findbugs_plugin', 'test',
- 'run_findbugs_plugin_tests.py')] + build_type)
+ 'run_findbugs_plugin_tests.py')])
def BisectPerfRegression(options):
@@ -134,6 +132,7 @@ def main(argv):
setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
setattr(options, 'extra_src',
options.factory_properties.get('extra_src', ''))
+ constants.SetBuildType(options.target)
if options.steps:
bb_utils.RunSteps(options.steps.split(','), GetHostStepCmds(), options)
« no previous file with comments | « no previous file | build/android/pylib/utils/findbugs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698