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

Unified Diff: build/android/test_runner.py

Issue 2492123002: [android] Stop using isolate.py for data dependency management. (Closed)
Patch Set: add runtime_deps to data Created 4 years, 1 month 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
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index fe9bdbb9b64952ac54c1d0de35649178957afe98..a4c55ab0667f27121b7b18617cfdd10d7afc265a 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -198,12 +198,16 @@ def AddGTestOptions(parser):
dest='shard_timeout', type=int, default=120,
help='Timeout to wait for each test '
'(default: %(default)s).')
+ # TODO(jbudorick): Remove this after ensuring nothing else uses it.
group.add_argument('--isolate_file_path',
'--isolate-file-path',
dest='isolate_file_path',
type=os.path.realpath,
- help='.isolate file path to override the default '
- 'path')
+ help=argparse.SUPPRESS)
+ group.add_argument('--runtime-deps-path',
+ dest='runtime_deps_path',
+ type=os.path.realpath,
+ help='Runtime data dependency file from GN.')
group.add_argument('--app-data-file', action='append', dest='app_data_files',
help='A file path relative to the app data directory '
'that should be saved to the host.')
@@ -362,12 +366,16 @@ def AddInstrumentationTestOptions(parser):
group.add_argument('--device-flags-file', type=os.path.realpath,
help='The relative filepath to a file containing '
'command-line flags to set on the device')
+ # TODO(jbudorick): Remove this after ensuring nothing else uses it.
group.add_argument('--isolate_file_path',
'--isolate-file-path',
dest='isolate_file_path',
type=os.path.realpath,
- help='.isolate file path to override the default '
- 'path')
+ help=argparse.SUPPRESS)
+ group.add_argument('--runtime-deps-path',
+ dest='runtime_deps_path',
+ type=os.path.realpath,
+ help='Runtime data dependency file from GN.')
group.add_argument('--delete-stale-data', dest='delete_stale_data',
action='store_true',
help='Delete stale test data on the device.')

Powered by Google App Engine
This is Rietveld 408576698