| package( |
| default_testonly = 1, |
| default_visibility = ["//src:__subpackages__"], |
| ) |
| |
| filegroup( |
| name = "srcs", |
| testonly = 0, |
| srcs = glob(["**"]), |
| visibility = ["//src/test/java/com/google/devtools/build/lib:__pkg__"], |
| ) |
| |
| java_test( |
| name = "cpp-rules-tests", |
| srcs = glob(["*.java"]) + ["proto/CcProtoLibraryTest.java"], |
| tags = ["rules"], |
| test_class = "com.google.devtools.build.lib.AllTests", |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib:bazel-main", |
| "//src/main/java/com/google/devtools/build/lib:bazel-rules", |
| "//src/main/java/com/google/devtools/build/lib:build-base", |
| "//src/main/java/com/google/devtools/build/lib:core-rules", |
| "//src/main/java/com/google/devtools/build/lib:io", |
| "//src/main/java/com/google/devtools/build/lib:packages-internal", |
| "//src/main/java/com/google/devtools/build/lib:util", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/analysis/platform", |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//src/main/java/com/google/devtools/build/lib/collect/nestedset", |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/rules/cpp", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs", |
| "//src/main/java/com/google/devtools/common/options", |
| "//src/main/java/com/google/devtools/common/options:invocation_policy", |
| "//src/main/protobuf:crosstool_config_java_proto", |
| "//src/main/protobuf:extra_actions_base_java_proto", |
| "//src/test/java/com/google/devtools/build/lib:actions_testutil", |
| "//src/test/java/com/google/devtools/build/lib:analysis_testutil", |
| "//src/test/java/com/google/devtools/build/lib:packages_testutil", |
| "//src/test/java/com/google/devtools/build/lib:testutil", |
| "//third_party:guava", |
| "//third_party:guava-testlib", |
| "//third_party:jsr305", |
| "//third_party:junit4", |
| "//third_party:truth", |
| "//third_party/protobuf:protobuf_java", |
| ], |
| ) |
| |
| java_library( |
| name = "util", |
| srcs = [ |
| "LinkBuildVariablesTestCase.java", |
| ], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib:build-base", |
| "//src/main/java/com/google/devtools/build/lib:util", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/rules/cpp", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/protobuf:crosstool_config_java_proto", |
| "//src/test/java/com/google/devtools/build/lib:analysis_testutil", |
| "//third_party:guava", |
| "//third_party:guava-testlib", |
| "//third_party:jsr305", |
| "//third_party:junit4", |
| "//third_party:truth", |
| "//third_party/java/dd_plist", |
| "//third_party/protobuf/3.4.0:protobuf_java", |
| ], |
| ) |