2018-01-22 00:58:32 +08:00
|
|
|
load("//tools:no_undefined.bzl", "cc_library")
|
|
|
|
|
2018-01-18 23:14:50 +08:00
|
|
|
filegroup(
|
2018-01-22 00:58:32 +08:00
|
|
|
name = "public_headers",
|
2018-01-18 23:14:50 +08:00
|
|
|
srcs = ["toxencryptsave.h"],
|
2018-01-22 00:58:32 +08:00
|
|
|
visibility = ["//c-toxcore:__pkg__"],
|
|
|
|
)
|
|
|
|
|
|
|
|
cc_library(
|
|
|
|
name = "defines",
|
|
|
|
hdrs = ["defines.h"],
|
|
|
|
visibility = ["//c-toxcore/toxcore:__pkg__"],
|
2018-01-18 23:14:50 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
cc_library(
|
|
|
|
name = "toxencryptsave",
|
2018-01-22 00:58:32 +08:00
|
|
|
srcs = ["toxencryptsave.c"],
|
|
|
|
hdrs = ["toxencryptsave.h"],
|
2018-01-23 03:34:52 +08:00
|
|
|
visibility = ["//c-toxcore:__subpackages__"],
|
2018-01-18 23:14:50 +08:00
|
|
|
deps = [
|
2018-01-22 00:58:32 +08:00
|
|
|
":defines",
|
2018-01-29 05:30:39 +08:00
|
|
|
"//c-toxcore/toxcore:ccompat",
|
2018-01-18 23:14:50 +08:00
|
|
|
"//c-toxcore/toxcore:crypto_core",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
cc_library(
|
|
|
|
name = "monolith",
|
|
|
|
hdrs = glob([
|
|
|
|
"*.c",
|
|
|
|
"*.h",
|
|
|
|
]),
|
|
|
|
visibility = ["//c-toxcore/other:__pkg__"],
|
2018-01-22 00:58:32 +08:00
|
|
|
deps = ["//c-toxcore/toxcore:crypto_core"],
|
2018-01-18 23:14:50 +08:00
|
|
|
)
|