| """External repositories required by fuzzyc.""" |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| def antlr4_runtimes_repo(): |
| http_archive( |
| name = "antlr4_runtimes", |
| build_file_content = """ |
| load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| package(default_visibility = ["//visibility:public"]) |
| cc_library( |
| name = "cpp", |
| srcs = glob(["runtime/Cpp/runtime/src/**/*.cpp"]), |
| hdrs = glob(["runtime/Cpp/runtime/src/**/*.h"]), |
| includes = ["runtime/Cpp/runtime/src"], |
| )""", |
| sha256 = "9f18272a9b32b622835a3365f850dd1063d60f5045fb1e12ce475ae6e18a35bb", |
| strip_prefix = "antlr4-4.13.2", |
| urls = ["https://github.com/antlr/antlr4/archive/refs/tags/4.13.2.tar.gz"], |
| ) |