aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Carmi Grushko <carmi@google.com>2017-02-17 06:49:40 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2017-02-17 14:55:06 +0000
commit0fd73d6e3602003ae0e7e9ce6a25b27d73e30076 (patch)
tree0547ba510e475322ee512255a8d471ca5ad07fd0 /WORKSPACE
parent8153cb80f4a4424640e694cb6ed4792dcc193171 (diff)
--proto_compiler points at @com_google_protobuf//:protoc
This allows proto_library to be used out of the box by adding a repository entry that points to the protobuf distro in one's WORKSPACE file. -- PiperOrigin-RevId: 147808147 MOS_MIGRATED_REVID=147808147
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE6
1 files changed, 6 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index b5702db031..0eb938e7e5 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -57,6 +57,12 @@ docker_repository()
bind(name = "xcrunwrapper", actual = "@bazel_tools//tools/objc:xcrunwrapper")
new_local_repository(
+ name = "com_google_protobuf",
+ path = "./third_party/protobuf/3.0.0/",
+ build_file = "./third_party/protobuf/3.0.0/BUILD",
+)
+
+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",