aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/grpc/README.bazel.md
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-12-21 18:29:04 +0100
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-12-21 18:29:04 +0100
commitf1ce35f4691fa5cd8849bf8944d1a4bdd2393690 (patch)
tree8687d77030d82048b53612e0bce816555dd46dd2 /third_party/grpc/README.bazel.md
parentb649428620711c12ba18f7f1477d36742f267a31 (diff)
Commit 6d31cb was an internal reorganization of google repository that should have resulted in no change. Due to a bug in our export process it deleted several files in third_party.
Diffstat (limited to 'third_party/grpc/README.bazel.md')
-rw-r--r--third_party/grpc/README.bazel.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/grpc/README.bazel.md b/third_party/grpc/README.bazel.md
new file mode 100644
index 0000000000..750f157051
--- /dev/null
+++ b/third_party/grpc/README.bazel.md
@@ -0,0 +1,22 @@
+How to update the C++ sources of gRPC:
+
+1. `git clone http://github.com/grpc/grpc.git` in a convenient directory
+2. `git checkout <tag>` (current is `release-0_13`, commithash `78e04bbd`)
+3. `mkdir -p third_party/grpc/src`
+4. `cp -R <gRPC git tree>/src/{compiler,core-cpp} third_party/grpc/src`
+5. `cp -R <gRPC git tree>/include third_party/grpc`
+6. Update BUILD files by copying the rules from the BUILD file of gRPC
+7. Patch in grpc.patch. It makes gRPC work under msys2.
+
+
+How to update the Java plugin:
+
+1. Take version `0.15.0` from https://github.com/grpc/grpc-java
+ commit hash is `b7d816fb3d0d38e`
+2. `cp -R <grpg-java git tree>/compiler/src/java_plugin third_party/grpc-java/compiler/src`
+
+How to update the Java code:
+
+Download it from Maven central. The jars are called `grpc-core`, `grpc-netty`,
+`grpc-protobuf`, `grpc-protobuf-lite`, `grpc-stub` and the version is
+`0.15.0`.