1# Copyright 2024 The Abseil Authors. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# https://bazel.build/external/overview#bzlmod 16 17module( 18 name = "abseil-cpp", 19 version = "20240722.0", 20 compatibility_level = 1, 21) 22 23cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension") 24use_repo(cc_configure, "local_config_cc") 25 26# Only direct dependencies need to be listed below. 27# Please keep the versions in sync with the versions in the WORKSPACE file. 28 29bazel_dep(name = "bazel_skylib", 30 version = "1.5.0") 31 32bazel_dep(name = "google_benchmark", 33 version = "1.8.3", 34 repo_name = "com_github_google_benchmark", 35 dev_dependency = True) 36 37bazel_dep(name = "googletest", 38 version = "1.15.2", 39 repo_name = "com_google_googletest") 40 41bazel_dep(name = "platforms", 42 version = "0.0.10") 43