1# 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) 18