summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-22 19:34:52 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-22 21:18:24 +0000
commit42636861d8ccd8d161654f4dfadf7a3632c20c14 (patch)
tree5f7f3475c4c307a741ca60f575b2993223c1d162
parent8f1bbcf83e23286ebdfd17b83d886fc8f0a3eb2a (diff)
Publish a single public BUILD target for c-toxcore.
-rw-r--r--BUILD7
-rw-r--r--testing/BUILD2
-rw-r--r--toxav/BUILD5
-rw-r--r--toxcore/BUILD2
-rw-r--r--toxencryptsave/BUILD2
5 files changed, 11 insertions, 7 deletions
diff --git a/BUILD b/BUILD
index 69fa5788..09fd269b 100644
--- a/BUILD
+++ b/BUILD
@@ -18,7 +18,7 @@ genrule(
18) 18)
19 19
20cc_library( 20cc_library(
21 name = "headers", 21 name = "c-toxcore",
22 hdrs = [ 22 hdrs = [
23 "tox/tox.h", 23 "tox/tox.h",
24 "tox/toxav.h", 24 "tox/toxav.h",
@@ -26,4 +26,9 @@ cc_library(
26 ], 26 ],
27 includes = ["."], 27 includes = ["."],
28 visibility = ["//visibility:public"], 28 visibility = ["//visibility:public"],
29 deps = [
30 "//c-toxcore/toxav",
31 "//c-toxcore/toxcore",
32 "//c-toxcore/toxencryptsave",
33 ],
29) 34)
diff --git a/testing/BUILD b/testing/BUILD
index cee2e6eb..3c8f8293 100644
--- a/testing/BUILD
+++ b/testing/BUILD
@@ -5,7 +5,7 @@ cc_library(
5 hdrs = [ 5 hdrs = [
6 "misc_tools.c", 6 "misc_tools.c",
7 ], 7 ],
8 visibility = ["//visibility:public"], 8 visibility = ["//c-toxcore:__subpackages__"],
9) 9)
10 10
11cc_binary( 11cc_binary(
diff --git a/toxav/BUILD b/toxav/BUILD
index 7ebb16ad..38bdaeba 100644
--- a/toxav/BUILD
+++ b/toxav/BUILD
@@ -84,11 +84,10 @@ cc_library(
84 "toxav.api.h", 84 "toxav.api.h",
85 "toxav.h", 85 "toxav.h",
86 ], 86 ],
87 visibility = ["//visibility:public"], 87 visibility = ["//c-toxcore:__subpackages__"],
88 deps = [ 88 deps = [
89 ":groupav", 89 ":groupav",
90 ":video", 90 ":video",
91 "//c-toxcore/toxcore",
92 ], 91 ],
93) 92)
94 93
@@ -103,7 +102,7 @@ cc_library(
103 "//c-toxcore/testing:__pkg__", 102 "//c-toxcore/testing:__pkg__",
104 ], 103 ],
105 deps = [ 104 deps = [
106 "//c-toxcore/toxcore", 105 "//c-toxcore/toxcore:group",
107 "@libvpx", 106 "@libvpx",
108 "@opus", 107 "@opus",
109 ], 108 ],
diff --git a/toxcore/BUILD b/toxcore/BUILD
index f7dc5861..f59e55fc 100644
--- a/toxcore/BUILD
+++ b/toxcore/BUILD
@@ -188,7 +188,7 @@ cc_library(
188 copts = [ 188 copts = [
189 "-Wno-parentheses", 189 "-Wno-parentheses",
190 ], 190 ],
191 visibility = ["//visibility:public"], 191 visibility = ["//c-toxcore:__subpackages__"],
192 deps = [ 192 deps = [
193 ":group", 193 ":group",
194 "//c-toxcore/toxencryptsave:defines", 194 "//c-toxcore/toxencryptsave:defines",
diff --git a/toxencryptsave/BUILD b/toxencryptsave/BUILD
index bdb0031e..9554f013 100644
--- a/toxencryptsave/BUILD
+++ b/toxencryptsave/BUILD
@@ -16,7 +16,7 @@ cc_library(
16 name = "toxencryptsave", 16 name = "toxencryptsave",
17 srcs = ["toxencryptsave.c"], 17 srcs = ["toxencryptsave.c"],
18 hdrs = ["toxencryptsave.h"], 18 hdrs = ["toxencryptsave.h"],
19 visibility = ["//visibility:public"], 19 visibility = ["//c-toxcore:__subpackages__"],
20 deps = [ 20 deps = [
21 ":defines", 21 ":defines",
22 "//c-toxcore/toxcore:crypto_core", 22 "//c-toxcore/toxcore:crypto_core",