-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Looking for help on android #515
Comments
Near as I can tell there is literally no way to pass "-f android" in via a call to node-gyp. Only single words can be passed through. Anything else (like "-f android") will be marked as a command line argument by nopt and will therefore be turned into a python environment variable and so won't be used in the eventual call to Configure. So how is someone supposed to call node-gyp but specify that Android bindings are to be used? |
Anyone? |
O.k. so I did finally figure out that the android.py file comes from gyp and not node-gyp which is probably why nobody around here has been very helpful in understanding it. Sigh. |
@yaronyg Can you please close this issue if this is not an issue any more? |
I left this work behind a long time ago. |
👍 |
I'm building node.js for android (http://www.goland.org/nodejsonandroid/) but now I need to use NPM with node-gyp but I want to cross-compile for Android. Looking around the node-gyp code base the make files seem to want to support this. But I haven't even managed yet to figure out how to force '-f android' during Configure. I actually did this manually on the command line and it caused an 'undefined variable os_include' error down in snappy. Rather than trying to reverse engineer node-gyp's support of Android is there a 'hello world' anywhere that shows how to use node-gyp to compile on Linux a package that is targeted at Android? What parameters to pass in? What environment variables are needed? Etc.
Thanks!
The text was updated successfully, but these errors were encountered: