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

Remove dep on android ndk. #1305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jin
Copy link
Collaborator

@jin jin commented Jan 2, 2025

We're not using any NDK utility in RJE, and we shouldn't be in the business of doing so. The only android dep is aar_import, so it should be clear to drop our dependency on the NDK.

Also remove the aar_import-based test for override_targets: we already have sufficient coverage using the opentelemetry/java_library test case in the same tests/integration/override_targets/BUILD file.

The SDK is still needed for //tests/unit/aar_import targets.

@jin jin mentioned this pull request Jan 2, 2025
@jin jin marked this pull request as ready for review January 2, 2025 13:29
@jin jin requested review from shs96c and cheister as code owners January 2, 2025 13:29
@jin
Copy link
Collaborator Author

jin commented Jan 2, 2025

cc @ahumesky

@utzcoz
Copy link
Contributor

utzcoz commented Jan 2, 2025

@jin I have a special question: what if one aar contains so files and header files that bundled by prefab(https://google.github.io/prefab/)(my first thought is that it's not the RJE's responsibility)? Looks like RJE only resolves class files of one dependency for Android?

Copy link
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though I'm a little surprised that this means we remove the test in override_targets

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

Successfully merging this pull request may close these issues.

3 participants