Skip to content

Commit

Permalink
cleanup: Fix layering checks and mark toxic as no-windows.
Browse files Browse the repository at this point in the history
Toxic won't compile on windows for now.
  • Loading branch information
iphydf committed Dec 4, 2024
1 parent cd94814 commit 5019041
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ cc_library(
"//tools/config:linux-x86_64": glob(AV_SRCS),
"//conditions:default": [],
}),
hdrs = glob(["src/*.h"]),
copts = COPTS,
tags = ["no-windows"],
deps = [
"//c-toxcore",
"@curl",
Expand All @@ -49,6 +51,7 @@ cc_library(
"@openal",
"@python3//:python",
"@x11",
"@xproto",
],
"//conditions:default": [],
}),
Expand All @@ -58,6 +61,7 @@ cc_binary(
name = "toxic",
srcs = ["src/main.c"],
copts = COPTS,
tags = ["no-windows"],
deps = [
":libtoxic",
"//c-toxcore",
Expand All @@ -81,12 +85,14 @@ sh_test(
size = "small",
srcs = [":toxic"],
args = ["--help"],
tags = ["no-windows"],
)

cc_test(
name = "line_info_test",
size = "small",
srcs = ["src/line_info_test.cc"],
tags = ["no-windows"],
deps = [
":libtoxic",
"@com_google_googletest//:gtest",
Expand All @@ -98,6 +104,7 @@ cc_test(
name = "misc_tools_test",
size = "small",
srcs = ["src/misc_tools_test.cc"],
tags = ["no-windows"],
deps = [
":libtoxic",
"@com_google_googletest//:gtest",
Expand Down

0 comments on commit 5019041

Please sign in to comment.