Add --target-dir argument to deploy_chrome.

This allows specifying custom directory on device to deploy chrome into.

BUG=none
TEST=Manual deployment to a custom target dir, deploy_chrome_unittest.

Change-Id: I5bb374e188c18d5780a055052e721d7ef8f13a84
Reviewed-on: https://gerrit.chromium.org/gerrit/44561
Reviewed-by: David James <davidjames@chromium.org>
Reviewed-by: Ryan Cui <rcui@chromium.org>
Tested-by: Pawel Osciak <posciak@chromium.org>
Commit-Queue: Pawel Osciak <posciak@chromium.org>
diff --git a/scripts/deploy_chrome_unittest.py b/scripts/deploy_chrome_unittest.py
index 9591f49..7ec57ba 100755
--- a/scripts/deploy_chrome_unittest.py
+++ b/scripts/deploy_chrome_unittest.py
@@ -94,7 +94,8 @@
     self.rsh_mock = remote_access_unittest.RemoteShMock()
     self.rsh_mock.SetDefaultCmdResult(0)
     self.MockMountCmd(1)
-    self.rsh_mock.AddCmdResult(deploy_chrome.LSOF_COMMAND, 1)
+    self.rsh_mock.AddCmdResult(
+        deploy_chrome.LSOF_COMMAND % (deploy_chrome._CHROME_DIR,), 1)
 
   def MockMountCmd(self, returnvalue):
     self.rsh_mock.AddCmdResult(deploy_chrome.MOUNT_RW_COMMAND,