 +}
 +
 +NINJA_BASE = """\
-+builddir = $root/ninja
++# Build directory.
++b = ROOT_HACK/ninja
 +
 +cc = ccache gcc
 +cxx = ccache g++

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

+    return self.workpath(*result)
+
+  def up_to_date(self, gyp_file, target=None, **kw):
+    # XXX due to phony rules, we always think we have work to do.
+    #kw['stdout'] = "no work to do\n"
+    return self.build(gyp_file, target, **kw)
+
+
 class TestGypMSVS(TestGypBase):
   """
   Subclass for testing the GYP Visual Studio generator.
@@ -670,6 +709,7 @@
   TestGypGypd,
   TestGypMake,
   TestGypMSVS,
