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( cc_library(
name = "headers", name = "c-toxcore",
hdrs = [ hdrs = [
"tox/tox.h", "tox/tox.h",
"tox/toxav.h", "tox/toxav.h",
@ -26,4 +26,9 @@ cc_library(
], ],
includes = ["."], includes = ["."],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [
"//c-toxcore/toxav",
"//c-toxcore/toxcore",
"//c-toxcore/toxencryptsave",
],
) )

View File

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

View File

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

View File

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

View File

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