| load("//tools/bzl:genrule2.bzl", "genrule2") |
| name = "query_exception", |
| "src/main/java/com/google/gerrit/server/query/QueryParseException.java", |
| "src/main/java/com/google/gerrit/server/query/QueryRequiresAuthException.java", |
| visibility = ["//visibility:public"], |
| srcs = ["src/main/antlr3/com/google/gerrit/server/query/Query.g"], |
| outs = ["query_antlr.srcjar"], |
| "$(location //lib/antlr:antlr-tool) -o $$TMP $<", |
| "zip -q $$ROOT/$@ $$(find . -type f )", |
| "//lib/antlr:antlr-tool", |
| "@bazel_tools//tools/zip:zipper", |
| visibility = ["//visibility:public"], |
| "//lib/antlr:java-runtime", |