mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
d930ecca4c
Also running some other analysis that we used to have on Travis.
53 lines
1.0 KiB
Python
53 lines
1.0 KiB
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 = ["//c-toxcore:__subpackages__"],
|
|
deps = [
|
|
":defines",
|
|
"//c-toxcore/toxcore:ccompat",
|
|
"//c-toxcore/toxcore:crypto_core",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "monolith",
|
|
hdrs = glob([
|
|
"*.c",
|
|
"*.h",
|
|
]),
|
|
visibility = ["//c-toxcore/other:__pkg__"],
|
|
deps = ["//c-toxcore/toxcore:crypto_core"],
|
|
)
|
|
|
|
CIMPLE_SRCS = glob(
|
|
[
|
|
"*.c",
|
|
"*.h",
|
|
],
|
|
exclude = ["*.api.h"],
|
|
)
|
|
|
|
sh_test(
|
|
name = "cimple_test",
|
|
size = "small",
|
|
srcs = ["//hs-tokstyle/tools:check-cimple"],
|
|
args = ["$(location %s)" % f for f in CIMPLE_SRCS],
|
|
data = CIMPLE_SRCS,
|
|
tags = ["haskell"],
|
|
)
|