aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorSteve Conover <sconover@gmail.com>2017-11-20 19:48:57 +0100
committerZHANG Dapeng <zdapeng@google.com>2017-11-20 10:48:57 -0800
commit167029610ecba52d1d2ae95af5dc27dd109eb4af (patch)
tree276e0a894cc4b50658d7ee21350a6a004528c626 /testing
parentdd0d0288106e941f9b6c50c448ad5ab8e1cb085a (diff)
downloadgrpc-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.bazel36
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",
+ ],
+)