gyp debugging help?
Posted: Fri Nov 13, 2020 3:41 am
I'm trying to fiddle with some gyp options (finding that prebuilts are way out of date got me started on this) and since I'm a newbie dealing with gyp structures, I could use some help debugging.
In particular, I'm getting 'gyp: Undefined variable _platform_include_dirs in thirdparty/libffi/libffi.gyp', and while I see the section that defines this for various combinations of host/target OS and ARCH variables, I'm not sure where my problem is. This running locally on a linux host armv7l cpu.
Is there some way to display the current values? I get that 'undefined variable' means that I've fallen through the cracks of the available options, and I could insert a new JSON identifier if I knew what was wrong, but I don't know how to get that information.
In particular, I'm getting 'gyp: Undefined variable _platform_include_dirs in thirdparty/libffi/libffi.gyp', and while I see the section that defines this for various combinations of host/target OS and ARCH variables, I'm not sure where my problem is. This running locally on a linux host armv7l cpu.
Is there some way to display the current values? I get that 'undefined variable' means that I've fallen through the cracks of the available options, and I could insert a new JSON identifier if I knew what was wrong, but I don't know how to get that information.