-
Notifications
You must be signed in to change notification settings - Fork 72
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
Added NDK Unified headers support https://android.googlesource.com/pl… #10
base: master
Are you sure you want to change the base?
Conversation
Seem like we also need to change
And:
How we can change sysroot only at compile time?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix build error
Script is successfully run on my machine with MacOS X Sierra, Android NDK r16b, all architectures.
It requires either switching to clang or discarding 16 API level support. I would prefer the first variant, do you mind? |
It's quite tricky and, i think, it doesn't make sense at all. Adding -isystem flag with sysroot/include path is absolutely sufficient.
May be you mean downgrade? |
+1 It's cool if we migrate to Clang and NDK r16. |
The script doesn't work with modern NDK version. My commit fixes it.
See https://android.googlesource.com/platform/ndk/+/ndk-release-r16/docs/UnifiedHeaders.md