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

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

Issue 72273003: [Android] Upstream android lint script and run it on debug builders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move std_host_tests to clank builder 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/buildbot/bb_run_bot.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 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)
]
« 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