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

Unified Diff: build/android/incremental_install.py

Issue 1337953002: Make generated bin/install_incremental_* script remember its own CHROMIUM_OUTPUT_DIR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete os.environ() line that was already supposed to be deleted. Created 5 years, 3 months 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 | « build/android/gn/create_incremental_install_script.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « build/android/gn/create_incremental_install_script.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698