diff options
-rw-r--r-- | BUILD | 7 | ||||
-rw-r--r-- | testing/BUILD | 2 | ||||
-rw-r--r-- | toxav/BUILD | 5 | ||||
-rw-r--r-- | toxcore/BUILD | 2 | ||||
-rw-r--r-- | toxencryptsave/BUILD | 2 |
5 files changed, 11 insertions, 7 deletions
@@ -18,7 +18,7 @@ genrule( | |||
18 | ) | 18 | ) |
19 | 19 | ||
20 | cc_library( | 20 | cc_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 | ||
11 | cc_binary( | 11 | cc_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", |