Skip to content

Commit 8a96816

Browse files
committed
chore: Add dispatch/events headers to bazel export.
They are still experimental, but we can start integrating.
1 parent 2bbfb35 commit 8a96816

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,24 @@ genrule(
88
srcs = [
99
"//c-toxcore/toxav:toxav.h",
1010
"//c-toxcore/toxcore:tox.h",
11+
"//c-toxcore/toxcore:tox_dispatch.h",
12+
"//c-toxcore/toxcore:tox_events.h",
1113
"//c-toxcore/toxcore:tox_private.h",
1214
"//c-toxcore/toxencryptsave:toxencryptsave.h",
1315
],
1416
outs = [
1517
"tox/toxav.h",
1618
"tox/tox.h",
19+
"tox/tox_dispatch.h",
20+
"tox/tox_events.h",
1721
"tox/tox_private.h",
1822
"tox/toxencryptsave.h",
1923
],
2024
cmd = """
2125
cp $(location //c-toxcore/toxav:toxav.h) $(GENDIR)/c-toxcore/tox/toxav.h
2226
cp $(location //c-toxcore/toxcore:tox.h) $(GENDIR)/c-toxcore/tox/tox.h
27+
cp $(location //c-toxcore/toxcore:tox_dispatch.h) $(GENDIR)/c-toxcore/tox/tox_dispatch.h
28+
cp $(location //c-toxcore/toxcore:tox_events.h) $(GENDIR)/c-toxcore/tox/tox_events.h
2329
cp $(location //c-toxcore/toxcore:tox_private.h) $(GENDIR)/c-toxcore/tox/tox_private.h
2430
cp $(location //c-toxcore/toxencryptsave:toxencryptsave.h) $(GENDIR)/c-toxcore/tox/toxencryptsave.h
2531
""",

toxcore/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test")
44
exports_files(
55
srcs = [
66
"tox.h",
7+
"tox_dispatch.h",
8+
"tox_events.h",
79
"tox_private.h",
810
],
911
visibility = ["//c-toxcore:__subpackages__"],

0 commit comments

Comments
 (0)