mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
30 lines
590 B
Python
30 lines
590 B
Python
load("//tools:no_undefined.bzl", "cc_library")
|
|
|
|
cc_library(
|
|
name = "helpers",
|
|
testonly = True,
|
|
hdrs = [
|
|
"check_compat.h",
|
|
"helpers.h",
|
|
],
|
|
)
|
|
|
|
[cc_test(
|
|
name = src[:-2],
|
|
size = "small",
|
|
srcs = [src],
|
|
copts = [
|
|
"-Wno-parentheses",
|
|
"-Wno-sign-compare",
|
|
],
|
|
deps = [
|
|
":helpers",
|
|
"//c-toxcore/other:monolith",
|
|
"//c-toxcore/testing:misc_tools",
|
|
"//c-toxcore/toxav",
|
|
"//c-toxcore/toxcore",
|
|
"//c-toxcore/toxencryptsave",
|
|
"@check",
|
|
],
|
|
) for src in glob(["*_test.c*"])]
|