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

Add rules_android dependency and fix platform flags on CI #45

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

comius
Copy link
Contributor

@comius comius commented Sep 6, 2023

This makes it possible to enable C++ toolchain resolution in Bazel.

@comius
Copy link
Contributor Author

comius commented Sep 6, 2023

This is blocked by bazelbuild/bazel#19426 / Bazel release 6.4.0

RULES_ANDROID_SHA = "bf08c364e6d0946d09b485aee388557bba3bdb5f15323f73c2723d07d3503ba6"

http_archive(
name = "build_bazel_rules_android",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that rules_android uses the NDK in a few places -- so this might create a circular dependency (at least conceptually -- rules_android is using the native android_ndk_repository for the moment). If this is just for the platform definitions, it might actually make more sense to move those to rules_android_ndk, because rules_android itself doesn't really need to know about those platforms.

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.

2 participants