Skip to content

android: android_library fixtures and androidsdk_build_test on every SDK host (part of #14262) - #14355

Merged
TrapsterDK merged 2 commits into
mainfrom
android-sdk-hosts-14262
Nov 21, 2026
Merged

TrapsterDK merged 2 commits into
mainfrom
android-sdk-hosts-14262

Conversation

@TrapsterDK

@TrapsterDK TrapsterDK commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #14262.

  • android/private/library/defs.bzl: _SDK_COMPATIBLE_WITH is now public SDK_COMPATIBLE_WITH.
  • android/tests/fixtures/android_library/BUILD.bazel: drop the linux_x86_64 limit on java_screen and kotlin_screen (the macros already add the SDK host rule, which skips linux_arm64 as unsupported).
  • android/tests/BUILD.bazel: androidsdk_build_test uses SDK_COMPATIBLE_WITH and builds @dx_androidsdk//:aapt2.
  • .github/workflows/evidence.yml: scope hint names the Android SDK targets proven on every host but linux_arm64.

Local (linux_x86_64)

  • tools/dx test //android/tests/... //core/quality/testdata:upstream_android_ownership_presence: 90 passed, 6 skipped (conformance), 0 failed.
  • tools/dx check --apply --affected: no findings in touched files; failures are in untouched examples/shared-rust and intentional conformance dirty fixtures.
  • Nested-Bazel / consumer tests not run locally.

Evidence

Run 44870326636 (task=test, scope //android/tests/... //core/quality/testdata:upstream_android_ownership_presence):

  • macos_arm64: pass.
  • windows_x86_64: androidsdk_build_test, android_libraries_build, java_screen_providers_test, kotlin_screen_providers_test, upstream_android_ownership_presence PASSED. The job is red only on untouched fixtures: native_lib:native_lib_link/api34_link (analysis), adopt_android/native:summary_test_upstream (clang-cl link), and the rust_apk / testonly_apk / consumer_android desugar step (Worker process returned an unparseable WorkResponse!).
  • linux_x86_64 CI red only on //tools/ci:workflow_pins_test (reusable-release.yml vs starter_pin.sha256), already red on main since deploy: attach the published .crate to the GitHub release (closes #7434) #14337.

Remaining for #14262

  • Evidence on windows_arm64 (x64 aapt2.exe under emulation) and linux_arm64 (changed targets must show SKIPPED).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzWDHEg9zNhhTJrJ7t

TrapsterDK and others added 2 commits November 21, 2026 06:44
…SDK host (part of #14262)

Drop the linux_x86_64 limit from java_screen and kotlin_screen; the
android_*_library macros already add the SDK host rule. Export it as
SDK_COMPATIBLE_WITH and reuse it for androidsdk_build_test, which now
builds the host-neutral @dx_androidsdk//:aapt2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hzWDHEg9zNhhTJrJ7t
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.

1 participant