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.

58 lines
997 B

# Description:
# Defines the Android toolchain.
load(":toolchain.bzl", "android_toolchain")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
licenses(["notice"])
filegroup(
name = "all_files",
srcs = glob(["**"]),
)
# Android Toolchain Type
toolchain_type(
name = "toolchain_type",
visibility = ["//visibility:public"],
)
# Default Android Toolchain
android_toolchain(
name = "android_default",
visibility = ["//visibility:public"],
)
toolchain(
name = "android_default_toolchain",
toolchain = ":android_default",
toolchain_type = ":toolchain_type",
)
bzl_library(
name = "bzl",
srcs = glob(["*.bzl"]),
)
genrule(
name = "gen_unzip",
outs = ["unzip.sh"],
cmd = """cat > $@ <<EOF
unzip \\$$@
EOF
""",
executable = True,
)
sh_binary(
name = "zip",
srcs = [":zip.sh"],
visibility = ["//visibility:public"],
)
sh_binary(
name = "unzip",
srcs = [":unzip.sh"],
visibility = ["//visibility:public"],
)