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

Unified Diff: build/android/pylib/remote/device/remote_device_environment.py

Issue 803643002: Remove hardcoding of appurify address information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/remote/device/remote_device_environment.py
diff --git a/build/android/pylib/remote/device/remote_device_environment.py b/build/android/pylib/remote/device/remote_device_environment.py
index b5df0515d26323a61399344b95bf018cfc3f4f7d..871c0a83a43699e4bd21924978b0c0e2250dd39d 100644
--- a/build/android/pylib/remote/device/remote_device_environment.py
+++ b/build/android/pylib/remote/device/remote_device_environment.py
@@ -46,9 +46,18 @@ class RemoteDeviceEnvironment(environment.Environment):
else:
error_func('Must set api secret with --api-secret or --api-secret-file')
+ if not args.api_protocol:
+ error_func('Must set api protocol with --api-protocol. Example: http')
self._api_protocol = args.api_protocol
+
+ if not args.api_address:
+ error_func('Must set api address with --api-address')
self._api_address = args.api_address
+
+ if not args.api_port:
+ error_func('Must set api port with --api-port.')
self._api_port = args.api_port
+
self._access_token = ''
self._results_path = args.results_path
self._remote_device = args.remote_device
« no previous file with comments | « no previous file | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698