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 d15c794da3
PiperOrigin-RevId: 596140608
pull/15261/head
Gabriel Féron 11 months ago committed by Copybara-Service
parent e77b709750
commit 585c87904a
  1. 2
      build_defs/BUILD.bazel

@ -38,7 +38,7 @@ config_setting(
config_setting( config_setting(
name = "config_android", name = "config_android",
values = { values = {
"crosstool_top": "//external:android/crosstool", "crosstool_top": "@platforms//os:android",
}, },
) )

Loading…
Cancel
Save