Index: build/android/pylib/forwarder.py |
diff --git a/build/android/pylib/forwarder.py b/build/android/pylib/forwarder.py |
index 460a3dc97ac0fce75559fb73e13b77a1670b076e..137ffe45ade9c849049400ad87e6e558d2aff67c 100644 |
--- a/build/android/pylib/forwarder.py |
+++ b/build/android/pylib/forwarder.py |
@@ -107,6 +107,7 @@ class Forwarder(object): |
def KillHost(build_type): |
logging.info('Killing host_forwarder.') |
host_forwarder_path = _MakeBinaryPath(build_type, 'host_forwarder') |
+ assert os.path.exists(host_forwarder_path), 'Please build forwarder2' |
(exit_code, output) = cmd_helper.GetCmdStatusAndOutput( |
[host_forwarder_path, 'kill-server']) |
if exit_code != 0: |