Skip to content

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

* master: (39 commits)
  Fix resolution of Android/AAR artifacts with Gradle resolver (bazel-contrib#1395)
  fail_if_repin_required is now True by default and minor improvement to failure message (bazel-contrib#1397)
  Housekeeping before we release 6.8 (bazel-contrib#1384)
  Add dll, dylib and so types to maven package mappings (bazel-contrib#1392)
  [bzlmod] Allow suppressing warning about multiple contributing modules. (bazel-contrib#1393)
  Use the artifact default values when adding them to a struct and add tests for coursier artifacts that have empty versions provided by BOMs and don't inlcude them in outdated (bazel-contrib#1390)
  Allow package exclusions and inclusions in javadocs (bazel-contrib#1293)
  Document well-known issues with `bzlmod` (bazel-contrib#1388)
  Begin documenting the gradle resolver (bazel-contrib#1389)
  Run gradle regression tests in CI (bazel-contrib#1385)
  Modify maven_export to allow exporting zip archives (bazel-contrib#1368)
  Allow root module's override tags to take precedence over the overridees from transitive deps. (bazel-contrib#1381)
  Ensure root module artifacts and boms take precedence with warnings (bazel-contrib#1373)
  Update maven-metadata.xml when publishing locally (bazel-contrib#1369)
  Add support for gradle resolver (bazel-contrib#1357)
  Prepare for 6.8 release (bazel-contrib#1380)
  Remove the Windows `kt_jvm_export` example (bazel-contrib#1383)
  Avoid spurious warnings about poorly formatted artifact coordinates (bazel-contrib#1374)
  Flip `fail_if_repin_required` to `True` by default (bazel-contrib#1371)
  Allow the same coordinate to be overridden in different repos (bazel-contrib#1378)
  ...
@shs96c shs96c merged commit 65e8d38 into bazel-contrib:master Jul 4, 2025
6 checks passed
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