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

Unified Diff: build/android/pylib/device/device_utils.py

Issue 1291793007: GN(android): Add scripts & runtime logic for installing _managed apks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-managed-install
Patch Set: fix compile Created 5 years, 4 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/incremental_install.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/device/device_utils.py
diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py
index 593432f899dde9de0d6d887074f575b3e8f537e5..7b13c0b671c840341702eea5b4c259edf1c6f3f3 100644
--- a/build/android/pylib/device/device_utils.py
+++ b/build/android/pylib/device/device_utils.py
@@ -1910,7 +1910,7 @@ class DeviceUtils(object):
return parallelizer.SyncParallelizer(devices)
@classmethod
- def HealthyDevices(cls, blacklist=None):
+ def HealthyDevices(cls, blacklist=None, **kwargs):
if not blacklist:
# TODO(jbudorick): Remove once clients pass in the blacklist.
blacklist = device_blacklist.Blacklist(device_blacklist.BLACKLIST_JSON)
@@ -1922,7 +1922,7 @@ class DeviceUtils(object):
return True
return False
- return [cls(adb) for adb in adb_wrapper.AdbWrapper.Devices()
+ return [cls(adb, **kwargs) for adb in adb_wrapper.AdbWrapper.Devices()
if not blacklisted(adb)]
@decorators.WithTimeoutAndRetriesFromInstance()
« no previous file with comments | « build/android/incremental_install.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698