Files
codeql/swift/third_party/BUILD.binlog.bazel
Paolo Tranquilli 5b5dc9c708 Bazel: load rules_cc explicitly
Turns out in https://github.com/github/codeql/pull/21371 I was right
about `java_*` rules not relying on autoload anywhere, but it turns out
some `cc_*` rules still relied on autoload. This autoload is currently
configured in the internal repository, but we want to remove it
eventually. This patch:
* adds explicit loads to `rules_cc`
* removes an obsolete file (that depedency has its own bazel module
  since some time, we just forgot to remove the old file)
2026-02-25 13:52:25 +01:00

30 lines
564 B
Plaintext

load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
cc_library(
name = "binlog",
srcs = glob(["include/**/*.cpp"]),
hdrs = glob(["include/**/*.hpp"]),
includes = ["include"],
visibility = ["//visibility:public"],
)
cc_binary(
name = "bread",
srcs = [
"bin/bread.cpp",
"bin/getopt.hpp",
"bin/printers.cpp",
"bin/printers.hpp",
],
deps = [":binlog"],
)
cc_binary(
name = "brecovery",
srcs = [
"bin/brecovery.cpp",
"bin/getopt.hpp",
],
deps = [":binlog"],
)