aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--WORKSPACE11
-rw-r--r--src/test/shell/bazel/BUILD3
2 files changed, 8 insertions, 6 deletions
diff --git a/WORKSPACE b/WORKSPACE
index cace908c64..2cd2e14e3a 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -47,14 +47,15 @@ docker_repository()
# load("/WORKSPACE.user", "android_repositories")
# android_repositories()
+# In order to run //src/test/shell/bazel:maven_skylark_test, follow the
+# instructions above for the Android integration tests and uncomment the
+# following lines:
+# load("//tools/build_defs/repo:maven_rules.bzl", "maven_dependency_plugin")
+# maven_dependency_plugin()
+
# This allows rules written in skylark to locate apple build tools.
bind(name = "xcrunwrapper", actual = "@bazel_tools//tools/objc:xcrunwrapper")
bind(name = "protobuf/java_runtime", actual = "//third_party/protobuf:protobuf")
bind(name = "protobuf/javalite_runtime", actual = "//third_party/protobuf:protobuf-lite")
bind(name = "proto/toolchains/java", actual = "//third_party/protobuf:java_toolchain")
-
-# For Skylark tests at //src/test/shell/bazel:maven_skylark_test
-# Uncomment the following lines, and the test in src/test/shell/bazel/BUILD to run it.
-# load("//tools/build_defs/repo:maven_rules.bzl", "maven_dependency_plugin")
-# maven_dependency_plugin()
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD
index e24b174083..4c972ff418 100644
--- a/src/test/shell/bazel/BUILD
+++ b/src/test/shell/bazel/BUILD
@@ -249,7 +249,8 @@ sh_test(
data = [":test-deps"],
)
-# To run this test, ensure that the maven_dependency_plugin() in WORKSPACE is uncommented as well.
+# To run this test, ensure that maven_dependency_plugin() and
+# android_repositories() in WORKSPACE are uncommented.
sh_test(
name = "maven_skylark_test",
size = "medium",