Skip to content

Commit

Permalink
Merge Master
Browse files Browse the repository at this point in the history
  • Loading branch information
tanvi-jagtap committed Feb 3, 2025
2 parents e22745e + b64756a commit a5224a5
Show file tree
Hide file tree
Showing 508 changed files with 8,002 additions and 88,139 deletions.
20 changes: 3 additions & 17 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -176,27 +176,12 @@ config_setting(

config_setting(
name = "windows",
values = {"cpu": "x64_windows"},
)

config_setting(
name = "windows_msvc",
values = {"cpu": "x64_windows_msvc"},
constraint_values = ["@platforms//os:windows"],
)

config_setting(
name = "mac",
values = {"cpu": "darwin"},
)

config_setting(
name = "mac_x86_64",
values = {"cpu": "darwin_x86_64"},
)

config_setting(
name = "mac_arm64",
values = {"cpu": "darwin_arm64"},
constraint_values = ["@platforms//os:macos"],
)

config_setting(
Expand Down Expand Up @@ -2873,6 +2858,7 @@ grpc_cc_library(
"absl/container:inlined_vector",
"absl/log",
"absl/log:check",
"absl/functional:any_invocable",
],
visibility = ["@grpc:client_channel"],
deps = [
Expand Down
1,702 changes: 1,516 additions & 186 deletions CMakeLists.txt

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,14 @@ bazel_dep(name = "apple_support", version = "1.17.1", repo_name = "build_bazel_a
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "boringssl", version = "0.20241024.0") # mistmatched 20241211
bazel_dep(name = "c-ares", version = "1.15.0", repo_name = "com_github_cares_cares") # mistmatched 1.19.1
bazel_dep(name = "envoy_api", version = "0.0.0-20241214-918efc9") # mistmatched 20250106
bazel_dep(name = "google_benchmark", version = "1.9.0", repo_name = "com_github_google_benchmark")
bazel_dep(name = "envoy_api", version = "0.0.0-20250128-4de3c74")
bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a", repo_name = "com_google_googleapis")
bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest")
bazel_dep(name = "opencensus-cpp", version = "0.0.0-20230502-50eb5de", repo_name = "io_opencensus_cpp")
bazel_dep(name = "opentelemetry-cpp", version = "1.16.0", repo_name = "io_opentelemetry_cpp") # mistmached 1.18.0
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "protobuf", version = "29.0", repo_name = "com_google_protobuf")
bazel_dep(name = "protoc-gen-validate", version = "1.0.4.bcr.2", repo_name = "com_envoyproxy_protoc_gen_validate")
bazel_dep(name = "re2", version = "2024-07-02", repo_name = "com_googlesource_code_re2") # mistmached 2022-04-01
bazel_dep(name = "rules_apple", version = "3.16.0", repo_name = "build_bazel_rules_apple")
bazel_dep(name = "rules_cc", version = "0.0.17")
bazel_dep(name = "rules_java", version = "8.7.0")
bazel_dep(name = "rules_proto", version = "7.0.2")
bazel_dep(name = "xds", version = "0.0.0-20240423-555b57e", repo_name = "com_github_cncf_xds") # mismatched 20231116
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")
Expand Down
2 changes: 2 additions & 0 deletions Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Package.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ task 'gem:native', [:plat] do |t, args|
verbose = ENV['V'] || '0'

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

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

require 'rake_compiler_dock'

# Create the windows dlls or create the empty placeholders
Rake::Task['dlls'].execute(plat: windows_platforms)

Expand All @@ -187,7 +189,7 @@ task 'gem:native', [:plat] do |t, args|
bundle update && \
bundle exec rake clean && \
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
RUBY_CC_VERSION=#{ruby_cc_versions} \
RUBY_CC_VERSION=#{RakeCompilerDock.ruby_cc_version(*target_ruby_minor_versions)} \
V=#{verbose} \
GRPC_CONFIG=#{grpc_config} \
GRPC_RUBY_BUILD_PROCS=#{nproc_override}
Expand Down Expand Up @@ -220,7 +222,7 @@ task 'gem:native', [:plat] do |t, args|
bundle exec rake clean && \
export GRPC_RUBY_DEBUG_SYMBOLS_OUTPUT_DIR=#{debug_symbols_dir} && \
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
RUBY_CC_VERSION=#{ruby_cc_versions} \
RUBY_CC_VERSION=#{RakeCompilerDock.ruby_cc_version(*target_ruby_minor_versions)} \
V=#{verbose} \
GRPC_CONFIG=#{grpc_config} \
GRPC_RUBY_BUILD_PROCS=#{nproc_override}
Expand Down
21 changes: 1 addition & 20 deletions bazel/experiments.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions bazel/grpc_build_system.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,13 @@ EVENT_ENGINES = {"default": {"tags": []}}
def if_not_windows(a):
return select({
"//:windows": [],
"//:windows_msvc": [],
"//:windows_clang": [],
"//conditions:default": a,
})

def if_windows(a):
return select({
"//:windows": a,
"//:windows_msvc": a,
"//:windows_clang": a,
"//conditions:default": [],
})
Expand Down Expand Up @@ -118,7 +116,7 @@ def _update_visibility(visibility):
"grpc_public_hdrs": PRIVATE,
"grpcpp_gcp_observability": PUBLIC,
"grpc_resolver_fake": PRIVATE,
"grpc++_public_hdrs": PUBLIC,
"grpc++_public_hdrs": PRIVATE,
"http": PRIVATE,
"httpcli": PRIVATE,
"iomgr_internal_errqueue": PRIVATE,
Expand Down
8 changes: 4 additions & 4 deletions bazel/grpc_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ def grpc_deps():
if "envoy_api" not in native.existing_rules():
http_archive(
name = "envoy_api",
sha256 = "aed4389a9cf7777df7811185770dca7352f19a2fd68a41ae04e47071dada31eb",
strip_prefix = "data-plane-api-88a37373e3cb5e1ab09e75dfb302b083168e6654",
sha256 = "cd8b49614408b43bd45d90e3e98d69e24eea632ff42ac3bfb8bca68bc31e377f",
strip_prefix = "data-plane-api-4de3c74cf21a9958c1cf26d8993c55c6e0d28b49",
urls = [
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/88a37373e3cb5e1ab09e75dfb302b083168e6654.tar.gz",
"https://github.com/envoyproxy/data-plane-api/archive/88a37373e3cb5e1ab09e75dfb302b083168e6654.tar.gz",
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/4de3c74cf21a9958c1cf26d8993c55c6e0d28b49.tar.gz",
"https://github.com/envoyproxy/data-plane-api/archive/4de3c74cf21a9958c1cf26d8993c55c6e0d28b49.tar.gz",
],
)

Expand Down
Loading

0 comments on commit a5224a5

Please sign in to comment.