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

Unified Diff: build/android/buildbot/bb_device_status_check.py

Issue 204353007: [Android] Extract device blacklisting into its own module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
Index: build/android/buildbot/bb_device_status_check.py
diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py
index f0579624a89ede372d94e8607f1b02dfe68f9446..0291e8de1bdaab34851efe7aa9996faf9efd4d34 100755
--- a/build/android/buildbot/bb_device_status_check.py
+++ b/build/android/buildbot/bb_device_status_check.py
@@ -29,7 +29,7 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from pylib import android_commands
from pylib import constants
from pylib.cmd_helper import GetCmdOutput
-
+from pylib.device import device_blacklist
def DeviceInfo(serial, options):
"""Gathers info on a device via various adb calls.
@@ -293,8 +293,8 @@ def main():
if args:
parser.error('Unknown options %s' % args)
- # Remove the last builds "bad devices" before checking device statuses.
- android_commands.ResetBadDevices()
+ # Remove the last build's "bad devices" before checking device statuses.
+ device_blacklist.ResetBlacklist()
if options.restart_usb:
expected_devices = GetLastDevices(os.path.abspath(options.out_dir))
« no previous file with comments | « no previous file | build/android/pylib/android_commands.py » ('j') | build/android/pylib/device/device_blacklist.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698