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

Unified Diff: tools/telemetry/telemetry/core/backends/adb_commands.py

Issue 294663015: [Telemetry] Make Android work with a mac host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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: tools/telemetry/telemetry/core/backends/adb_commands.py
diff --git a/tools/telemetry/telemetry/core/backends/adb_commands.py b/tools/telemetry/telemetry/core/backends/adb_commands.py
index bc33dd8efffd531f464fc465c680a42a3e2998c8..c14f3ce7585779a5c8492cda006857d32f4f2824 100644
--- a/tools/telemetry/telemetry/core/backends/adb_commands.py
+++ b/tools/telemetry/telemetry/core/backends/adb_commands.py
@@ -118,10 +118,12 @@ def SetupPrebuiltTools(adb):
host_tools = [
'bitmaptools',
- 'host_forwarder',
'md5sum_bin_host',
]
+ if platform.GetHostPlatform().GetOSName() == 'linux':
+ host_tools.append('host_forwarder')
+
has_device_prebuilt = adb.system_properties['ro.product.cpu.abi'].startswith(
'armeabi')
if not has_device_prebuilt:

Powered by Google App Engine
This is Rietveld 408576698