Source mirror for WetGrape egpu: dawn-abseil-cpp
  • C++ 91.6%
  • Starlark 2.6%
  • CMake 2.1%
  • NASL 1.9%
  • C 0.7%
  • Other 1%
Find a file
Matt Stark edf0931ff4 Allowlist any target which has a public header include a private header
This is part of the check_includes_strict lsc (https://docs.google.com/document/d/1zYUC_zuFrZozo9ogFHcf0Rzkiw9W7RVnaY-1fzfQ0AM/edit?usp=sharing)

These are more complex situations that will require nontrivial changes.

Generated via:
gn check out/linux-x64 --error-limit=999999 > /tmp/errors.txt
gn edit "set check_includes_strict:expr CHECK_INCLUDES_STRICT_PUBLIC_INCLUDES_PRIVATE" $(gn refs out/linux-x64 --default-toolchain $(grep "Public headers cannot include private headers of the same target" /tmp/errors.txt | egrep -o "//[^:]*" | sort | uniq))

Bug: 556959580
Change-Id: I903434ed32aad05fb3c27bc34fbd82f36a6a6964
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8413978
Auto-Submit: Matt Stark <msta@google.com>
Commit-Queue: Matt Stark <msta@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Owners-Override: Matt Stark <msta@google.com>
Reviewed-by: Junji Watanabe <jwata@google.com>
Cr-Commit-Position: refs/heads/main@{#1698638}
NOKEYCHECK=True
GitOrigin-RevId: 53fc0e5d3871e25e7e599a3fe66f46392c9b3a52
2026-09-15 22:18:16 -07:00
.github Roll abseil_revision d7228036ab..5ad663b790 2023-04-12 04:53:06 -07:00
absl Allowlist any target which has a public header include a private header 2026-09-15 22:18:16 -07:00
ci Roll abseil_revision 43e07c386b..df9ca74f42 2026-08-19 05:20:31 -07:00
CMake Roll abseil_revision df9ca74f42..1c84143fb7 2026-08-26 00:08:51 -07:00
patches Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
.clang-format-ignore Roll abseil_revision 94be0866ac..669459108d 2025-06-04 09:26:48 -07:00
.style.yapf Introduce script to automatically convert abseil BUILD files to gn 2026-07-27 05:37:37 -07:00
ABSEIL_ISSUE_TEMPLATE.md Adding //third_party/abseil-cpp. 2018-04-12 09:29:41 +00:00
absl.gni Busybody: Format GN files 2026-06-01 00:44:31 -07:00
absl_hardening_test.cc Roll abseil_revision 33bbc26609..8fb4507d10 2026-05-20 06:41:41 -07:00
AUTHORS Adding //third_party/abseil-cpp. 2018-04-12 09:29:41 +00:00
BUILD.bazel Roll abseil_revision f623b01435..65b7da13bf 2025-01-08 04:28:58 -08:00
BUILD.gn Roll abseil_revision 2424af2367..207ac6d88b 2026-08-06 15:39:10 -07:00
CMakeLists.txt Roll abseil_revision 3b777f6798..04f3bc01d1 2026-03-11 05:31:48 -07:00
conanfile.py Roll abseil_revision 547802119d..c00a27581e 2022-08-24 04:18:40 -07:00
CONTRIBUTING.md Roll abseil_revision d7228036ab..5ad663b790 2023-04-12 04:53:06 -07:00
convert_bazel_to_gn.py Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
create_lts.py Roll abseil_revision 457fdbf960..29bd16cb92 2024-06-05 04:30:39 -07:00
DIR_METADATA [buganizer] Migrate DIR_METADATA in third_party 2024-02-12 12:03:49 -08:00
FAQ.md Roll abseil_revision 351df81acd..43a941465c 2026-02-18 06:07:52 -08:00
generate_def_files.py Regenerate .def file from the main script when rolling abseil 2026-08-06 02:10:00 -07:00
LICENSE Roll abseil_revision 88a152ae74..eab2078b53. 2019-03-25 12:40:12 +00:00
MODULE.bazel Roll abseil_revision 43e07c386b..df9ca74f42 2026-08-19 05:20:31 -07:00
OWNERS Add C++ toolchain team to OWNERS of abseil .def files 2025-07-17 16:38:58 -07:00
PrivacyInfo.xcprivacy Roll abseil_revision 10f3e6117b..6dda8e527f 2024-01-24 06:00:00 -08:00
README.chromium Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
README.md Roll abseil_revision 05e72a3285..52fa46a977 2025-02-24 07:56:25 -08:00
roll_abseil.py Regenerate .def file from the main script when rolling abseil 2026-08-06 02:10:00 -07:00
symbols_arm64_dbg.def Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
symbols_arm64_dbg_cxx23.def Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
symbols_arm64_rel.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
symbols_arm64_rel_cxx23.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
symbols_x64_dbg.def Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
symbols_x64_dbg_cxx23.def Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
symbols_x64_rel.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
symbols_x64_rel_asan.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
symbols_x64_rel_asan_cxx23.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
symbols_x64_rel_cxx23.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
symbols_x86_dbg.def Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
symbols_x86_dbg_cxx23.def Roll abseil_revision c2336f9b5c..a1b9918b18 2026-09-09 06:11:33 -07:00
symbols_x86_rel.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
symbols_x86_rel_cxx23.def Reland "Default -fsanitize=unreachable" 2026-09-10 22:32:29 -07:00
UPGRADES.md Roll abseil_revision fb0debf583..8518869eb9 2023-04-26 03:33:18 -07:00

Abseil - C++ Common Libraries

The repository contains the Abseil C++ library code. Abseil is an open-source collection of C++ code (compliant to C++17) designed to augment the C++ standard library.

Table of Contents

About Abseil

Abseil is an open-source collection of C++ library code designed to augment the C++ standard library. The Abseil library code is collected from Google's own C++ code base, has been extensively tested and used in production, and is the same code we depend on in our daily coding lives.

In some cases, Abseil provides pieces missing from the C++ standard; in others, Abseil provides alternatives to the standard for special needs we've found through usage in the Google code base. We denote those cases clearly within the library code we provide you.

Abseil is not meant to be a competitor to the standard library; we've just found that many of these utilities serve a purpose within our code base, and we now want to provide those resources to the C++ community as a whole.

Quickstart

If you want to just get started, make sure you at least run through the Abseil Quickstart. The Quickstart contains information about setting up your development environment, downloading the Abseil code, running tests, and getting a simple binary working.

Building Abseil

Bazel and CMake are the official build systems for Abseil. See the quickstart for more information on building Abseil using the Bazel build system. If you require CMake support, please check the CMake build instructions and CMake Quickstart.

Support

Abseil follows Google's Foundational C++ Support Policy. See this table for a list of currently supported versions compilers, platforms, and build tools.

Codemap

Abseil contains the following C++ library components:

  • base
    The base library contains initialization code and other code which all other Abseil code depends on. Code within base may not depend on any other code (other than the C++ standard library).
  • algorithm
    The algorithm library contains additions to the C++ <algorithm> library and container-based versions of such algorithms.
  • cleanup
    The cleanup library contains the control-flow-construct-like type absl::Cleanup which is used for executing a callback on scope exit.
  • container
    The container library contains additional STL-style containers, including Abseil's unordered "Swiss table" containers.
  • crc The crc library contains code for computing error-detecting cyclic redundancy checks on data.
  • debugging
    The debugging library contains code useful for enabling leak checks, and stacktrace and symbolization utilities.
  • flags
    The flags library contains code for handling command line flags for libraries and binaries built with Abseil.
  • hash
    The hash library contains the hashing framework and default hash functor implementations for hashable types in Abseil.
  • log
    The log library contains LOG and CHECK macros and facilities for writing logged messages out to disk, stderr, or user-extensible destinations.
  • memory
    The memory library contains memory management facilities that augment C++'s <memory> library.
  • meta
    The meta library contains type checks similar to those available in the C++ <type_traits> library.
  • numeric
    The numeric library contains 128-bit integer types as well as implementations of C++20's bitwise math functions.
  • profiling
    The profiling library contains utility code for profiling C++ entities. It is currently a private dependency of other Abseil libraries.
  • random
    The random library contains functions for generating pseudorandom values.
  • status
    The status library contains abstractions for error handling, specifically absl::Status and absl::StatusOr<T>.
  • strings
    The strings library contains a variety of strings routines and utilities.
  • synchronization
    The synchronization library contains concurrency primitives (Abseil's absl::Mutex class, an alternative to std::mutex) and a variety of synchronization abstractions.
  • time
    The time library contains abstractions for computing with absolute points in time, durations of time, and formatting and parsing time within time zones.
  • types
    The types library contains non-container utility types.
  • utility
    The utility library contains utility and helper code.

Releases

Abseil recommends users "live-at-head" (update to the latest commit from the master branch as often as possible). However, we realize this philosophy doesn't work for every project, so we also provide Long Term Support Releases to which we backport fixes for severe bugs. See our release management document for more details.

License

The Abseil C++ library is licensed under the terms of the Apache license. See LICENSE for more information.

For more information about Abseil: