Brian Silverman | cc09f18 | 2022-03-09 15:40:20 -0800 | [diff] [blame^] | 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 | |||||
4 | load("@bazel_skylib//rules:select_file.bzl", "select_file") | ||||
5 | |||||
6 | package(default_visibility = ["//visibility:public"]) | ||||
7 | |||||
8 | filegroup( | ||||
9 | name = "all_srcs", | ||||
10 | srcs = glob(["**"]), | ||||
11 | ) | ||||
12 | |||||
13 | select_file( | ||||
14 | name = "perl", | ||||
15 | srcs = ":all_srcs", | ||||
16 | subpath = "perl/bin/perl.exe", | ||||
17 | ) |