Index: build/android/adb_install_apk.py |
diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py |
index e392a39fbfa8eec307bbc3ab9ad0ba5ac36b7dc9..011509bb38eb6cb6848d1db4ce69cfd5fc932a83 100755 |
--- a/build/android/adb_install_apk.py |
+++ b/build/android/adb_install_apk.py |
@@ -83,12 +83,9 @@ def main(): |
and helper.GetSplitName()): |
splits.append(f) |
- if args.blacklist_file: |
- blacklist = device_blacklist.Blacklist(args.blacklist_file) |
- else: |
- # TODO(jbudorick): Remove this once the bots are converted. |
- blacklist = device_blacklist.Blacklist(device_blacklist.BLACKLIST_JSON) |
- |
+ blacklist = (device_blacklist.Blacklist(args.blacklist_file) |
+ if args.blacklist_file |
+ else None) |
devices = device_utils.DeviceUtils.HealthyDevices(blacklist) |
if args.device: |