blob: 4f411aeb9a63e71f312f4b17607c5aa0a6606550 [file] [log] [blame]
# Description:
# This package contains stubs for the starlark "build API".
# Ultimately, this package may be broken out of the Bazel package hierarchy to be standalone.
# Thus, this package should not depend on Bazel-specific packages (only
# those which contain pure-Skylark concepts, such as the interpreter or
# annotation interfaces).
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//src:__subpackages__"])
licenses(["notice"]) # Apache 2.0
filegroup(
name = "srcs",
srcs = glob(["**"]),
)
java_library(
name = "stubs",
srcs = glob(["*.java"]),
deps = [
"//src/main/java/com/google/devtools/build/lib:skylarkinterface",
"//src/main/java/com/google/devtools/build/lib/skylarkbuildapi",
],
)