toxcore/toxencryptsave/BUILD
iphydf 52778aed93
Make BUILD files more finely-grained.
This allows us to precisely see which libraries depend on which and lets
us split them up more, if necessary.
2018-01-21 19:44:09 +00:00

35 lines
703 B
Python

load("//tools:no_undefined.bzl", "cc_library")
filegroup(
name = "public_headers",
srcs = ["toxencryptsave.h"],
visibility = ["//c-toxcore:__pkg__"],
)
cc_library(
name = "defines",
hdrs = ["defines.h"],
visibility = ["//c-toxcore/toxcore:__pkg__"],
)
cc_library(
name = "toxencryptsave",
srcs = ["toxencryptsave.c"],
hdrs = ["toxencryptsave.h"],
visibility = ["//visibility:public"],
deps = [
":defines",
"//c-toxcore/toxcore:crypto_core",
],
)
cc_library(
name = "monolith",
hdrs = glob([
"*.c",
"*.h",
]),
visibility = ["//c-toxcore/other:__pkg__"],
deps = ["//c-toxcore/toxcore:crypto_core"],
)