win: Use stamp tool that's 6x as fast and that uses 25% as much ram per stamp.

Bug: 787903
Change-Id: Ia29658bf8a04ffe6ae8e32530726e217781bb3d1
Reviewed-on: https://chromium-review.googlesource.com/1031317
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#554244}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e99409faacc8b42cc3130cc3f1c3006afac4484b
diff --git a/toolchain.gni b/toolchain.gni
index 6ede004..cb0b9b0 100644
--- a/toolchain.gni
+++ b/toolchain.gni
@@ -104,7 +104,7 @@
   _tool_wrapper_path =
       rebase_path("//build/toolchain/win/tool_wrapper.py", root_build_dir)
 
-  stamp_command = "$python_path $_tool_wrapper_path stamp {{output}}"
+  stamp_command = "cmd /c type nul > \"{{output}}\""
   copy_command =
       "$python_path $_tool_wrapper_path recursive-mirror {{source}} {{output}}"
 } else {
diff --git a/win/tool_wrapper.py b/win/tool_wrapper.py
index 2d46882..b2cb093 100644
--- a/win/tool_wrapper.py
+++ b/win/tool_wrapper.py
@@ -99,10 +99,6 @@
     kvs = [item.split('=', 1) for item in pairs]
     return dict(kvs)
 
-  def ExecStamp(self, path):
-    """Simple stamp command."""
-    open(path, 'w').close()
-
   def ExecDeleteFile(self, path):
     """Simple file delete command."""
     if os.path.exists(path):