Skip to content

Commit a73b882

Browse files
committed
Fix bazel builds
1 parent bc7198f commit a73b882

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

other/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cc_binary(
2323
"//c-toxcore/toxcore:TCP_server",
2424
"//c-toxcore/toxcore:ccompat",
2525
"//c-toxcore/toxcore:friend_requests",
26-
"//c-toxcore/toxcore:group_announce",
26+
"//c-toxcore/toxcore:group_onion_announce",
2727
"//c-toxcore/toxcore:logger",
2828
"//c-toxcore/toxcore:mono_time",
2929
"//c-toxcore/toxcore:network",

other/bootstrap_daemon/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cc_binary(
1414
"//c-toxcore/toxcore:LAN_discovery",
1515
"//c-toxcore/toxcore:TCP_server",
1616
"//c-toxcore/toxcore:ccompat",
17-
"//c-toxcore/toxcore:group_announce",
17+
"//c-toxcore/toxcore:group_onion_announce",
1818
"//c-toxcore/toxcore:logger",
1919
"//c-toxcore/toxcore:mono_time",
2020
"//c-toxcore/toxcore:onion_announce",

toxcore/BUILD.bazel

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -434,28 +434,38 @@ cc_library(
434434

435435
cc_library(
436436
name = "group_announce",
437-
srcs = [
438-
"group_announce.c",
439-
"group_onion_announce.c",
440-
],
441-
hdrs = [
442-
"group_announce.h",
443-
"group_onion_announce.h",
444-
],
437+
srcs = ["group_announce.c"],
438+
hdrs = ["group_announce.h"],
445439
visibility = [
446440
"//c-toxcore/auto_tests:__pkg__",
447441
"//c-toxcore/other:__pkg__",
448442
"//c-toxcore/other/bootstrap_daemon:__pkg__",
449443
],
450444
deps = [
445+
":DHT",
451446
":LAN_discovery",
452447
":ccompat",
453448
":mono_time",
454-
":onion_announce",
455449
":util",
456450
],
457451
)
458452

453+
cc_library(
454+
name = "group_onion_announce",
455+
srcs = ["group_onion_announce.c"],
456+
hdrs = ["group_onion_announce.h"],
457+
visibility = [
458+
"//c-toxcore/auto_tests:__pkg__",
459+
"//c-toxcore/other:__pkg__",
460+
"//c-toxcore/other/bootstrap_daemon:__pkg__",
461+
],
462+
deps = [
463+
":ccompat",
464+
":group_announce",
465+
":onion_announce",
466+
],
467+
)
468+
459469
cc_library(
460470
name = "onion_client",
461471
srcs = ["onion_client.c"],
@@ -465,7 +475,7 @@ cc_library(
465475
":DHT",
466476
":LAN_discovery",
467477
":ccompat",
468-
":group_announce",
478+
":group_onion_announce",
469479
":mono_time",
470480
":net_crypto",
471481
":network",
@@ -589,7 +599,7 @@ cc_library(
589599
":crypto_core",
590600
":friend_connection",
591601
":friend_requests",
592-
":group_announce",
602+
":group_onion_announce",
593603
":group_moderation",
594604
":logger",
595605
":mono_time",

0 commit comments

Comments
 (0)