aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/README.md
diff options
context:
space:
mode:
authorGravatar Lukacs T. Berki <lberki@google.com>2016-04-01 11:42:08 +0200
committerGravatar Lukacs T. Berki <lberki@google.com>2016-04-01 11:43:32 +0200
commit21458dc50e33eb76a6f5dfc631561b628b5d1f9f (patch)
tree9ef2831a64858be306b39c2eca273f8999c14580 /third_party/protobuf/README.md
parent6ee1ddc65f5d27db3669d0bfb820e003a93aedad (diff)
Add source files of the C++ protobuf runtime library.
Actually, it's a bit more files than strictly necessary, but it's easier to maintain this way. Change-Id: I22bba190940c1695f491cd28c7a7a95018d77bb1
Diffstat (limited to 'third_party/protobuf/README.md')
-rw-r--r--third_party/protobuf/README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/third_party/protobuf/README.md b/third_party/protobuf/README.md
index 8e200e7da7..bdeeb5210d 100644
--- a/third_party/protobuf/README.md
+++ b/third_party/protobuf/README.md
@@ -9,7 +9,6 @@ How to update these files:
7. Update third_party/BUILD to point to the new jar file.
8. Done.
-
Because maven.org doesn't have a prebuilt binary for linux on ARM, you need to build the binary
yourself on the target system. Follow the build steps of protocol buffer to create the binary,
copy it to this directory and rename it to "protoc-linux-arm32.exe".
@@ -20,3 +19,10 @@ $ cp /usr/bin/protoc $BAZEL/third_party/protobuf/protoc-linux-arm32.exe
This should be done before you run ./compile.sh.
+How to update the `src/` directory:
+1. Run `git clone http://github.com/google/protobuf.git` in a convenient directory.
+2. `mkdir third_party/protobuf/src/google` in the root of the Bazel tree.
+3. `cp -R <root of protobuf tree>/src/google/protobuf third_party/protobuf/src/google`
+4. Done.
+
+The current version comes from commit `698fa8ee22`.