| 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 cf506aea2a296c28f0639a22eca0b37c76766fb3..7814970ea86b4864ec2de2bc6e0fa4a667ec5ddc 100755
|
| --- a/build/android/buildbot/bb_host_steps.py
|
| +++ b/build/android/buildbot/bb_host_steps.py
|
| @@ -14,7 +14,7 @@ from pylib import constants
|
|
|
|
|
| SLAVE_SCRIPTS_DIR = os.path.join(bb_utils.BB_BUILD_DIR, 'scripts', 'slave')
|
| -VALID_HOST_TESTS = set(['check_webview_licenses', 'findbugs'])
|
| +VALID_HOST_TESTS = set(['check_webview_licenses', 'findbugs', 'lint'])
|
| EXPERIMENTAL_TARGETS = ['android_experimental']
|
|
|
| DIR_BUILD_ROOT = os.path.dirname(constants.DIR_SOURCE_ROOT)
|
| @@ -98,6 +98,14 @@ def FindBugs(options):
|
| 'run_findbugs_plugin_tests.py')] + build_type)
|
|
|
|
|
| +def Lint(options):
|
| + bb_annotations.PrintNamedStep('lint')
|
| + build_type = []
|
| + if options.target == 'Release':
|
| + build_type = ['--release']
|
| + RunCmd([SrcPath('build', 'android', 'lint.py')] + build_type)
|
| +
|
| +
|
| def BisectPerfRegression(_):
|
| RunCmd([SrcPath('tools', 'prepare-bisect-perf-regression.py'),
|
| '-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)])
|
| @@ -112,6 +120,7 @@ def GetHostStepCmds():
|
| ('check_webview_licenses', CheckWebViewLicenses),
|
| ('bisect_perf_regression', BisectPerfRegression),
|
| ('findbugs', FindBugs),
|
| + ('lint', Lint),
|
| ('zip_build', ZipBuild)
|
| ]
|
|
|
|
|