| load("@rules_java//java:defs.bzl", "java_library") |
| |
| package( |
| default_applicable_licenses = ["//:license"], |
| default_visibility = ["//src:__subpackages__"], |
| ) |
| |
| filegroup( |
| name = "srcs", |
| srcs = glob(["*"]), |
| visibility = ["//src:__subpackages__"], |
| ) |
| |
| java_library( |
| name = "cache_not_found_exception", |
| srcs = ["CacheNotFoundException.java"], |
| deps = [ |
| "@remoteapis//:build_bazel_remote_execution_v2_remote_execution_java_proto", |
| ], |
| ) |
| |
| java_library( |
| name = "common", |
| srcs = glob( |
| ["*.java"], |
| exclude = ["CacheNotFoundException.java"], |
| ), |
| deps = [ |
| ":cache_not_found_exception", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:action_input_helper", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/exec:spawn_input_expander", |
| "//src/main/java/com/google/devtools/build/lib/exec:spawn_runner", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//third_party:auto_value", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| "//third_party/protobuf:protobuf_java", |
| "@googleapis//:google_longrunning_operations_java_proto", |
| "@remoteapis//:build_bazel_remote_execution_v2_remote_execution_java_proto", |
| ], |
| ) |