@@ -66,6 +66,8 @@ cc_library(
6666 srcs = ["logger.c" ],
6767 hdrs = ["logger.h" ],
6868 visibility = [
69+ "//c-toxcore/auto_tests:__pkg__" ,
70+ "//c-toxcore/other:__pkg__" ,
6971 "//c-toxcore/other/bootstrap_daemon:__pkg__" ,
7072 "//c-toxcore/toxav:__pkg__" ,
7173 ],
@@ -84,6 +86,8 @@ cc_library(
8486 srcs = ["mono_time.c" ],
8587 hdrs = ["mono_time.h" ],
8688 visibility = [
89+ "//c-toxcore/auto_tests:__pkg__" ,
90+ "//c-toxcore/other:__pkg__" ,
8791 "//c-toxcore/other/bootstrap_daemon:__pkg__" ,
8892 "//c-toxcore/testing:__pkg__" ,
8993 "//c-toxcore/toxav:__pkg__" ,
@@ -116,6 +120,7 @@ cc_library(
116120 "util.h" ,
117121 ],
118122 visibility = [
123+ "//c-toxcore/auto_tests:__pkg__" ,
119124 "//c-toxcore/other:__pkg__" ,
120125 "//c-toxcore/other/bootstrap_daemon:__pkg__" ,
121126 "//c-toxcore/toxav:__pkg__" ,
@@ -190,6 +195,7 @@ cc_library(
190195 "ping.h" ,
191196 ],
192197 visibility = [
198+ "//c-toxcore/other:__pkg__" ,
193199 "//c-toxcore/other/bootstrap_daemon:__pkg__" ,
194200 "//c-toxcore/testing:__pkg__" ,
195201 ],
@@ -227,6 +233,7 @@ cc_library(
227233 ],
228234 visibility = [
229235 "//c-toxcore/auto_tests:__pkg__" ,
236+ "//c-toxcore/other:__pkg__" ,
230237 "//c-toxcore/other/bootstrap_daemon:__pkg__" ,
231238 ],
232239 deps = [
@@ -242,6 +249,7 @@ cc_library(
242249 name = "onion" ,
243250 srcs = ["onion.c" ],
244251 hdrs = ["onion.h" ],
252+ visibility = ["//c-toxcore/auto_tests:__pkg__" ],
245253 deps = [
246254 ":DHT" ,
247255 ":crypto_core" ,
@@ -266,7 +274,11 @@ cc_library(
266274 "//tools/config:linux" : ["-DTCP_SERVER_USE_EPOLL=1" ],
267275 "//conditions:default" : [],
268276 }),
269- visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__" ],
277+ visibility = [
278+ "//c-toxcore/auto_tests:__pkg__" ,
279+ "//c-toxcore/other:__pkg__" ,
280+ "//c-toxcore/other/bootstrap_daemon:__pkg__" ,
281+ ],
270282 deps = [
271283 ":crypto_core" ,
272284 ":list" ,
@@ -291,6 +303,7 @@ cc_library(
291303 name = "net_crypto" ,
292304 srcs = ["net_crypto.c" ],
293305 hdrs = ["net_crypto.h" ],
306+ visibility = ["//c-toxcore/auto_tests:__pkg__" ],
294307 deps = [
295308 ":DHT" ,
296309 ":TCP_connection" ,
@@ -303,7 +316,10 @@ cc_library(
303316 name = "onion_announce" ,
304317 srcs = ["onion_announce.c" ],
305318 hdrs = ["onion_announce.h" ],
306- visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__" ],
319+ visibility = [
320+ "//c-toxcore/auto_tests:__pkg__" ,
321+ "//c-toxcore/other/bootstrap_daemon:__pkg__" ,
322+ ],
307323 deps = [
308324 ":DHT" ,
309325 ":mono_time" ,
@@ -316,6 +332,7 @@ cc_library(
316332 name = "onion_client" ,
317333 srcs = ["onion_client.c" ],
318334 hdrs = ["onion_client.h" ],
335+ visibility = ["//c-toxcore/auto_tests:__pkg__" ],
319336 deps = [
320337 ":DHT" ,
321338 ":mono_time" ,
@@ -329,6 +346,7 @@ cc_library(
329346 name = "friend_connection" ,
330347 srcs = ["friend_connection.c" ],
331348 hdrs = ["friend_connection.h" ],
349+ visibility = ["//c-toxcore/auto_tests:__pkg__" ],
332350 deps = [
333351 ":DHT" ,
334352 ":mono_time" ,
@@ -353,7 +371,11 @@ cc_library(
353371 name = "friend_requests" ,
354372 srcs = ["friend_requests.c" ],
355373 hdrs = ["friend_requests.h" ],
356- visibility = ["//c-toxcore/testing:__pkg__" ],
374+ visibility = [
375+ "//c-toxcore/auto_tests:__pkg__" ,
376+ "//c-toxcore/other:__pkg__" ,
377+ "//c-toxcore/testing:__pkg__" ,
378+ ],
357379 deps = [
358380 ":friend_connection" ,
359381 ":network" ,
@@ -365,6 +387,7 @@ cc_library(
365387 srcs = ["Messenger.c" ],
366388 hdrs = ["Messenger.h" ],
367389 visibility = [
390+ "//c-toxcore/auto_tests:__pkg__" ,
368391 "//c-toxcore/testing:__pkg__" ,
369392 "//c-toxcore/toxav:__pkg__" ,
370393 ],
0 commit comments