blob: c9a78d6e17c6355d60f4a66f236dc93cacdefc26 [file] [log] [blame]
"""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 = """
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 = "50e87636a61daabd424d884c60f804387430920072f585a9fee2b90e2043fdcc",
strip_prefix = "antlr4-4.11.1",
urls = ["https://github.com/antlr/antlr4/archive/v4.11.1.tar.gz"],
)