fa18907d7f
Reformat the Bazel build files with the buildifier tool [1]. The style is different for Bazel files. Most notably, indentation level is 4 spaces instead of 2, and " is used instead of '. [1] https://github.com/bazelbuild/buildifier Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
34 lines
668 B
Python
34 lines
668 B
Python
[java_library(
|
|
name = n,
|
|
data = ["//lib:LICENSE-antlr"],
|
|
exports = ["@%s//jar" % n],
|
|
) for n in [
|
|
"antlr27",
|
|
"stringtemplate",
|
|
]]
|
|
|
|
java_library(
|
|
name = "java_runtime",
|
|
data = ["//lib:LICENSE-antlr"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@java_runtime//jar"],
|
|
)
|
|
|
|
java_binary(
|
|
name = "antlr-tool",
|
|
main_class = "org.antlr.Tool",
|
|
visibility = ["//gerrit-antlr:__pkg__"],
|
|
runtime_deps = [":tool"],
|
|
)
|
|
|
|
java_library(
|
|
name = "tool",
|
|
data = ["//lib:LICENSE-antlr"],
|
|
exports = ["@org_antlr//jar"],
|
|
runtime_deps = [
|
|
":antlr27",
|
|
":java_runtime",
|
|
":stringtemplate",
|
|
],
|
|
)
|