Index: build/android/incremental_install/installer.py |
diff --git a/build/android/incremental_install/installer.py b/build/android/incremental_install/installer.py |
index b5b1d050e5510261198775f8e5fe52a2a743bff4..2f60a9af7b98aa242a18b53b975172966af6dd28 100755 |
--- a/build/android/incremental_install/installer.py |
+++ b/build/android/incremental_install/installer.py |
@@ -262,6 +262,8 @@ def main(): |
action='store_true', |
default=False, |
help='Print a warning about proguard being disabled') |
+ parser.add_argument('--dont-even-try', |
+ help='Prints this message and exits.') |
parser.add_argument('-v', |
'--verbose', |
dest='verbose_count', |
@@ -278,6 +280,10 @@ def main(): |
devil_chromium.Initialize(output_directory=constants.GetOutDirectory()) |
+ if args.dont_even_try: |
+ logging.fatal(args.dont_even_try) |
+ return 1 |
+ |
if args.device: |
# Retries are annoying when commands fail for legitimate reasons. Might want |
# to enable them if this is ever used on bots though. |