MODULE.bazel (1372B)
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 17 module( 18 name = "abseil-cpp", 19 version = "head", 20 compatibility_level = 1, 21 ) 22 23 cc_configure = use_extension("@rules_cc//cc:extensions.bzl", 24 "cc_configure_extension", 25 dev_dependency = True) 26 use_repo(cc_configure, "local_config_cc") 27 28 bazel_dep(name = "rules_cc", version = "0.0.17") 29 bazel_dep(name = "bazel_skylib", version = "1.7.1") 30 bazel_dep(name = "platforms", version = "0.0.10") 31 32 bazel_dep( 33 name = "google_benchmark", 34 version = "1.8.5", 35 dev_dependency = True, 36 ) 37 38 # Note: Googletest is NOT a dev_dependency. Some Abseil test utilities 39 # intended to be used by Abseil users depend on GoogleTest. 40 bazel_dep( 41 name = "googletest", 42 version = "1.16.0", 43 )