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

Unified Diff: build/android/gyp/create_test_runner_script.py

Issue 1680233002: Android Add _incremental targets for instrumentation tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing dep Created 4 years, 10 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/gyp/write_build_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/create_test_runner_script.py
diff --git a/build/android/gyp/create_test_runner_script.py b/build/android/gyp/create_test_runner_script.py
index d04e9eb2028223be77c6c603459863af80a8ae5a..413ea5ac1101e8e08f3aed594f6724f609675f9e 100755
--- a/build/android/gyp/create_test_runner_script.py
+++ b/build/android/gyp/create_test_runner_script.py
@@ -58,9 +58,11 @@ def main(args):
dest='additional_apks', default=[])
group.add_argument('--additional-apk-list')
group.add_argument('--apk-under-test')
+ group.add_argument('--apk-under-test-incremental-install-script')
group.add_argument('--isolate-file-path')
group.add_argument('--output-directory')
group.add_argument('--test-apk')
+ group.add_argument('--test-apk-incremental-install-script')
group.add_argument('--coverage-dir')
args, test_runner_args = parser.parse_known_args(
build_utils.ExpandFileArgs(args))
@@ -84,6 +86,11 @@ def main(args):
if args.apk_under_test:
test_runner_path_args.append(
('--apk-under-test', RelativizePathToScript(args.apk_under_test)))
+ if args.apk_under_test_incremental_install_script:
+ test_runner_path_args.append(
+ ('--apk-under-test-incremental-install-script',
+ RelativizePathToScript(
+ args.apk_under_test_incremental_install_script)))
if args.isolate_file_path:
test_runner_path_args.append(
('--isolate-file-path', RelativizePathToScript(args.isolate_file_path)))
@@ -93,6 +100,10 @@ def main(args):
if args.test_apk:
test_runner_path_args.append(
('--test-apk', RelativizePathToScript(args.test_apk)))
+ if args.test_apk_incremental_install_script:
+ test_runner_path_args.append(
+ ('--test-apk-incremental-install-script',
+ RelativizePathToScript(args.test_apk_incremental_install_script)))
if args.coverage_dir:
test_runner_path_args.append(
('--coverage-dir', RelativizePathToScript(args.coverage_dir)))
« no previous file with comments | « no previous file | build/android/gyp/write_build_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698