From 6e0ac337c979af420bef197f2a9e2bde5e65d0fc Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 28 Jan 2018 15:17:34 +0000 Subject: Avoid clashes with "build" directories on case-insensitive file systems. --- other/BUILD | 29 ----------------------------- other/BUILD.bazel | 29 +++++++++++++++++++++++++++++ other/bootstrap_daemon/BUILD | 12 ------------ other/bootstrap_daemon/BUILD.bazel | 12 ++++++++++++ other/fun/BUILD | 27 --------------------------- other/fun/BUILD.bazel | 27 +++++++++++++++++++++++++++ 6 files changed, 68 insertions(+), 68 deletions(-) delete mode 100644 other/BUILD create mode 100644 other/BUILD.bazel delete mode 100644 other/bootstrap_daemon/BUILD create mode 100644 other/bootstrap_daemon/BUILD.bazel delete mode 100644 other/fun/BUILD create mode 100644 other/fun/BUILD.bazel (limited to 'other') diff --git a/other/BUILD b/other/BUILD deleted file mode 100644 index beec2397..00000000 --- a/other/BUILD +++ /dev/null @@ -1,29 +0,0 @@ -load("//tools:no_undefined.bzl", "cc_library") - -cc_library( - name = "monolith", - hdrs = ["monolith.h"], - visibility = ["//c-toxcore/auto_tests:__pkg__"], - deps = [ - "//c-toxcore/toxav:monolith", - "//c-toxcore/toxcore:monolith", - "//c-toxcore/toxencryptsave:monolith", - ], -) - -cc_library( - name = "bootstrap_node_packets", - srcs = ["bootstrap_node_packets.c"], - hdrs = ["bootstrap_node_packets.h"], - visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__"], - deps = ["//c-toxcore/toxcore:network"], -) - -cc_binary( - name = "DHT_bootstrap", - srcs = ["DHT_bootstrap.c"], - deps = [ - "//c-toxcore/testing:misc_tools", - "//c-toxcore/toxcore", - ], -) diff --git a/other/BUILD.bazel b/other/BUILD.bazel new file mode 100644 index 00000000..beec2397 --- /dev/null +++ b/other/BUILD.bazel @@ -0,0 +1,29 @@ +load("//tools:no_undefined.bzl", "cc_library") + +cc_library( + name = "monolith", + hdrs = ["monolith.h"], + visibility = ["//c-toxcore/auto_tests:__pkg__"], + deps = [ + "//c-toxcore/toxav:monolith", + "//c-toxcore/toxcore:monolith", + "//c-toxcore/toxencryptsave:monolith", + ], +) + +cc_library( + name = "bootstrap_node_packets", + srcs = ["bootstrap_node_packets.c"], + hdrs = ["bootstrap_node_packets.h"], + visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__"], + deps = ["//c-toxcore/toxcore:network"], +) + +cc_binary( + name = "DHT_bootstrap", + srcs = ["DHT_bootstrap.c"], + deps = [ + "//c-toxcore/testing:misc_tools", + "//c-toxcore/toxcore", + ], +) diff --git a/other/bootstrap_daemon/BUILD b/other/bootstrap_daemon/BUILD deleted file mode 100644 index 631a473e..00000000 --- a/other/bootstrap_daemon/BUILD +++ /dev/null @@ -1,12 +0,0 @@ -cc_binary( - name = "bootstrap_daemon", - srcs = glob([ - "src/*.c", - "src/*.h", - ]), - deps = [ - "//c-toxcore/other:bootstrap_node_packets", - "//c-toxcore/toxcore", - "@libconfig", - ], -) diff --git a/other/bootstrap_daemon/BUILD.bazel b/other/bootstrap_daemon/BUILD.bazel new file mode 100644 index 00000000..631a473e --- /dev/null +++ b/other/bootstrap_daemon/BUILD.bazel @@ -0,0 +1,12 @@ +cc_binary( + name = "bootstrap_daemon", + srcs = glob([ + "src/*.c", + "src/*.h", + ]), + deps = [ + "//c-toxcore/other:bootstrap_node_packets", + "//c-toxcore/toxcore", + "@libconfig", + ], +) diff --git a/other/fun/BUILD b/other/fun/BUILD deleted file mode 100644 index c3ab510e..00000000 --- a/other/fun/BUILD +++ /dev/null @@ -1,27 +0,0 @@ -cc_binary( - name = "cracker", - srcs = ["cracker.c"], - deps = [ - "//c-toxcore/testing:misc_tools", - "@libsodium", - ], -) - -cc_binary( - name = "sign", - srcs = ["sign.c"], - deps = [ - "//c-toxcore/testing:misc_tools", - "@libsodium", - ], - copts = ["-w"], -) - -cc_binary( - name = "strkey", - srcs = ["strkey.c"], - deps = [ - "@libsodium", - ], - copts = ["-w"], -) diff --git a/other/fun/BUILD.bazel b/other/fun/BUILD.bazel new file mode 100644 index 00000000..c3ab510e --- /dev/null +++ b/other/fun/BUILD.bazel @@ -0,0 +1,27 @@ +cc_binary( + name = "cracker", + srcs = ["cracker.c"], + deps = [ + "//c-toxcore/testing:misc_tools", + "@libsodium", + ], +) + +cc_binary( + name = "sign", + srcs = ["sign.c"], + deps = [ + "//c-toxcore/testing:misc_tools", + "@libsodium", + ], + copts = ["-w"], +) + +cc_binary( + name = "strkey", + srcs = ["strkey.c"], + deps = [ + "@libsodium", + ], + copts = ["-w"], +) -- cgit v1.2.3