You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
android: NDK cc toolchain resolves on Windows hosts (part of #10990) #12700
bcr_test_module//:android_device_cc (presubmit task build_android_toolchain, matrix includes windows) fails on windows_x86_64 hosts:
ERROR: .../quickstart_bcr/BUILD.bazel:12:22: While resolving toolchains for target //:android_device_cc: No matching toolchains found for types:
@@bazel_tools//tools/cpp:toolchain_type
Evidence run 43554771413 (//deploy/private/release/tests:release_consumer_smoke_test).
docs/languages/android.md lists Windows x86_64 and arm64, but the NDK is pinned for linux_x86_64 only:
android/private/sdk/repos.bzl: NDK_ARTIFACTS and NDK_PREBUILT (toolchains/llvm/prebuilt/linux-x86_64) hold linux_x86_64 only.
android/private/toolchain/repos.bzl: _QUALIFIED_HOST = "linux_x86_64"; ndk_cc_toolchain_* has exec_compatible_with linux/x86_64.
Done when
NDK_ARTIFACTS pins android-ndk-r27-windows.zip (sha256) and the NDK repo exposes .exe tools from toolchains/llvm/prebuilt/windows-x86_64.
The toolchain repo declares one ndk_cc_toolchain_{device,emulator} per pinned exec host.
windows_x86_64 evidence for //deploy/private/release/tests:release_consumer_smoke_test passes bcr_test_module_runs_its_presubmit_targets.
The same gap on macos_arm64 and linux_arm64 hosts is tracked or fixed.
PR #12708 pins NDK r27 for windows_x86_64 and macos (arm64/x86_64, universal darwin zip) and declares ndk_cc_toolchain_{device,emulator}_<host> per exec host (registrations now @android_ndk_toolchain//:all).
Evidence for PR #12708 (head 3ff5360): run 43560231437 green on windows_x86_64 and macos_arm64 (NDK scope: //android/tests:toolchain_metadata, :sdk_metadata, :platforms_tests, //android/tests/fixtures/native_lib:ndk_link_runtime_libs_test, :native_lib_device, //tools/testing:toolchain_gate_test). Earlier runs 43558858949 and 43558850152 failed on issues outside this change (app SDK hub linux-only, MSVC CRT mismatch in native_lib_link, rules_flutter key). linux_arm64 stays unpinned: Google ships no r27 linux-aarch64 NDK.
Activity
TrapsterDK commentedon Nov 14, 2026
PR #12708 pins NDK r27 for windows_x86_64 and macos (arm64/x86_64, universal darwin zip) and declares
ndk_cc_toolchain_{device,emulator}_<host>per exec host (registrations now@android_ndk_toolchain//:all).Remaining:
release_consumer_smoke_test), 43558858949 (windows_x86_64 + macos_arm64//android/...).tools/dx check --affectednot completed locally (Bazel OOM under memory pressure).android: ndk_link_runtime_libs_test checks each exec host's NDK runti…
TrapsterDK commentedon Nov 14, 2026
Evidence for PR #12708 (head 3ff5360): run 43560231437 green on windows_x86_64 and macos_arm64 (NDK scope: //android/tests:toolchain_metadata, :sdk_metadata, :platforms_tests, //android/tests/fixtures/native_lib:ndk_link_runtime_libs_test, :native_lib_device, //tools/testing:toolchain_gate_test). Earlier runs 43558858949 and 43558850152 failed on issues outside this change (app SDK hub linux-only, MSVC CRT mismatch in native_lib_link, rules_flutter key). linux_arm64 stays unpinned: Google ships no r27 linux-aarch64 NDK.
android: pin NDK r27 for windows_x86_64 and macos exec hosts (part of #…
android: ndk_link_runtime_libs_test checks each exec host's NDK runti…
android: one-line docstring for toolchain_build (part of #12700)
android: pin NDK r27 for windows_x86_64 and macos exec hosts (part of #…