Commit bbbc31f5 authored by dgn's avatar dgn Committed by Commit bot

[Android Log] Move Presubmit checks to upload time only

They are intended to be FYI checks. If they are ignored at upload
time, submitting should still work.

BUG=

Review URL: https://codereview.chromium.org/1147103002

Cr-Commit-Position: refs/heads/master@{#330922}
parent 69a7e01b
......@@ -1497,7 +1497,6 @@ def _CommonChecks(input_api, output_api):
results.extend(_CheckForCopyrightedCode(input_api, output_api))
results.extend(_CheckForWindowsLineEndings(input_api, output_api))
results.extend(_CheckSingletonInHeaders(input_api, output_api))
results.extend(_CheckNoNewUtilLogUsage(input_api, output_api))
if any('PRESUBMIT.py' == f.LocalPath() for f in input_api.AffectedFiles()):
results.extend(input_api.canned_checks.RunUnitTestsInDirectory(
......@@ -1725,6 +1724,7 @@ def CheckChangeOnUpload(input_api, output_api):
results.extend(
input_api.canned_checks.CheckGNFormatted(input_api, output_api))
results.extend(_CheckUmaHistogramChanges(input_api, output_api))
results.extend(_CheckNoNewUtilLogUsage(input_api, output_api))
return results
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment