Files
gerrit/java/com/google/gerrit/launcher/BUILD
David Ostrovsky 7163dacf80 Remove GWT UI
This change also discontinues this Maven artifact:

  <groupId>com.google.gerrit</groupId>
  <artifactId>gerrit-plugin-gwtui</artifactId>

Bug: Issue 6908
Change-Id: I767118ba4a70f288b8f56686ab90aefa059912bb
2018-11-13 15:06:26 -08:00

20 lines
614 B
Python

# NOTE: GerritLauncher must be a single, self-contained class. Do not add any
# additional srcs or deps to this rule.
java_library(
name = "launcher",
srcs = ["GerritLauncher.java"],
resources = [":workspace-root.txt"],
visibility = ["//visibility:public"],
)
# The root of the workspace is non-hermetic, but we need it for
# on-the-flyPolyGerrit updates.
genrule(
name = "gen_root",
outs = ["workspace-root.txt"],
cmd = ("cat bazel-out/stable-status.txt | " +
"grep STABLE_WORKSPACE_ROOT | cut -d ' ' -f 2 > $@"),
stamp = 1,
visibility = ["//visibility:public"],
)