1load("@bazel_skylib//rules:native_binary.bzl", "native_binary") 2 3package(default_visibility = ["//tests/rule_based_toolchain:__subpackages__"]) 4 5exports_files( 6 glob( 7 ["*"], 8 exclude = ["BUILD"], 9 ), 10) 11 12native_binary( 13 name = "bin_wrapper", 14 src = "bin_wrapper.sh", 15 out = "bin_wrapper", 16 data = [":bin"], 17) 18 19filegroup( 20 name = "multiple", 21 srcs = [ 22 "multiple1", 23 "multiple2", 24 ], 25) 26 27# Analysis_test is unable to depend on source files directly, but it can depend 28# on a filegroup containing a single file. 29filegroup( 30 name = "bin_filegroup", 31 srcs = ["bin"], 32) 33