Circling back here, in case someone stumbles into this, I was finally able to get the UI running:
build the http_server:
bazel build //kythe/go/serving/tools/http_server
build the UI (leiningen requires java 8):
JAVA_HOME=/opt/java8 bazel build //kythe/web/ui
And then I had to manually copy the static resources:
cp -rv kythe/web/ui/resources/public/* bazel-bin/kythe/web/ui/resources/public
Then I could successfully serve the UI from that directory:
bazel-bin/kythe/go/serving/tools/http_server/http_server --public_resources bazel-bin/kythe/web/ui/resources/public --listen localhost:8080 --serving_table path/to/kythe_serving
This is weird because I thought this rule would actually take care of copying the static assets
filegroup(
name = "ui",
srcs = [":prod-js"] + glob(["resources/public/**"]),
tags = ["manual"],
)
but I had to do it manually.