 +  def ComputeOutput(self, spec):
 +    filename = self.ComputeOutputFileName(spec)
 +
-+    assert 'product_prefix' not in spec
 +    if 'product_name' in spec:
 +      print 'XXX ignoring product_name', spec['product_name']
 +    assert 'product_extension' not in spec

+# Build directory.
+b = ninja
+
+cc = ccache gcc
+cxx = ccache g++
+
+rule cc
+  depfile = $out.d

+
+""" % {
+  'cwd': os.getcwd(),
+  'cc': os.environ.get('CC', 'gcc'),
+  'cxx': os.environ.get('CXX', 'g++'),
+}
+
+def QuoteShellArgument(arg):
