Added NDK Unified headers support https://android.googlesource.com/pl…#10
Added NDK Unified headers support https://android.googlesource.com/pl…#10ivanarh wants to merge 1 commit intoKhang-NT:masterfrom
Conversation
|
Seem like we also need to change
And:
How we can change sysroot only at compile time?
|
|
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