| # Copyright 2025 Google LLC |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # https://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| """Idiomatic C++ client libraries for Google Cloud Platform.""" |
| |
| module( |
| name = "google_cloud_cpp", |
| version = "3.2.0", # Updated by CMake |
| compatibility_level = 3, # Updated by CMake |
| ) |
| |
| bazel_dep(name = "platforms", version = "1.0.0") |
| bazel_dep(name = "bazel_skylib", version = "1.8.2") |
| bazel_dep(name = "rules_cc", version = "0.2.14") |
| bazel_dep(name = "abseil-cpp", version = "20250814.1") |
| |
| # For backwards compatibility with WORKSPACE. |
| # The name "com_google_protobuf" is internally used by @bazel_tools, |
| # a native repository we cannot override. |
| # See https://github.com/googleapis/google-cloud-cpp/issues/15393 |
| bazel_dep(name = "protobuf", version = "33.1", repo_name = "com_google_protobuf") |
| bazel_dep(name = "boringssl", version = "0.20251124.0") |
| bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1") |
| bazel_dep(name = "curl", version = "8.8.0.bcr.3") |
| bazel_dep(name = "opentelemetry-cpp", version = "1.24.0") |
| bazel_dep(name = "rules_proto", version = "7.1.0") |
| bazel_dep(name = "rules_python", version = "1.6.3") |
| bazel_dep(name = "rules_apple", version = "4.3.2") |
| bazel_dep(name = "googletest", version = "1.17.0.bcr.2") |
| |
| bazel_dep(name = "google_benchmark", version = "1.9.4", dev_dependency = True, repo_name = "com_google_benchmark") |
| bazel_dep(name = "yaml-cpp", version = "0.8.0", dev_dependency = True, repo_name = "com_github_jbeder_yaml_cpp") |
| bazel_dep(name = "pugixml", version = "1.15", dev_dependency = True, repo_name = "com_github_zeux_pugixml") |
| |
| # Pin this to fix a break in bazel/deps-cache.py |
| bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2", dev_dependency = True, repo_name = "com_envoyproxy_protoc_gen_validate") |
| |
| python = use_extension("@rules_python//python/extensions:python.bzl", "python") |
| python.toolchain( |
| ignore_root_user_error = True, |
| python_version = "3.11", |
| ) |
| |
| bazel_dep(name = "grpc", version = "1.76.0.bcr.1") |
| bazel_dep(name = "googleapis", version = "0.0.0-20260223-edfe7983") |
| bazel_dep(name = "googleapis-cc", version = "1.0.0") |
| bazel_dep(name = "googleapis-grpc-cc", version = "1.0.0") |