aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE15
1 files changed, 10 insertions, 5 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 0f215c8a30..7eb0a9dcc8 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -27,6 +27,12 @@ bind(
actual = "//third_party:guava",
)
+# Used by //third_party/protobuf:protobuf_python
+bind(
+ name = "six",
+ actual = "//third_party/py/six",
+)
+
# For tools/cpp/test/...
load("//tools/cpp/test:docker_repository.bzl", "docker_repository")
docker_repository()
@@ -50,16 +56,15 @@ docker_repository()
# This allows rules written in skylark to locate apple build tools.
bind(name = "xcrunwrapper", actual = "@bazel_tools//tools/objc:xcrunwrapper")
-new_local_repository(
+local_repository(
name = "com_google_protobuf",
- path = "./third_party/protobuf/3.0.0/",
- build_file = "./third_party/protobuf/3.0.0/BUILD",
+ path = "./third_party/protobuf/",
)
new_local_repository(
name = "com_google_protobuf_java",
- path = "./third_party/protobuf/3.0.0/",
- build_file = "./third_party/protobuf/3.0.0/com_google_protobuf_java.BUILD",
+ path = "./third_party/protobuf/",
+ build_file = "./third_party/protobuf/com_google_protobuf_java.BUILD",
)
# OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK.