Chromium Code Reviews| Index: pylib/gyp/ninja_syntax.py |
| =================================================================== |
| --- pylib/gyp/ninja_syntax.py (revision 1200) |
| +++ pylib/gyp/ninja_syntax.py (working copy) |
| @@ -35,13 +35,15 @@ |
| self._line('%s = %s' % (key, value), indent) |
| def rule(self, name, command, description=None, depfile=None, |
| - generator=False, restat=False): |
| + generator=False, restat=False, deplist=None): |
| self._line('rule %s' % name) |
| self.variable('command', command, indent=1) |
| if description: |
| self.variable('description', description, indent=1) |
| if depfile: |
| self.variable('depfile', depfile, indent=1) |
| + if deplist: |
| + self.variable('deplist', deplist, indent=1) |
|
Evan Martin
2012/02/15 19:53:05
Hm, in theory this file shouldn't diverge from ups
|
| if generator: |
| self.variable('generator', '1', indent=1) |
| if restat: |