Skip to content

Commit

Permalink
Add a binding for external/android/crosstool so that the default value (
Browse files Browse the repository at this point in the history
bazelbuild#52)

of `--android_crosstool_top` works.
  • Loading branch information
katre authored Oct 5, 2023
1 parent 5b7d428 commit 349d5cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ def android_ndk_repository(name, **kwargs):
**kwargs
)
native.register_toolchains("@%s//:all" % name)
native.bind(
name = "android/crosstool",
actual = "@%s//:toolchain" % name,
)

0 comments on commit 349d5cb

Please sign in to comment.