| Index: pylib/gyp/generator/ninja.py
|
| diff --git a/pylib/gyp/generator/ninja.py b/pylib/gyp/generator/ninja.py
|
| index 79245fdfe30f61121f4570db1613d7f376a7cc88..f1166860070f33dfc84b0b8971320246d3ba5a3d 100644
|
| --- a/pylib/gyp/generator/ninja.py
|
| +++ b/pylib/gyp/generator/ninja.py
|
| @@ -483,7 +483,9 @@ class NinjaWriter:
|
| # Write out a link step, if needed.
|
| output = None
|
| is_empty_bundle = not link_deps and not mac_bundle_depends
|
| - if link_deps or self.target.actions_stamp or actions_depends:
|
| + if spec['type'] == 'none':
|
| + self.ninja.build(spec['target_name'], 'phony')
|
| + elif link_deps or self.target.actions_stamp or actions_depends:
|
| output = self.WriteTarget(spec, config_name, config, link_deps,
|
| self.target.actions_stamp or actions_depends)
|
| if self.is_mac_bundle:
|
|
|