blob: 256c89f175c11d371fb8934819db862b48268e7a [file] [log] [blame]
package(default_visibility = ["//src:__subpackages__"])
# This target will only build on a Mac.
genrule(
name = "realpath_genrule",
srcs = ["realpath.c"],
outs = ["realpath"],
cmd = "/usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.9 -o $@ $<",
output_to_bindir = 1,
visibility = ["//visibility:public"],
)
filegroup(
name = "srcs",
srcs = glob(["**"]),
visibility = ["//src:__pkg__"],
)