When using bazel platforms and new rules_android_ndk, crosstool_top is actually still `//external:android/crosstool`. The right way to detect Android is to use `constraint_value`.
Closes #16246
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16246 from sifmelcara:fix-platforms dbf3fd58db
PiperOrigin-RevId: 618198820
Co-authored-by: Ming-Chuan <10496191+sifmelcara@users.noreply.github.com>
pull/16294/head
parent
a97c927b51
commit
b4e1870807
1 changed files with 1 additions and 3 deletions
Loading…
Reference in new issue