diff options
author | Carmi Grushko <carmi@google.com> | 2017-02-17 06:49:40 +0000 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2017-02-17 14:55:06 +0000 |
commit | 0fd73d6e3602003ae0e7e9ce6a25b27d73e30076 (patch) | |
tree | 0547ba510e475322ee512255a8d471ca5ad07fd0 /WORKSPACE | |
parent | 8153cb80f4a4424640e694cb6ed4792dcc193171 (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-- | WORKSPACE | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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", |