2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-12-04 08:02:31 +00:00
rules_foreign_cc/examples/ninja_simple/BUILD.bazel

23 lines
395 B
Python
Raw Normal View History

load("@rules_cc//cc:defs.bzl", "cc_test")
load("@rules_foreign_cc//tools/build_defs:ninja.bzl", "ninja")
ninja(
name = "ninja_lib",
lib_source = "//ninja_simple/code:srcs",
static_libraries = ["liba.a"],
targets = [
"",
"install",
],
)
cc_test(
name = "test_lib",
srcs = [
"test_libb.cpp",
],
deps = [
":ninja_lib",
],
)