| package(default_visibility = ["//src:__subpackages__"]) |
| |
| filegroup( |
| name = "srcs", |
| srcs = glob(["**"]), |
| visibility = ["//src/main/java/com/google/devtools/build/lib:__pkg__"], |
| ) |
| |
| # The "cmdline" library: Label validation and target pattern |
| # parsing. Both the label syntax and the target pattern syntax are a |
| # public interface, and all changes have to be made in a |
| # backwards-compatible manner. This library is intentionally |
| # standalone so it can be used outside without pulling in any internal |
| # code. |
| java_library( |
| name = "cmdline", |
| srcs = glob(["*.java"]), |
| visibility = ["//src:__subpackages__"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib:skylarkinterface", |
| "//src/main/java/com/google/devtools/build/lib:starlark_context", |
| "//src/main/java/com/google/devtools/build/lib:util", |
| "//src/main/java/com/google/devtools/build/lib/actions:commandline_item", |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//src/main/java/com/google/devtools/build/skyframe:skyframe-objects", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "RepositoryName", |
| srcs = [ |
| "LabelConstants.java", |
| "LabelSyntaxException.java", |
| "LabelValidator.java", |
| "PackageIdentifier.java", |
| "RepositoryName.java", |
| ], |
| visibility = ["//src:__subpackages__"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib:skylarkinterface", |
| "//src/main/java/com/google/devtools/build/lib:util", |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec:autocodec-annotation", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//third_party:guava", |
| ], |
| ) |