Open GoogleCodeExporter opened 9 years ago
I found a workaround: change generator_default_variables to produce anything
that won't be interpreted
as a variable that needs to be expanded:
--- pylib/gyp/generator/gypd.py (revision 805)
+++ pylib/gyp/generator/gypd.py (working copy)
@@ -66,6 +66,7 @@
# phase. Bonus points for carrying @ back into the output too.
for v in _generator_identity_variables:
generator_default_variables[v] = '<(%s)' % v
+ generator_default_variables[v] = '__%s__' % v
Original comment by mseaborn@chromium.org
on 1 Apr 2010 at 4:37
The proposed workaround has the downside that the .gypd file won't have those
variable expansions and thus you can't use the .gypd as an input file with a
different generator later. I propose this alternative patch that detect these
simple infinite recursions.
https://codereview.chromium.org/417113009/
Original comment by de...@chromium.org
on 25 Jul 2014 at 8:56
Original issue reported on code.google.com by
mseaborn@chromium.org
on 24 Feb 2010 at 12:28