You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
681 B

# Description:
# Defines the Android SDK toolchain.
licenses(["notice"])
filegroup(
name = "all_files",
srcs = glob(["**"]),
)
# Android SDK Toolchain Type
toolchain_type(
name = "toolchain_type",
visibility = ["//visibility:public"],
)
toolchain(
name = "android_sdk_tools",
exec_compatible_with = [
"@bazel_tools//platforms:x86_64",
"@bazel_tools//platforms:linux",
],
# TODO(b/175833893): This causes the toolchain to not be selected, so
# disable for now.
#target_compatible_with = [
# "@bazel_tools//platforms:android",
#],
toolchain = "@androidsdk//:sdk",
toolchain_type = ":toolchain_type",
)