syncfiles/lib/BUILD.bazel

28 lines
440 B
Python
Raw Normal View History

2022-03-29 19:34:27 +00:00
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
2022-03-25 05:45:55 +00:00
load("//bazel:copts.bzl", "COPTS")
cc_library(
name = "lib",
srcs = [
"toolbox.c",
],
hdrs = [
"defs.h",
2022-03-29 19:34:27 +00:00
"endian.h",
2022-03-25 05:45:55 +00:00
"test.h",
],
copts = COPTS,
visibility = ["//visibility:public"],
)
2022-03-29 19:34:27 +00:00
cc_test(
name = "endian_test",
srcs = [
"endian_test.c",
],
copts = COPTS,
deps = [
":lib",
],
)