blob: 59fe0c85f2c03fbb499cdeaa28b3ec4f1fe302ec [file]
# Bazel rules for tools.
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
load("@rules_shell//shell:sh_test.bzl", "sh_test")
sh_binary(
name = "update_build_files_for_tink_2_0_bazel",
srcs = ["update_build_files_for_tink_2_0_bazel.sh"],
)
sh_test(
name = "update_build_files_for_tink_2_0_bazel_test",
size = "small",
srcs = ["update_build_files_for_tink_2_0_bazel_test.sh"],
args = [
"$(rlocationpath :update_build_files_for_tink_2_0_bazel.sh)",
"$(rlocationpath //kokoro/testutils:test_utils)",
],
data = [
":update_build_files_for_tink_2_0_bazel.sh",
"//kokoro/testutils:test_utils",
],
target_compatible_with = select({
"@platforms//os:windows": ["@platforms//:incompatible"],
"//conditions:default": [],
}),
)