Mark D. Roth
7c766e2a72
[xDS unit test] remove need for `grpc_cc_proto_library` BUILD rule ( #37902 )
...
This eliminates the need for the `grpc_cc_proto_library` bazel BUILD rule introduced in #37863 .
To make this work, I had to upgrade several bazel dependencies and apply a patch to rules_go to work around https://github.com/bazelbuild/bazel/issues/11636 .
Closes #37902
PiperOrigin-RevId: 685868647
2 months ago
Esun Kim
1b11b92182
[Deps] Updated Abseil to 1.20240722.0 ( #37543 )
...
Closes #37543
PiperOrigin-RevId: 679738302
3 months ago
Esun Kim
e4a422ba43
[Deps] Upgrade protobuf to 28.1 ( #37682 )
...
Regular protobuf upgrade from 27.2 to 28.1 along with the required change to accommodate https://github.com/protocolbuffers/protobuf/pull/17285
Closes #37682
PiperOrigin-RevId: 678428936
3 months ago
apolcyn
5378a327b4
[boringssl] Update boringssl version ( #37631 )
...
Generated by release script
Closes #37631
PiperOrigin-RevId: 672589621
3 months ago
Marcel
ed3e08f136
Update com_github_googleapis to a recent commit. ( #37578 )
...
The previous one was from July 2021.
Closes #37578
PiperOrigin-RevId: 670715698
3 months ago
Eugene Ostroukhov
4fe0033922
[build] Add missing checksum ( #37613 )
...
Just remove a warning I saw doing a clean build.
Closes #37613
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37613 from eugeneo:add-sha e654642c19
PiperOrigin-RevId: 670602715
3 months ago
Esun Kim
0861cf30dd
[Bazel] Updated bazel-skylib ( #37415 )
...
It appears that gRPC needs to upgrade bazel-skylib to 1.7.x or later to have the latest protobuf
(Context: https://github.com/protocolbuffers/protobuf/issues/17687 )
Two minor things are done
- Removed `--spawn_strategy=remote` to resolve errors related to https://github.com/bazelbuild/bazel/issues/7480
- Upgraded `bazelbuild/platforms` to 0.0.10
Closes #37415
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37415 from veblush:protobuf-fix 16baaf05a9
PiperOrigin-RevId: 660567689
4 months ago
Mark D. Roth
544582f67d
[xDS] update xDS protos ( #37262 )
...
Closes #37262
PiperOrigin-RevId: 654168186
5 months ago
AJ Heller
b81f754a29
[BoringSSL] Update third_party/boringssl-with-bazel ( #37223 )
...
Change was created by the release automation script. See go/grpc-release.
Closes #37223
PiperOrigin-RevId: 652942434
5 months ago
Esun Kim
62401f643c
[Dep] Roll-foward "Upgrading Protobuf to v27.0 ( #36753 )" ( #37182 )
...
Closes #37182
PiperOrigin-RevId: 650413156
5 months ago
Mark D. Roth
549460839b
[xDS] update xDS proto dependency ( #37181 )
...
Closes #37181
PiperOrigin-RevId: 650364198
5 months ago
Eugene Ostroukhov
c92b43388c
[Dep] Revert "Upgrading Protobuf to v27.0 ( #36753 )" ( #37125 )
...
This reverts commit 0ffab55534
.
Closes #37125
PiperOrigin-RevId: 648750887
5 months ago
Esun Kim
0ffab55534
[Dep] Upgrading Protobuf to v27.0 ( #36753 )
...
Closes #36753
PiperOrigin-RevId: 647792433
6 months ago
Marcel
73d016e399
Replace bind() targets with alias() ones ( #35272 )
...
Usage of `bind()` is [deprecated in WORKSPACE](https://bazel.build/reference/be/workspace#bind ) and [not supported in Bzlmod](https://bazel.build/external/migration#bind-targets ).
This is a required preparatory step for #35271 .
An alternative would be to use the target names directly and completely get rid of `bind()` and `alias()`.
Fixes #13902 , #20193 .
Closes #35272
PiperOrigin-RevId: 642275803
6 months ago
AJ Heller
da05edc802
[build] Support clang-cl for Windows builds (best effort) ( #36831 )
...
Usage: `bazel build --config=clang-cl --build_tag_filters=-no_windows :all`
The highlight, for me anyway: thread safety annotation checking can now be done on Windows-only code.
clang-cl's interpretation of `-Wall` differs from that of clang on linux. This PR uses the set of warnings enabled on linux, and whittles down the list until all builds pass. I left comments in `copts.bzl` describing the warnings, many of which can be removed with targeted code cleanups.
Closes #36831
PiperOrigin-RevId: 641009783
6 months ago
Xuan Wang
ecdb5caf83
[BoringSSL] Update third_party/boringssl-with-bazel ( #36716 )
...
Change was created by the release automation script. See go/grpc-release.
Closes #36716
PiperOrigin-RevId: 638337588
7 months ago
AJ Heller
ca8db3b264
[build] Update Gazelle bazel dependency ( #36745 )
...
Closes #36745
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36745 from drfloob:update-gazelle 4fba6f7b09
PiperOrigin-RevId: 638067497
7 months ago
Yash Tibrewal
a0bee78a28
[BoringSSL] Update third_party/boringssl-with-bazel ( #36435 )
...
Change was created by the release automation script. See go/grpc-release.
Closes #36435
PiperOrigin-RevId: 629574967
8 months ago
Esun Kim
3fe06af9a3
[Build] No bind for upb ( #36349 )
...
To simplify the build process, let's remove unnecessary Bazel bindings. These bindings were originally used to manage differences between OSS and our internal build environment. However, bindings are now deprecated and introduce unnecessary complexity. Removing them will make the build process more straightforward and easier to maintain.
Closes #36349
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36349 from veblush:upb-link 3eda0c6f92
PiperOrigin-RevId: 624284314
8 months ago
Esun Kim
414ff20941
[Dep] Removing unnecessary upb targets ( #36330 )
...
Removing unnecessary upb targets except the following public targets
- `@com_google_protobuf//upb:base`
- `@com_google_protobuf//upb:mem`
- `@com_google_protobuf//upb:message`
- `@com_google_protobuf//upb:reflection`
- `@com_google_protobuf//upb/json`
- `@com_google_protobuf//upb/text`
Context: Internal b/332756248
Closes #36330
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36330 from veblush:upb-clean-up 70a9360489
PiperOrigin-RevId: 623632254
8 months ago
Esun Kim
34a7e76359
[Deps] Rollfoward Protobuf upgrade to v26.1 ( #36323 )
...
This reverts commit 78b9d84fd3
.
Closes #36323
PiperOrigin-RevId: 623547891
8 months ago
Esun Kim
78b9d84fd3
[Dep] Rollback Protobuf upgrade to v25.1 ( #36247 )
...
This is for gRPC Python that has an issue with Protobuf Python v26
Closes #36247
PiperOrigin-RevId: 621629528
8 months ago
Esun Kim
03312884dc
[Deps] Upgraded protobuf to v26.1 ( #35796 )
...
This is to upgrade Protobuf to v26.1 along with upb, and utf8_range.
Closes #35796
PiperOrigin-RevId: 620259696
9 months ago
Xuan Wang
0f77a5ad9e
[BoringSSL] Update third_party/boringssl-with-bazel ( #36089 )
...
Change was created by the release automation script. See go/grpc-release.
Additional Changes:
* Boring SSL started to [Require SSE2 when targetting 32-bit x86](56d3ad9d23
), thus added `-msse2` to fix some build failures.
Closes #36089
PiperOrigin-RevId: 614822548
9 months ago
Yash Tibrewal
4ce4f4ea3a
[OTel] Add OTel C++ as a submodule ( #36032 )
...
Closes #36032
PiperOrigin-RevId: 611657802
10 months ago
Esun Kim
6f406a7a68
Updated libprotobuf_mutator to the latest ( #35833 )
...
This is partially related to protobuf upgrade (https://github.com/grpc/grpc/pull/35796 ) but it's not strictly required. But it's still a good thing to get this up-to-dated.
Closes #35833
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35833 from veblush:libprotobuf_mutator_update 0fcc0c19dc
PiperOrigin-RevId: 607726401
10 months ago
Eugene Ostroukhov
239399212a
[BoringSSL] "Revert Update third_party/boringssl-with-bazel ( #35842 )" ( #35847 )
...
This reverts commit c968d1a56a
.
Closes #35847
PiperOrigin-RevId: 605117622
10 months ago
Eugene Ostroukhov
c968d1a56a
[BoringSSL] Update third_party/boringssl-with-bazel ( #35842 )
...
Closes #35842
PiperOrigin-RevId: 605091673
10 months ago
Eugene Ostroukhov
038215b504
[BoringSSL] Revert "Update third_party/boringssl-with-bazel ( #35811 )" ( #35834 )
...
This reverts commit c2a2e8c09d
.
Closes #35834
PiperOrigin-RevId: 604800979
10 months ago
Eugene Ostroukhov
c2a2e8c09d
[BoringSSL] Update third_party/boringssl-with-bazel ( #35811 )
...
Change was created by the release automation script. See go/grpc-release.
Closes #35811
PiperOrigin-RevId: 604701943
10 months ago
Esun Kim
1f979d2a83
[BoringSSL] Update third_party/boringssl-with-bazel ( #35768 )
...
Change was created by the release automation script. See go/grpc-release.
On top of changes made by the script, `setup.py` had to be updated to have `/std:c11` option for MSVC to use c11 features for boringssl.
Closes #35768
PiperOrigin-RevId: 603403329
11 months ago
Esun Kim
714640d71f
[Deps] Upgrade Abseil to 2024-01-16 ( #35589 )
...
Closes #35589
PiperOrigin-RevId: 601647295
11 months ago
Eugene Ostroukhov
2fc9dd1546
[build] Update `envoy-api` and `xds` dependencies ( #35603 )
...
Closes : #34966
Closes #35603
PiperOrigin-RevId: 600919492
11 months ago
ericsalo
a6823b6e97
Fix deprecation warnings from upb ( #35510 )
...
Replace "upb:collections" with "upb:message"
Replace "upb/collections" with "upb/message"
Replace "upb:upb" with "upb:mem" and/or "upb:base"
Replace "upb/upb.hpp" with "upb/mem/arena.hpp" and/or "upb/base/status.hpp"
Closes #35510
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35510 from ericsalo:master 112392a050
PiperOrigin-RevId: 597872730
11 months ago
Esun Kim
594d370819
[Build] Prepared for Bazel 7 ( #35374 )
...
This is a prerequisite change to start supporting Bazel 7. Changes are
- Disabled bzlmod which Bazel 7 begins to enable by default. This eventually needs to be done to support bzlmod but not now.
- Upgraded some bazel rule dependencies which are required to support Bazel 7.
- Using Python 3 explcitly as Bazel 7 begins to reject Python 2.
Note that this isn't enough to enable Bazel 7 by default and another PR will follow for that.
Closes #35374
PiperOrigin-RevId: 592931675
12 months ago
Esun Kim
769b27479a
[Deps] Update protobuf & upb to 3.25.1 ( #35315 )
...
On top of https://github.com/grpc/grpc/pull/35285 , upb is also upgraded in this PR.
Closes #35315
PiperOrigin-RevId: 592672254
12 months ago
Yash Tibrewal
5aeb7dabe0
[OTel] Update OTel Bazel dep to v1.13.0 ( #35352 )
...
Update OTel dep to 4bd64c9a33
Fixes https://github.com/grpc/grpc/issues/35187
Closes #35352
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35352 from yashykt:UpdateOTel 25f1289d43
PiperOrigin-RevId: 592613910
12 months ago
Esun Kim
9677ab7682
Updated zlib to 1.3 ( #35147 )
...
Closes #35147
PiperOrigin-RevId: 591028632
1 year ago
Yash Tibrewal
6e18346c96
[otel] Update OTel to head ( #35151 )
...
This is mainly to get the fix made in https://github.com/open-telemetry/opentelemetry-cpp/pull/2213
When opentelemetry-cpp makes a stable release with this fix, we'll switch to that.
Closes #35151
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35151 from yashykt:UpdateOTel 1041fbc0bc
PiperOrigin-RevId: 586815878
1 year ago
Adam Cozzette
016ed921ce
[deps] Upgrade protobuf version to v25.0 ( #34513 )
...
This commit upgrades gRPC to protobuf v25.0 and makes some fixes to
account for upb changes. One major change is that upb has been merged
into the protobuf repo, so we can now drop the separate `@upb`
dependency. Another is that `.upb.c` files no longer exist and there are
new `.upb_minitable.h` and `.upb_minitable.c` files. The longer
filenames exceeded a Windows restriction, so to work around that I
renamed the `upb-generated` directory to just `upb-gen`, and likewise
for `upbdefs-generated`.
1 year ago
Eugene Ostroukhov
4d61e4d59e
[test] Update gTest ( #34629 )
...
gTest added some minor improvements around output since it was last
imported. I suggest we update the version.
1 year ago
Stanley Cheung
169c9fe950
[CSM Observability] Update google-cloud-cpp bazel deps version ( #34651 )
...
The target `examples/cpp/csm:csm_greeter_client` is failing without this
update
1 year ago
Mark D. Roth
69f625c27c
[xDS protos] update to get new fields for dualstack endpoints ( #34491 )
1 year ago
Stanley Cheung
fc159a6901
[Observability Testing] register prometheus exporter ( #34380 )
...
Working towards testing against CSM Observability. Added ability to
register a prometheus exporter with our Opentelemetry plugin. This will
allow our metrics to be available at the standard prometheus port
`:9464`.
1 year ago
Esun Kim
82c39092ff
[Deps] Bumped the protobuf commit to b2b7a511 ( #34330 )
...
This is to have https://github.com/protocolbuffers/protobuf/pull/14054
which is required to make abseil-at-head test pass.
1 year ago
Esun Kim
91a7dbb44b
[Deps] Updated protobuf to 24.3 + layout fix ( #34322 )
...
Updating Protobuf & upb to 24.3 (the latest at this point) and having
https://github.com/protocolbuffers/protobuf/pull/14042
1 year ago
Stanley Cheung
e66cb7f2de
[GSM Observability] Update opentelemetry cpp bazel deps ( #34290 )
...
This is needed for the upcoming work for GSM Observability integration
testing.
1 year ago
Esun Kim
f6a994229e
[Deps] Adding upb as a submodule ( #34199 )
...
Let's make it as a regular dependency like others. So gRPC is now
unvendoring it first. Project generation part will be followed later.
1 year ago
Esun Kim
1a1124903c
[Deps] Upgrade Protobuf and Upb to 24.x ( #34123 )
...
On top of https://github.com/grpc/grpc/pull/34120
1 year ago
Esun Kim
650c2ea492
[Deps] Update boringssl 202308211007 ( #34115 )
...
Part of gRPC release
1 year ago