What steps will reproduce the problem?
1. create a gypi file fileA setting a variable named "a" to "a" in a variables
dict
2. create a gypi file fileB setting value variable "a" to "b"
3. in fileB import fileA
4 running gyp with -IfileB one would expect the variable "a" to resolve to the
value "b" but it does not. It is the value "a"
What is the expected output? What do you see instead?
One would expect that the included is parsed first, then the including is
parsed, thereby becoming the last writer.
In LoadOneBuildFile
https://code.google.com/p/gyp/source/browse/trunk/pylib/gyp/input.py#233
Upon cursory inspection, it appears that the opposite is the case, the file is
parsed, then the includes are merged on top.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by rabs...@google.com on 8 Jan 2014 at 6:25
Original issue reported on code.google.com by
rabs...@google.com
on 8 Jan 2014 at 6:25