Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: pylib/gyp/ninja_syntax.py

Issue 9460049: Next level of changes to get more of Chrome building (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: wip Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pylib/gyp/msvs_emulation.py ('k') | pylib/gyp/win_tool.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pylib/gyp/ninja_syntax.py
diff --git a/pylib/gyp/ninja_syntax.py b/pylib/gyp/ninja_syntax.py
index 27e1908761e4bbf68db19ab6167ed547d0c906f4..b5742480d01dfcd666023a5f895cffd73e712ad6 100644
--- a/pylib/gyp/ninja_syntax.py
+++ b/pylib/gyp/ninja_syntax.py
@@ -35,7 +35,8 @@ class Writer(object):
self._line('%s = %s' % (key, value), indent)
def rule(self, name, command, description=None, depfile=None,
- generator=False, restat=False, deplist=None):
+ generator=False, restat=False, deplist=None, rspfile=None,
+ rspfile_content=None, depdb=None):
self._line('rule %s' % name)
self.variable('command', command, indent=1)
if description:
@@ -44,10 +45,16 @@ class Writer(object):
self.variable('depfile', depfile, indent=1)
if deplist:
self.variable('deplist', deplist, indent=1)
+ if depdb:
+ self.variable('depdb', depdb, indent=1)
if generator:
self.variable('generator', '1', indent=1)
if restat:
self.variable('restat', '1', indent=1)
+ if rspfile:
+ self.variable('rspfile', rspfile, indent=1)
+ if rspfile_content:
+ self.variable('rspfile_content', rspfile_content, indent=1)
def build(self, outputs, rule, inputs=None, implicit=None, order_only=None,
variables=None):
« no previous file with comments | « pylib/gyp/msvs_emulation.py ('k') | pylib/gyp/win_tool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698