diff options
author | Steve Conover <sconover@gmail.com> | 2017-11-20 19:48:57 +0100 |
---|---|---|
committer | ZHANG Dapeng <zdapeng@google.com> | 2017-11-20 10:48:57 -0800 |
commit | 167029610ecba52d1d2ae95af5dc27dd109eb4af (patch) | |
tree | 276e0a894cc4b50658d7ee21350a6a004528c626 /testing | |
parent | dd0d0288106e941f9b6c50c448ad5ab8e1cb085a (diff) | |
download | grpc-grpc-java-167029610ecba52d1d2ae95af5dc27dd109eb4af.tar.gz |
testing: bazel build targets
Adds necessary dependencies and bazel build rules to create `@grpc_java//testing`.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/BUILD.bazel | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/BUILD.bazel b/testing/BUILD.bazel new file mode 100644 index 000000000..52ea9ff6d --- /dev/null +++ b/testing/BUILD.bazel @@ -0,0 +1,36 @@ +java_library( + name = "testing", + srcs = glob([ + "src/main/java/io/grpc/testing/*.java", + ]), + resources = glob([ + "src/main/resources/**", + ]), + visibility = ["//visibility:public"], + deps = [ + "//context", + "//core", + "//core:inprocess", + "//core:util", + "//stub", + + "@com_google_code_findbugs_jsr305//jar", + "@com_google_guava_guava//jar", + "@com_google_truth_truth//jar", + "@junit_junit//jar", + ], + testonly = 1, +) + +java_library( + name = "internal", + srcs = glob([ + "src/main/java/io/grpc/internal/*.java", + ]), + visibility = ["//:__subpackages__"], + deps = [ + "//core", + "//core:internal", + "@com_google_instrumentation_instrumentation_api//jar", + ], +) |