 +NINJA_BASE = """\
 +builddir = $root/ninja
 +
-+cc = gcc
-+cxx = g++
++cc = ccache gcc
++cxx = ccache g++
 +
 +rule cc
 +  depfile = $out.d

+
+rule copy
+  description = COPY $out
+  command = ln $in $out
+
+""" % {
+  'cwd': os.getcwd(),

+  if '"' in arg or ' ' in arg:
+    return QuoteShellArgument(arg)
+  return arg
+
+class NinjaWriter:
+  def __init__(self, linkable_outputs, order_only_outputs, base_dir, path):
