Commit Graph

21 Commits

Author SHA1 Message Date
Esun Kim 81b9779d6d
[Doc] Wake-up Copybara (#32969)
Plz
2023-04-28 09:39:14 -07:00
Jan Tattermusch 0f1afec5a8
[protobuf] Upgrade third_party/protobuf to 22.x (#32606)
The very non-trivial upgrade of third_party/protobuf to 22.x
This PR strives to be as small as possible and many changes that were
compatible with protobuf 21.x and didn't have to be merged atomically
with the upgrade were already merged.
Due to the complexity of the upgrade, this PR wasn't created
automatically by a tool, but manually. Subsequent upgraded of
third_party/protobuf with our OSS release script should work again once
this change is merged.

This is best reviewed commit-by-commit, I tried to group changes in
logical areas.

Notable changes:
- the upgrade of third_party/protobuf submodule, the bazel protobuf
dependency itself
- upgrade of UPB dependency to 22.x (in the past, we used to always
upgrade upb to "main", but upb now has release branch as well). UPB
needs to be upgraded atomically with protobuf since there's a de-facto
circular dependency (new protobuf depends on new upb, which depends on
new protobuf for codegen).
- some protobuf and upb bazel rules are now aliases, so `
extract_metadata_from_bazel_xml.py` and `gen_upb_api_from_bazel_xml.py`
had to be modified to be able to follow aliases and reach the actual
aliased targets.
- some protobuf public headers were renamed, so especially
`src/compiler` needed to be updated to use the new headers.
- protobuf and upb now both depend on utf8_range project, so since we
bundle upb with grpc in some languages, we now have to bundle utf8_range
as well (hence changes in build for python, PHP, objC, cmake etc).
- protoc now depends on absl and utf8_range (previously protobuf had
absl dependency, but not for the codegen part), so python's
make_grpcio_tools.py required partial rewrite to be able to handle those
dependencies in the grpcio_tools build.
- many updates and fixes required for C++ distribtests (currently they
all pass, but we'll probably need to follow up, make protobuf's and
grpc's handling of dependencies more aligned and revisit the
distribtests)
- bunch of other changes mostly due to overhaul of protobuf's and upb's
internal build layout.

TODOs:
- [DONE] make sure IWYU and clang_tidy_code pass
- create a list of followups (e.g. work to reenable the few tests I had
to disable and to remove workaround I had to use)
- [DONE in cl/523706129] figure out problem(s) with internal import

---------

Co-authored-by: Craig Tiller <ctiller@google.com>
2023-04-12 18:43:58 +02:00
Luwei Ge 15ef046440
[third_party] update envoy-api dependency (#32807)
update to main commit 68d4315167352ffac71f149a43b8088397d3f33d

This is to include the latest RBAC related change
(https://github.com/envoyproxy/envoy/pull/26415) for audit logging.

I intentionally did not run steps in
https://github.com/grpc/grpc/tree/master/third_party#updating-third_partyenvoy-api
because I saw some earlier changes also didn't do that and this
envoy-api change isn't going to be needed in Python any time soon.
2023-04-06 06:47:50 -07:00
Jan Tattermusch 6f81b87122
[protobuf] Add third_party/utf8_range as a subtree (#32794)
This is a prerequisite for upgrading to protobuf 22.x
(upb and protobuf now depend on utf8_range)

Currently utf8_range isn't referenced by anything, but it's better to
bring the subtree in advance to make the protobuf upgrade PR smaller.
2023-04-04 19:58:04 +02:00
Jan Tattermusch b3d68001f7
Fix nits in boringssl and protobuf update instructions (#32484)
Point to authoritative info.
2023-02-28 20:30:33 +01:00
Jan Tattermusch 83fa0fa297
Update boringssl-with-bazel readme (#32084)
The docs change is extracted from
https://github.com/grpc/grpc/pull/31869 and
https://github.com/grpc/grpc/pull/31938.
The actual upgrade of boringssl is in progress, but in the meantime we
can at least make sure the instructions are up-to-date.
I'll also update the internal counterpart (cl/501499368)

Co-authored-by: Hannah Shi <hannahshisfb@gmail.com>
2023-02-27 16:17:59 +01:00
Esun Kim 27509c345c
Update upb to 20220621 (#30156)
* Update third_party/upb to e4635f223e7d36dfbea3b722a4ca4807a7e882e2

* Update grpc_deps

* Update src/upb/gen_build_yaml.py

* Regen projects

* Gen_upb_api

* Fix missing json files

* Fix missing textformat

* Fix missing upb/arena

* Sanitize

* Fix missing port_def

* Fix missing array.h
2022-07-01 13:57:56 -07:00
Esun Kim 696e4928e6
Upgrade upb to the latest (#29333)
* Update upb manual

* Update third_party/upb to bef53686ec702607971bd3ea4d4fefd80c6cc6e8

* Update grpc_deps.bzl

* Update doc

* Regen UPB

* Update by review

* New upb files
2022-04-07 10:28:16 -07:00
Esun Kim c56b0a3818
Update boringssl to the latest (#27606)
* Change boringssl branch name

* update submodule boringssl-with-bazel with origin/main-with-bazel

* update boringssl dependency to main-with-bazel commit SHA

* regenerate files

* Increment podspec version

* generate boringssl prefix headers
2021-10-06 10:02:23 -07:00
Tamir Duberstein 124d9ef7c2
Trim xxhash CLI LICENSE (#26929)
Only the library part is used.
2021-08-06 13:43:39 -07:00
Tamir Duberstein c6cb5af87d
Prune and update xxhash (#26879)
* Add xxhash update section

* Update xxhash
2021-08-05 10:01:48 -07:00
Esun Kim 5f4ca1809c
Added a new upb section (#26870) 2021-08-03 16:16:59 -07:00
Yash Tibrewal 6a8d126ac2
Update README.md (#26102)
Formatting changes
2021-04-27 22:39:43 -07:00
Lidi Zheng 980ccba493
Introduce new Python package "xds_protos" (#25975)
* New Python package xds_protos

* Polish the setup.py

* Adding install requirements and improve wheel validation

* Add xds-protos to the update procedure of envoy-api

* Add setup requirements
2021-04-16 16:31:23 -07:00
Esun Kim f5b1557e59 Add docs for Abseil 2021-01-19 16:42:11 -08:00
Jan Tattermusch 6905146fae
Update README.md 2020-07-07 11:46:51 +02:00
Jan Tattermusch 84278dced4
fix nits in third_party/README.md 2020-07-07 11:28:33 +02:00
Jan Tattermusch 50c4dd3637
Improve third_party readme 2020-06-17 13:36:29 +02:00
srini100 3040f92254 update boringssl instructions 2020-06-15 11:28:20 -07:00
srini100 e17602ab94 update boringssl instructions 2020-06-14 14:29:09 -07:00
Jan Tattermusch 060c756945 add README.md for third_party 2020-02-06 10:18:30 +01:00