Index: build/android/incremental_install.py |
diff --git a/build/android/incremental_install.py b/build/android/incremental_install.py |
index d1581b513ace87f97c00163b010d3846baf92d46..d88a04d6d7680bcc2419e631af7a71d2608c2c69 100755 |
--- a/build/android/incremental_install.py |
+++ b/build/android/incremental_install.py |
@@ -39,6 +39,8 @@ def main(): |
action='store_true', |
default=False, |
help='Remove the app and all side-loaded files.') |
+ parser.add_argument('--output-directory', |
+ help='Path to the root build directory.') |
parser.add_argument('--no-threading', |
action='store_true', |
default=False, |
@@ -55,6 +57,8 @@ def main(): |
logging.basicConfig(format='%(asctime)s (%(thread)d) %(message)s') |
run_tests_helper.SetLogLevel(args.verbose_count) |
constants.SetBuildType('Debug') |
+ if args.output_directory: |
+ constants.SetOutputDirectory(args.output_directory) |
if args.device: |
# Retries are annoying when commands fail for legitimate reasons. Might want |