Skip to content

Commit cebf48b

Browse files
committed
Merge branch 'master' of https://github.com/grpc/grpc into dev
2 parents 8099ef2 + f1ddc62 commit cebf48b

File tree

1,414 files changed

+8220
-154976
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,414 files changed

+8220
-154976
lines changed

BUILD

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -176,27 +176,12 @@ config_setting(
176176

177177
config_setting(
178178
name = "windows",
179-
values = {"cpu": "x64_windows"},
180-
)
181-
182-
config_setting(
183-
name = "windows_msvc",
184-
values = {"cpu": "x64_windows_msvc"},
179+
constraint_values = ["@platforms//os:windows"],
185180
)
186181

187182
config_setting(
188183
name = "mac",
189-
values = {"cpu": "darwin"},
190-
)
191-
192-
config_setting(
193-
name = "mac_x86_64",
194-
values = {"cpu": "darwin_x86_64"},
195-
)
196-
197-
config_setting(
198-
name = "mac_arm64",
199-
values = {"cpu": "darwin_arm64"},
184+
constraint_values = ["@platforms//os:macos"],
200185
)
201186

202187
config_setting(
@@ -1024,6 +1009,7 @@ grpc_cc_library(
10241009
"include/grpcpp/security/authorization_policy_provider.h",
10251010
],
10261011
tags = ["nofixdeps"],
1012+
visibility = ["@grpc:public"],
10271013
deps = [
10281014
"gpr",
10291015
"grpc++",
@@ -2883,6 +2869,7 @@ grpc_cc_library(
28832869
"absl/container:inlined_vector",
28842870
"absl/log",
28852871
"absl/log:check",
2872+
"absl/functional:any_invocable",
28862873
],
28872874
visibility = ["@grpc:client_channel"],
28882875
deps = [

CMakeLists.txt

Lines changed: 1516 additions & 186 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MODULE.bazel

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,14 @@ bazel_dep(name = "apple_support", version = "1.17.1", repo_name = "build_bazel_a
2424
bazel_dep(name = "bazel_skylib", version = "1.7.1")
2525
bazel_dep(name = "boringssl", version = "0.20241024.0") # mistmatched 20241211
2626
bazel_dep(name = "c-ares", version = "1.15.0", repo_name = "com_github_cares_cares") # mistmatched 1.19.1
27-
bazel_dep(name = "envoy_api", version = "0.0.0-20241214-918efc9") # mistmatched 20250106
28-
bazel_dep(name = "google_benchmark", version = "1.9.0", repo_name = "com_github_google_benchmark")
27+
bazel_dep(name = "envoy_api", version = "0.0.0-20250128-4de3c74")
2928
bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a", repo_name = "com_google_googleapis")
30-
bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest")
31-
bazel_dep(name = "opencensus-cpp", version = "0.0.0-20230502-50eb5de", repo_name = "io_opencensus_cpp")
3229
bazel_dep(name = "opentelemetry-cpp", version = "1.16.0", repo_name = "io_opentelemetry_cpp") # mistmached 1.18.0
3330
bazel_dep(name = "platforms", version = "0.0.10")
3431
bazel_dep(name = "protobuf", version = "29.0", repo_name = "com_google_protobuf")
35-
bazel_dep(name = "protoc-gen-validate", version = "1.0.4.bcr.2", repo_name = "com_envoyproxy_protoc_gen_validate")
3632
bazel_dep(name = "re2", version = "2024-07-02", repo_name = "com_googlesource_code_re2") # mistmached 2022-04-01
3733
bazel_dep(name = "rules_apple", version = "3.16.0", repo_name = "build_bazel_rules_apple")
3834
bazel_dep(name = "rules_cc", version = "0.0.17")
39-
bazel_dep(name = "rules_java", version = "8.7.0")
4035
bazel_dep(name = "rules_proto", version = "7.0.2")
4136
bazel_dep(name = "xds", version = "0.0.0-20240423-555b57e", repo_name = "com_github_cncf_xds") # mismatched 20231116
4237
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")

Makefile

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rakefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ task 'gem:native', [:plat] do |t, args|
143143
verbose = ENV['V'] || '0'
144144

145145
grpc_config = ENV['GRPC_CONFIG'] || 'opt'
146-
ruby_cc_versions = ['3.3.0', '3.2.0', '3.1.0', '3.0.0'].join(':')
146+
target_ruby_minor_versions = ['3.4', '3.3', '3.2', '3.1', '3.0']
147147
selected_plat = "#{args[:plat]}"
148148

149149
# use env variable to set artifact build paralellism
@@ -177,6 +177,8 @@ task 'gem:native', [:plat] do |t, args|
177177
end
178178
end
179179

180+
require 'rake_compiler_dock'
181+
180182
# Create the windows dlls or create the empty placeholders
181183
Rake::Task['dlls'].execute(plat: windows_platforms)
182184

@@ -187,7 +189,7 @@ task 'gem:native', [:plat] do |t, args|
187189
bundle update && \
188190
bundle exec rake clean && \
189191
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
190-
RUBY_CC_VERSION=#{ruby_cc_versions} \
192+
RUBY_CC_VERSION=#{RakeCompilerDock.ruby_cc_version(*target_ruby_minor_versions)} \
191193
V=#{verbose} \
192194
GRPC_CONFIG=#{grpc_config} \
193195
GRPC_RUBY_BUILD_PROCS=#{nproc_override}
@@ -220,7 +222,7 @@ task 'gem:native', [:plat] do |t, args|
220222
bundle exec rake clean && \
221223
export GRPC_RUBY_DEBUG_SYMBOLS_OUTPUT_DIR=#{debug_symbols_dir} && \
222224
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
223-
RUBY_CC_VERSION=#{ruby_cc_versions} \
225+
RUBY_CC_VERSION=#{RakeCompilerDock.ruby_cc_version(*target_ruby_minor_versions)} \
224226
V=#{verbose} \
225227
GRPC_CONFIG=#{grpc_config} \
226228
GRPC_RUBY_BUILD_PROCS=#{nproc_override}

bazel/experiments.bzl

Lines changed: 7 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bazel/grpc_build_system.bzl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,13 @@ EVENT_ENGINES = {"default": {"tags": []}}
4747
def if_not_windows(a):
4848
return select({
4949
"//:windows": [],
50-
"//:windows_msvc": [],
5150
"//:windows_clang": [],
5251
"//conditions:default": a,
5352
})
5453

5554
def if_windows(a):
5655
return select({
5756
"//:windows": a,
58-
"//:windows_msvc": a,
5957
"//:windows_clang": a,
6058
"//conditions:default": [],
6159
})
@@ -118,7 +116,7 @@ def _update_visibility(visibility):
118116
"grpc_public_hdrs": PRIVATE,
119117
"grpcpp_gcp_observability": PUBLIC,
120118
"grpc_resolver_fake": PRIVATE,
121-
"grpc++_public_hdrs": PUBLIC,
119+
"grpc++_public_hdrs": PRIVATE,
122120
"http": PRIVATE,
123121
"httpcli": PRIVATE,
124122
"iomgr_internal_errqueue": PRIVATE,

bazel/grpc_deps.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,11 @@ def grpc_deps():
202202
if "envoy_api" not in native.existing_rules():
203203
http_archive(
204204
name = "envoy_api",
205-
sha256 = "aed4389a9cf7777df7811185770dca7352f19a2fd68a41ae04e47071dada31eb",
206-
strip_prefix = "data-plane-api-88a37373e3cb5e1ab09e75dfb302b083168e6654",
205+
sha256 = "cd8b49614408b43bd45d90e3e98d69e24eea632ff42ac3bfb8bca68bc31e377f",
206+
strip_prefix = "data-plane-api-4de3c74cf21a9958c1cf26d8993c55c6e0d28b49",
207207
urls = [
208-
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/88a37373e3cb5e1ab09e75dfb302b083168e6654.tar.gz",
209-
"https://github.com/envoyproxy/data-plane-api/archive/88a37373e3cb5e1ab09e75dfb302b083168e6654.tar.gz",
208+
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/4de3c74cf21a9958c1cf26d8993c55c6e0d28b49.tar.gz",
209+
"https://github.com/envoyproxy/data-plane-api/archive/4de3c74cf21a9958c1cf26d8993c55c6e0d28b49.tar.gz",
210210
],
211211
)
212212

0 commit comments

Comments
 (0)