blob: 0babf976483367699d502f076e38e91aaae7da50 [file] [log] [blame]
# The Starlark interpreter
# Open-sourced as part of Bazel.
package(default_visibility = ["//src:__subpackages__"])
java_binary(
name = "Starlark",
srcs = ["Starlark.java"],
jvm_flags = [
# quiet warnings from com.google.protobuf.UnsafeUtil,
# see: https://github.com/google/protobuf/issues/3781
# and: https://github.com/bazelbuild/bazel/issues/5599
"--add-opens=java.base/java.nio=ALL-UNNAMED",
"--add-opens=java.base/java.lang=ALL-UNNAMED",
# ... but only on JDK >= 9
"-XX:+IgnoreUnrecognizedVMOptions",
],
main_class = "com.google.devtools.starlark.Starlark",
visibility = ["//visibility:public"],
deps = [
"//src/main/java/com/google/devtools/build/lib:events",
"//src/main/java/com/google/devtools/build/lib:packages-internal",
],
)
filegroup(
name = "srcs",
srcs = glob(["**"]),
)