Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android platforms constraint #16246

Closed
wants to merge 1 commit into from

Conversation

sifmelcara
Copy link
Contributor

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.

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`.
@sifmelcara sifmelcara requested a review from a team as a code owner March 20, 2024 20:25
@sifmelcara sifmelcara requested review from acozzette and removed request for a team March 20, 2024 20:25
@sifmelcara
Copy link
Contributor Author

cc @gferon #15298

@acozzette acozzette added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Mar 20, 2024
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Mar 20, 2024
acozzette pushed a commit to acozzette/protobuf that referenced this pull request Mar 22, 2024
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 protocolbuffers#16246

COPYBARA_INTEGRATE_REVIEW=protocolbuffers#16246 from sifmelcara:fix-platforms dbf3fd5
PiperOrigin-RevId: 618198820
acozzette added a commit that referenced this pull request Mar 22, 2024
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=#16246 from sifmelcara:fix-platforms dbf3fd5
PiperOrigin-RevId: 618198820

Co-authored-by: Ming-Chuan <10496191+sifmelcara@users.noreply.github.com>
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.

None yet

2 participants