Publish a single public BUILD target for c-toxcore.

This commit is contained in:
iphydf 2018-01-22 19:34:52 +00:00
parent 8f1bbcf83e
commit 42636861d8
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
5 changed files with 11 additions and 7 deletions

7
BUILD
View File

@ -18,7 +18,7 @@ genrule(
)
cc_library(
name = "headers",
name = "c-toxcore",
hdrs = [
"tox/tox.h",
"tox/toxav.h",
@ -26,4 +26,9 @@ cc_library(
],
includes = ["."],
visibility = ["//visibility:public"],
deps = [
"//c-toxcore/toxav",
"//c-toxcore/toxcore",
"//c-toxcore/toxencryptsave",
],
)

View File

@ -5,7 +5,7 @@ cc_library(
hdrs = [
"misc_tools.c",
],
visibility = ["//visibility:public"],
visibility = ["//c-toxcore:__subpackages__"],
)
cc_binary(

View File

@ -84,11 +84,10 @@ cc_library(
"toxav.api.h",
"toxav.h",
],
visibility = ["//visibility:public"],
visibility = ["//c-toxcore:__subpackages__"],
deps = [
":groupav",
":video",
"//c-toxcore/toxcore",
],
)
@ -103,7 +102,7 @@ cc_library(
"//c-toxcore/testing:__pkg__",
],
deps = [
"//c-toxcore/toxcore",
"//c-toxcore/toxcore:group",
"@libvpx",
"@opus",
],

View File

@ -188,7 +188,7 @@ cc_library(
copts = [
"-Wno-parentheses",
],
visibility = ["//visibility:public"],
visibility = ["//c-toxcore:__subpackages__"],
deps = [
":group",
"//c-toxcore/toxencryptsave:defines",

View File

@ -16,7 +16,7 @@ cc_library(
name = "toxencryptsave",
srcs = ["toxencryptsave.c"],
hdrs = ["toxencryptsave.h"],
visibility = ["//visibility:public"],
visibility = ["//c-toxcore:__subpackages__"],
deps = [
":defines",
"//c-toxcore/toxcore:crypto_core",