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

Unified Diff: build/android/host_heartbeat.py

Issue 1571803002: [Android] Prepare build/android/ for catapult+devil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@create-device-library-links
Patch Set: rebase Created 4 years, 11 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/gyp/util/build_utils.py ('k') | build/android/incremental_install/create_install_script.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/host_heartbeat.py
diff --git a/build/android/host_heartbeat.py b/build/android/host_heartbeat.py
index ced24b2bb9e0863e0c8e9c60967a13e004534133..89905928ec8b270c2ccf45799dd6c6069ca61e57 100755
--- a/build/android/host_heartbeat.py
+++ b/build/android/host_heartbeat.py
@@ -12,11 +12,14 @@ This heart beat lets the devices know that they are connected to a host.
import sys
import time
+import devil_chromium
from devil.android import device_utils
PULSE_PERIOD = 20
def main():
+ devil_chromium.Initialize()
+
while True:
try:
devices = device_utils.DeviceUtils.HealthyDevices(blacklist=None)
« no previous file with comments | « build/android/gyp/util/build_utils.py ('k') | build/android/incremental_install/create_install_script.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698