aboutsummaryrefslogtreecommitdiff
path: root/toolchains/android_sdk/BUILD
blob: 10e40ca4908001ace4406e9f48e2fee24e7c9508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Description:
#   Defines the Android SDK toolchain.

licenses(["notice"])

filegroup(
    name = "all_files",
    srcs = glob(["**"]),
)

# Android SDK Toolchain Type
toolchain_type(name = "toolchain_type")

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",
)