 +*.pyc
 diff --git a/pylib/gyp/generator/ninja.py b/pylib/gyp/generator/ninja.py
 new file mode 100644
-index 0000000..23f925b
+index 0000000..41a0730
 --- /dev/null
 +++ b/pylib/gyp/generator/ninja.py
-@@ -0,0 +1,545 @@
+@@ -0,0 +1,534 @@
 +#!/usr/bin/python
 +
 +# Copyright (c) 2010 Google Inc. All rights reserved.

+    self.name = spec['target_name']  # XXX remove bad chars
+
+    if spec['type'] == 'settings':
+      return (None, None)
+
+    # Compute predepends for all rules.
+    prebuild_deps = []

+  return arg
+
+class NinjaWriter:
+  def __init__(self, target_outputs, base_dir, path):
+    self.target_outputs = target_outputs
+    self.base_dir = base_dir
+    self.path = path
+    self.file = open(path, 'w')
