mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 20:14:23 +08:00
This requires a GoogleTest dependency update for compatibility The use of --action_env for setting up the compiler is changed because of https://github.com/bazelbuild/bazel/issues/26222 Also fix the path to the symbolizer in sanitizer builds PiperOrigin-RevId: 865570744 Change-Id: I403202956913519c714d6eed4968a9615853ac42
44 lines
1.3 KiB
Python
44 lines
1.3 KiB
Python
# Copyright 2024 The Abseil Authors.
|
|
#
|
|
# 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.
|
|
|
|
# https://bazel.build/external/overview#bzlmod
|
|
|
|
module(
|
|
name = "abseil-cpp",
|
|
version = "head",
|
|
compatibility_level = 1,
|
|
)
|
|
|
|
cc_configure = use_extension("@rules_cc//cc:extensions.bzl",
|
|
"cc_configure_extension",
|
|
dev_dependency = True)
|
|
use_repo(cc_configure, "local_config_cc")
|
|
|
|
bazel_dep(name = "rules_cc", version = "0.2.9")
|
|
bazel_dep(name = "bazel_skylib", version = "1.8.1")
|
|
bazel_dep(name = "platforms", version = "1.0.0")
|
|
|
|
bazel_dep(
|
|
name = "google_benchmark",
|
|
version = "1.9.5",
|
|
dev_dependency = True,
|
|
)
|
|
|
|
# Note: Googletest is NOT a dev_dependency. Some Abseil test utilities
|
|
# intended to be used by Abseil users depend on GoogleTest.
|
|
bazel_dep(
|
|
name = "googletest",
|
|
version = "1.17.0.bcr.2",
|
|
)
|