blob: 9c5d9c11112d70d325a465604abac38708ed2ed9 [file] [log] [blame]
Brian Silvermancc09f182022-03-09 15:40:20 -08001# The code here was picked up from the `rules_foreign_cc` openssl example
2# https://github.com/bazelbuild/rules_foreign_cc/tree/0.5.1/examples/third_party/openssl
3
4load("@bazel_skylib//rules:select_file.bzl", "select_file")
5
6package(default_visibility = ["//visibility:public"])
7
8filegroup(
9 name = "all_srcs",
10 srcs = glob(["**"]),
11)
12
13select_file(
14 name = "perl",
15 srcs = ":all_srcs",
16 subpath = "perl/bin/perl.exe",
17)