blob: f6b4c5f9001b0b0b300af9b8025fb46767401c70 [file] [log] [blame]
java_library(
name = "runtime",
data = ["//lib:LICENSE-prologcafe"],
visibility = ["//visibility:public"],
exports = ["@prolog_runtime//jar"],
)
java_library(
name = "runtime-neverlink",
data = ["//lib:LICENSE-prologcafe"],
visibility = ["//visibility:public"],
exports = ["@prolog_runtime//jar:neverlink"],
)
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",
],
)