1# Description:
2#   Defines the Android SDK toolchain.
3
4licenses(["notice"])
5
6filegroup(
7    name = "all_files",
8    srcs = glob(["**"]),
9)
10
11# Android SDK Toolchain Type
12toolchain_type(
13    name = "toolchain_type",
14    visibility = ["//visibility:public"],
15)
16
17toolchain(
18    name = "android_sdk_tools",
19    exec_compatible_with = [
20        "@bazel_tools//platforms:x86_64",
21        "@bazel_tools//platforms:linux",
22    ],
23    # TODO(b/175833893): This causes the toolchain to not be selected, so
24    # disable for now.
25    #target_compatible_with = [
26    #    "@bazel_tools//platforms:android",
27    #],
28    toolchain = "@androidsdk//:sdk",
29    toolchain_type = ":toolchain_type",
30)
31