From 585c87904ab9b1887ad144e6f6b6e720be2dc1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Fri, 5 Jan 2024 20:06:41 -0800 Subject: [PATCH] Fix BUILD.bazel for newer rules_android_ndk (#15298) When using transitions, and `rules_android_ndk` the constraint needs to be changed to `@platforms`. Closes #15298 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15298 from gferon:fix-android-constraint d15c794da30a72bc8ac7900c1bd38d4ca31135b4 PiperOrigin-RevId: 596140608 --- build_defs/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_defs/BUILD.bazel b/build_defs/BUILD.bazel index ea8fa18e94..1c2ed237d9 100644 --- a/build_defs/BUILD.bazel +++ b/build_defs/BUILD.bazel @@ -38,7 +38,7 @@ config_setting( config_setting( name = "config_android", values = { - "crosstool_top": "//external:android/crosstool", + "crosstool_top": "@platforms//os:android", }, )