gerrit/lib/prolog/BUILD
David Ostrovsky fa18907d7f Bazel: Reformat build files
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
2016-12-07 11:33:07 +00:00

52 lines
1.0 KiB
Python

java_library(
name = "runtime",
data = ["//lib:LICENSE-prologcafe"],
visibility = ["//visibility:public"],
exports = ["@prolog_runtime//jar"],
)
java_library(
name = "compiler",
data = ["//lib:LICENSE-prologcafe"],
visibility = ["//visibility:public"],
exports = ["@prolog_compiler//jar"],
runtime_deps = [
":io",
":runtime",
],
)
java_library(
name = "io",
data = ["//lib:LICENSE-prologcafe"],
exports = ["@prolog_io//jar"],
)
java_library(
name = "cafeteria",
data = ["//lib:LICENSE-prologcafe"],
visibility = ["//visibility:public"],
exports = ["@cafeteria//jar"],
runtime_deps = [
"io",
"runtime",
],
)
java_binary(
name = "compiler_bin",
main_class = "BuckPrologCompiler",
visibility = ["//visibility:public"],
runtime_deps = [":compiler_lib"],
)
java_library(
name = "compiler_lib",
srcs = ["java/BuckPrologCompiler.java"],
visibility = ["//visibility:public"],
deps = [
":compiler",
":runtime",
],
)