-
Notifications
You must be signed in to change notification settings - Fork 279
[BUG?]: symbol visibility for different api levels. #2132
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
Comments
I did not check all api levels, most likely there are more problems like this. |
Also |
I'm not really the person that can answer any of these questions. Only the API authors can say whether these are mistakes or intentional. Not all native APIs are for the NDK. I've started asking around.
No, because there's no way for the test to know what's supposed to be API and what isn't. "The list of APIs covered by CTS" is supposed to be the answer, but for older APIs where we were less strict about requiring all NDK APIs to be covered by CTS, sometimes tests were skipped and then these problems happen. |
There are some comments in the headers which group some APIs as VNDK only, and some of the commit messages also give some insight. It'll take a while to pick them all apart, but there's definitely at least one thing to fix here. |
At least you can
I’m not sure if it’s worth the trouble, but at least it will let us avoid weird linking issues and behavior that contradicts the documentation. |
Uh oh!
There was an error while loading. Please reload this page.
Description
AConfiguration_setScreenRound
does not appear innm -D toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/28/libandroid.so
but not marked with__INTRODUCED_IN
.ANativeWindow_getBuffersDataSpace
,ANativeWindow_setBuffersDataSpace
andANativeWindow_setBuffersTransform
have opposite problem. They appear with__INTRODUCED_IN(28)
in header but do not appear innm -D .../28/libandroid.so
.Not sure if it is a bug or a documentation problem but probably it should be fixed.
I am using a supported NDK
Affected versions
r27
The text was updated successfully, but these errors were encountered: