• Home
Name
Date
Size
#Lines
LOC

..--

.github/03-May-2024-6964

CMake/03-May-2024-1,6941,507

absl/03-May-2024-278,939191,503

ci/03-May-2024-1,166717

patches/03-May-2024-178156

ABSEIL_ISSUE_TEMPLATE.mdD03-May-20241.1 KiB2316

AUTHORSD03-May-2024295 76

BUILD.bazelD03-May-2024781 2622

BUILD.gnD03-May-20248.8 KiB273254

CMakeLists.txtD03-May-20248.7 KiB255213

CONTRIBUTING.mdD03-May-20246.7 KiB142107

DIR_METADATAD03-May-202443 43

FAQ.mdD03-May-20248.8 KiB168143

LICENSED03-May-202411.1 KiB204169

OWNERSD03-May-202490 64

README.chromiumD03-May-20241.6 KiB4431

README.mdD03-May-20246.6 KiB161137

UPGRADES.mdD03-May-2024641 1812

WORKSPACED03-May-20242.6 KiB6153

absl.gniD03-May-20243.7 KiB11196

absl_hardening_test.ccD03-May-20242.6 KiB8162

conanfile.pyD03-May-20242 KiB5238

create_lts.pyD03-May-20244.3 KiB13488

generate_def_files.pyD03-May-20247.4 KiB185126

roll_abseil.pyD03-May-20244.2 KiB13198

symbols_arm64_dbg.defD03-May-2024729 KiB4,7794,778

symbols_arm64_rel.defD03-May-2024142.7 KiB1,2901,289

symbols_x64_dbg.defD03-May-2024729 KiB4,7794,778

symbols_x64_rel.defD03-May-2024141.4 KiB1,2831,282

symbols_x64_rel_asan.defD03-May-2024150.4 KiB1,3371,336

symbols_x86_dbg.defD03-May-2024712.8 KiB4,7694,768

symbols_x86_rel.defD03-May-2024140.6 KiB1,2881,287

README.chromium

1Name: Abseil
2Short Name: absl
3URL: https://github.com/abseil/abseil-cpp
4License: Apache 2.0
5License File: LICENSE
6Version: 0
7Revision: e945c8d98719d2cca66ef1f0b83696becfa6a880
8Security Critical: yes
9Shipped: yes
10
11Description:
12This directory contains the source code of Abseil for C++. This can be used by
13Chromium, subject to the guidance at
14https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md;
15it can be used without restriction by Chromium's dependencies, except that
16objects compiled into Chromium itself cannot use anything relying on
17absl::base_internal::FastTypeId (see https://crbug.com/1096380).
18
19How to update Abseil:
20
211. From your source root run third_party/abseil-cpp/roll_abseil.py to download the code from the Abseil git repository and apply chromium specific patches.
22
232. Update BUILD.gn files to match changes in BUILD.bazel
24
25If there is a new test, add dependcy on it from absl_tests in the
26third_party/abseil-cpp/BUILD.gn target
27
283. From your source root run third_party/abseil-cpp/generate_def_files.py to
29   regenerate Windows symbol definition files.
30
314. If abseil adds new features, update styleguide/c++/c++-features.md and add headers for that feature into exclude list in root DEPS
32
33Local Modifications:
34
35* absl/copts.bzl has been translated to //third_party/absl-cpp/BUILD.gn. Both
36  files contain lists of compiler flags in order to reduce duplication.
37
38* All the BUILD.bazel files have been translated to BUILD.gn files.
39
40* Patches from //third_party/abseil-cpp/patches have been applied.
41
42* Increment this number to silence presubmits about modifying files in
43  third_party when regenerating absl .def files: 2
44

README.md

1# Abseil - C++ Common Libraries
2
3The repository contains the Abseil C++ library code. Abseil is an open-source
4collection of C++ code (compliant to C++14) designed to augment the C++
5standard library.
6
7## Table of Contents
8
9- [About Abseil](#about)
10- [Quickstart](#quickstart)
11- [Building Abseil](#build)
12- [Support](#support)
13- [Codemap](#codemap)
14- [Releases](#releases)
15- [License](#license)
16- [Links](#links)
17
18<a name="about"></a>
19## About Abseil
20
21Abseil is an open-source collection of C++ library code designed to augment
22the C++ standard library. The Abseil library code is collected from Google's
23own C++ code base, has been extensively tested and used in production, and
24is the same code we depend on in our daily coding lives.
25
26In some cases, Abseil provides pieces missing from the C++ standard; in
27others, Abseil provides alternatives to the standard for special needs
28we've found through usage in the Google code base. We denote those cases
29clearly within the library code we provide you.
30
31Abseil is not meant to be a competitor to the standard library; we've
32just found that many of these utilities serve a purpose within our code
33base, and we now want to provide those resources to the C++ community as
34a whole.
35
36<a name="quickstart"></a>
37## Quickstart
38
39If you want to just get started, make sure you at least run through the
40[Abseil Quickstart](https://abseil.io/docs/cpp/quickstart). The Quickstart
41contains information about setting up your development environment, downloading
42the Abseil code, running tests, and getting a simple binary working.
43
44<a name="build"></a>
45## Building Abseil
46
47[Bazel](https://bazel.build) and [CMake](https://cmake.org/) are the official
48build systems for Abseil.
49See the [quickstart](https://abseil.io/docs/cpp/quickstart) for more information
50on building Abseil using the Bazel build system.
51If you require CMake support, please check the [CMake build
52instructions](CMake/README.md) and [CMake
53Quickstart](https://abseil.io/docs/cpp/quickstart-cmake).
54
55<a name="support"></a>
56## Support
57
58Abseil follows Google's [Foundational C++ Support
59Policy](https://opensource.google/documentation/policies/cplusplus-support). See
60[this
61table](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md)
62for a list of currently supported versions compilers, platforms, and build
63tools.
64
65<a name="codemap"></a>
66## Codemap
67
68Abseil contains the following C++ library components:
69
70* [`base`](absl/base/)
71  <br /> The `base` library contains initialization code and other code which
72  all other Abseil code depends on. Code within `base` may not depend on any
73  other code (other than the C++ standard library).
74* [`algorithm`](absl/algorithm/)
75  <br /> The `algorithm` library contains additions to the C++ `<algorithm>`
76  library and container-based versions of such algorithms.
77* [`cleanup`](absl/cleanup/)
78  <br /> The `cleanup` library contains the control-flow-construct-like type
79  `absl::Cleanup` which is used for executing a callback on scope exit.
80* [`container`](absl/container/)
81  <br /> The `container` library contains additional STL-style containers,
82  including Abseil's unordered "Swiss table" containers.
83* [`crc`](absl/crc/) The `crc` library contains code for
84  computing error-detecting cyclic redundancy checks on data.
85* [`debugging`](absl/debugging/)
86  <br /> The `debugging` library contains code useful for enabling leak
87  checks, and stacktrace and symbolization utilities.
88* [`flags`](absl/flags/)
89  <br /> The `flags` library contains code for handling command line flags for
90  libraries and binaries built with Abseil.
91* [`hash`](absl/hash/)
92  <br /> The `hash` library contains the hashing framework and default hash
93  functor implementations for hashable types in Abseil.
94* [`log`](absl/log/)
95  <br /> The `log` library contains `LOG` and `CHECK` macros and facilities
96  for writing logged messages out to disk, `stderr`, or user-extensible
97  destinations.
98* [`memory`](absl/memory/)
99  <br /> The `memory` library contains memory management facilities that augment
100  C++'s `<memory>` library.
101* [`meta`](absl/meta/)
102  <br /> The `meta` library contains compatible versions of type checks
103  available within C++14 and C++17 versions of the C++ `<type_traits>` library.
104* [`numeric`](absl/numeric/)
105  <br /> The `numeric` library contains 128-bit integer types as well as
106  implementations of C++20's bitwise math functions.
107* [`profiling`](absl/profiling/)
108  <br /> The `profiling` library contains utility code for profiling C++
109  entities.  It is currently a private dependency of other Abseil libraries.
110* [`random`](absl/random/)
111  <br /> The `random` library contains functions for generating psuedorandom
112  values.
113* [`status`](absl/status/)
114  <br /> The `status` library contains abstractions for error handling,
115  specifically `absl::Status` and `absl::StatusOr<T>`.
116* [`strings`](absl/strings/)
117  <br /> The `strings` library contains a variety of strings routines and
118  utilities, including a C++14-compatible version of the C++17
119  `std::string_view` type.
120* [`synchronization`](absl/synchronization/)
121  <br /> The `synchronization` library contains concurrency primitives (Abseil's
122  `absl::Mutex` class, an alternative to `std::mutex`) and a variety of
123  synchronization abstractions.
124* [`time`](absl/time/)
125  <br /> The `time` library contains abstractions for computing with absolute
126  points in time, durations of time, and formatting and parsing time within
127  time zones.
128* [`types`](absl/types/)
129  <br /> The `types` library contains non-container utility types, like a
130  C++14-compatible version of the C++17 `std::optional` type.
131* [`utility`](absl/utility/)
132  <br /> The `utility` library contains utility and helper code.
133
134<a name="releases"></a>
135## Releases
136
137Abseil recommends users "live-at-head" (update to the latest commit from the
138master branch as often as possible). However, we realize this philosophy doesn't
139work for every project, so we also provide [Long Term Support
140Releases](https://github.com/abseil/abseil-cpp/releases) to which we backport
141fixes for severe bugs. See our [release
142management](https://abseil.io/about/releases) document for more details.
143
144<a name="license"></a>
145## License
146
147The Abseil C++ library is licensed under the terms of the Apache
148license. See [LICENSE](LICENSE) for more information.
149
150<a name="links"></a>
151## Links
152
153For more information about Abseil:
154
155* Consult our [Abseil Introduction](https://abseil.io/about/intro)
156* Read [Why Adopt Abseil](https://abseil.io/about/philosophy) to understand our
157  design philosophy.
158* Peruse our
159  [Abseil Compatibility Guarantees](https://abseil.io/about/compatibility) to
160  understand both what we promise to you, and what we expect of you in return.
161