mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-12-03 02:52:58 +00:00
19 lines
336 B
Python
19 lines
336 B
Python
load("//tools/build_defs:ninja_build.bzl", "ninja_tool")
|
|
|
|
ninja_tool(
|
|
name = "ninjatool",
|
|
ninja_srcs = "@ninja_build//:all",
|
|
)
|
|
|
|
sh_library(
|
|
name = "ninja",
|
|
srcs = [":ninjatool"],
|
|
)
|
|
|
|
sh_test(
|
|
name = "test_ninja_version",
|
|
srcs = ["test_ninja_version.sh"],
|
|
visibility = ["//:__pkg__"],
|
|
deps = [":ninja"],
|
|
)
|