Skip to content

Commit

Permalink
protobuf: Update protobuf to @laszlocsomor's master at commit 421d909.
Browse files Browse the repository at this point in the history
Update protobuf to @laszlocsomor's fork of protobuf. This is essentially
the development version of protobuf 3.2.0 and windows specific fixes
from laszlo. Those fixes will be merged into protobuf soon:
protocolbuffers/protobuf#2969).

For instructions on how to update protobuf for bazel see
README.bazel.md.

Change-Id: Ic1daafe30270cb6bcc6231e6c94fb670af0475e7
  • Loading branch information
buchgr committed Apr 14, 2017
1 parent 5bf9e0f commit 5235d06
Show file tree
Hide file tree
Showing 1,667 changed files with 429,229 additions and 19,022 deletions.
15 changes: 10 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/main/protobuf/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package(default_visibility = ["//visibility:public"])

load("//tools/build_rules:genproto.bzl", "java_proto_library", "cc_grpc_library")
load("//third_party/protobuf/3.0.0:protobuf.bzl", "cc_proto_library", "py_proto_library")
load("//third_party/protobuf:protobuf.bzl", "cc_proto_library", "py_proto_library")

FILES = [
"build",
Expand Down
328 changes: 0 additions & 328 deletions third_party/protobuf/3.0.0/BUILD

This file was deleted.

Binary file removed third_party/protobuf/3.0.0/protobuf-java-3.0.0.jar
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 5235d06

Please sign in to comment.