| # Description: |
| # This package contains interfaces representing the skylark "build API" |
| # (but not the implementation of that 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__"]) |
| |
| filegroup( |
| name = "srcs", |
| srcs = glob(["**"]), |
| visibility = ["//src:__subpackages__"], |
| ) |
| |
| java_library( |
| name = "test", |
| srcs = glob(["*.java"]), |
| deps = [ |
| "//third_party:guava", |
| # TODO(b/80307387): Remove dependency on Label implementation. |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//src/main/java/com/google/devtools/build/lib/skylarkbuildapi/core", |
| "//src/main/java/com/google/devtools/build/lib/skylarkbuildapi/platform", |
| "//src/main/java/com/google/devtools/build/lib/skylarkinterface", |
| "//src/main/java/com/google/devtools/build/lib:syntax", |
| "//src/main/java/com/google/devtools/build/lib/skylarkbuildapi", |
| ], |
| ) |