summaryrefslogtreecommitdiffstats
path: root/build/android/buildbot
diff options
context:
space:
mode:
authorandrewhayden@chromium.org <andrewhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 17:11:36 +0000
committerandrewhayden@chromium.org <andrewhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 17:11:36 +0000
commit42e7514f5c983268e38ff8773cd6544af081ebab (patch)
treead85738ef80c67bf8bc6d0ea8ddcfb1a6946cc01 /build/android/buildbot
parentb89ca2e49c322f2b8887c48c3ce5db7493ca8d2a (diff)
downloadchromium_src-42e7514f5c983268e38ff8773cd6544af081ebab.zip
chromium_src-42e7514f5c983268e38ff8773cd6544af081ebab.tar.gz
chromium_src-42e7514f5c983268e38ff8773cd6544af081ebab.tar.bz2
Don't hardcode output directory in findbugs.py
BUG=357190 Review URL: https://codereview.chromium.org/212173006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/buildbot')
-rwxr-xr-xbuild/android/buildbot/bb_host_steps.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/build/android/buildbot/bb_host_steps.py b/build/android/buildbot/bb_host_steps.py
index b2bda6c..48d2d9a 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)