Index: pylib/gyp/generator/ninja.py |
diff --git a/pylib/gyp/generator/ninja.py b/pylib/gyp/generator/ninja.py |
index 79245fdfe30f61121f4570db1613d7f376a7cc88..4c17c570c802d31d713e81e6b592b566ff6044fc 100644 |
--- a/pylib/gyp/generator/ninja.py |
+++ b/pylib/gyp/generator/ninja.py |
@@ -2125,6 +2125,8 @@ def GenerateOutputForConfig(target_list, target_dicts, data, params, |
target_outputs[qualified_target] = target |
if qualified_target in all_targets: |
all_outputs.add(target.FinalOutput()) |
+ else: |
+ target_short_names.setdefault(name, []) |
if target_short_names: |
# Write a short name to build this target. This benefits both the |