| Index: build/android/pylib/buildbot_report.py
|
| diff --git a/build/android/pylib/buildbot_report.py b/build/android/pylib/buildbot_report.py
|
| index fe3fcd638eaf328d9290ad72454eb4a4cbe55667..8e7db8d9c97e55ab0b7ce8744fd69cf4bb5d5e7b 100644
|
| --- a/build/android/pylib/buildbot_report.py
|
| +++ b/build/android/pylib/buildbot_report.py
|
| @@ -44,3 +44,11 @@ def PrintWarning():
|
|
|
| def PrintNamedStep(step):
|
| print '@@@BUILD_STEP %s@@@' % step
|
| +
|
| +
|
| +def PrintStepResultIfNeeded(options, result):
|
| + if result:
|
| + if options.buildbot_step_failure:
|
| + PrintError()
|
| + else:
|
| + PrintWarning()
|
|
|