diff options
Diffstat (limited to 'third_party/protobuf/README.md')
-rw-r--r-- | third_party/protobuf/README.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/third_party/protobuf/README.md b/third_party/protobuf/README.md index 10837db9db..68fc1b1bf9 100644 --- a/third_party/protobuf/README.md +++ b/third_party/protobuf/README.md @@ -24,18 +24,18 @@ rm -rf .git .gitignore .gitmodules 4) Copy `third_party/protobuf/<old_proto>/com_google_protobuf_java.BUILD` to the new directory. 5) Copy the `licenses` declaration and the `srcs` filegroup from - `third_party/protobuf/<old_proto>/util/python/BUILD` and - `third_party/protobuf/<old_proto>/examples/BUILD` to the corresponding + `third_party/protobuf/<old_proto>/util/python/BUILD` to the corresponding file in the new directory. -6) Name the `new\_proto` directory according to the protobuf version number. -7) In `third\_party/protobuf/BUILD` update `PROTOBUF\_VERSION` to the name of the +6) For each file listed in `RELATIVE_WELL_KNOWN_PROTOS` in the `new_proto/BUILD` file + copy it from `new_proto/srcs/google/protobuf` to `new_proto/google/protobuf`. +7) Name the `new\_proto` directory according to the protobuf version number. +8) In `third\_party/protobuf/BUILD` update `PROTOBUF\_VERSION` to the name of the directory you just created. -8) In the root `WORKSPACE` file update relative paths of protobuf to point to +9) In the root `WORKSPACE` file update relative paths of protobuf to point to the new version. -9) Update version number in `src/main/protobuf/BUILD` and `src/test/shell/testenv.sh`. 10) Delete the `third_party/protobuf/<old_proto>` directory. 11) Update this file if you found the :instructions to be wrong or incomplete. # Current protobuf version -The current version of protobuf is [3.6.0](https://github.com/google/protobuf/releases/tag/v3.6.0). +The current version of protobuf is [3.4.0](https://github.com/google/protobuf/releases/tag/v3.4.0). |