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

Unified Diff: build/android/gn/create_incremental_install_script.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 | « no previous file | build/android/incremental_install.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gn/create_incremental_install_script.py
diff --git a/build/android/gn/create_incremental_install_script.py b/build/android/gn/create_incremental_install_script.py
index f12f9e5dc3d594156a57ccd127efc52b3e4e4f16..dd9e0d6cc77e43d6306f891a8872368ee88c6fc7 100755
--- a/build/android/gn/create_incremental_install_script.py
+++ b/build/android/gn/create_incremental_install_script.py
@@ -54,6 +54,9 @@ def main(args):
parser.add_argument('--script-output-path',
help='Output path for executable script.',
required=True)
+ parser.add_argument('--output-directory',
+ help='Path to the root build directory.',
+ default='.')
parser.add_argument('--apk-path',
help='Path to the .apk to install.',
required=True)
@@ -76,6 +79,7 @@ def main(args):
incremental_install_path = relativize(incremental_install_path)
incremental_install_path_args = [
+ ('--output-directory', relativize(options.output_directory)),
(None, relativize(options.apk_path)),
]
if options.lib_dir:
« no previous file with comments | « no previous file | build/android/incremental_install.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698