Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing files from gyp files in Makefile mode uses the undocumented $(obj) variable #485

Open
GoogleCodeExporter opened this issue Sep 10, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

If you write a file with the <| operator and the written data contain data from 
SHARED_INTERMEDIATE_DIR, you get $(obj)/gen in the output with no specification 
what $(obj) might be.

In ninja mode you get PRODUCT_DIR instead which is a predefined variable in gyp 
and can be inspected.

I think $(obj) and PRODUCT_DIR are the same but obj is not documented.

I suspect the format is aimed to suit ninja vs gyp but in bug 424192 I need to 
parse those output files myself.

Originally reported as 
https://code.google.com/p/chromium/issues/detail?id=472602 in the chromium 
issue tracker.

Original issue reported on code.google.com by brat...@opera.com on 14 Apr 2015 at 1:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant