From 0fd73d6e3602003ae0e7e9ce6a25b27d73e30076 Mon Sep 17 00:00:00 2001 From: Carmi Grushko Date: Fri, 17 Feb 2017 06:49:40 +0000 Subject: --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 --- WORKSPACE | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE index b5702db031..0eb938e7e5 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -56,6 +56,12 @@ 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( + 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/", -- cgit v1.2.3