 ===================================================================
 --- test/lib/TestGyp.py	(revision 851)
 +++ test/lib/TestGyp.py	(working copy)
-@@ -391,6 +391,43 @@
+@@ -391,6 +391,44 @@
      return self.workpath(*result)
  
  

+      return spec.get('product_name', target)
+    else:
+      raise 'Unhandled output type', spec['type']
+
+  def WriteRule(self, name, command):
+    self.WriteLn('rule %s' % name)

+  description = PHONY $out
+  command = touch $out
+
+""" % {
+  'cwd': os.getcwd(),
+}
+
+class NinjaWriter:
+  def __init__(self, linkable_outputs, order_only_outputs, base_dir, path):
