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

+
+  subninjas = set()
+  target_outputs = {}
+  target_links = {}
+  for qualified_target in target_list:
+    # qualified_target is like: third_party/icu/icu.gyp:icui18n#target
+    #OverPrint(qualified_target)

+    # able to run actions and build libraries by their short name.
+    self.WriteEdge([self.name], 'phony', [output], use_prebuild_stamp=False)
+
+    return output
+
+  def ComputeOutputFileName(self, spec):
+    target = spec['target_name']
