• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

CMake/H12-Nov-2020-1,2271,073

absl/H03-May-2022-196,671133,339

ABSEIL_ISSUE_TEMPLATE.mdH A D07-Nov-20201.1 KiB2316

AUTHORSH A D07-Nov-2020295 76

BUILD.gnH A D07-Nov-20201.9 KiB7870

CONTRIBUTING.mdH A D07-Nov-20206.7 KiB142107

FAQ.mdH A D07-Nov-20208.6 KiB165140

LICENSEH A D07-Nov-202011.1 KiB204169

LTS.mdH A D07-Nov-2020862 1712

OWNERSH A D07-Nov-2020117 75

README.chromiumH A D07-Nov-20201.3 KiB3727

README.mdH A D07-Nov-20204.7 KiB11594

UPGRADES.mdH A D07-Nov-2020642 1812

WORKSPACEH A D07-Nov-20201.8 KiB4641

absl.gniH A D07-Nov-20202.8 KiB8172

rename_annotations.shH A D07-Nov-20204.6 KiB166148

README.chromium

1Name: Abseil
2Short Name: absl
3URL: https://github.com/abseil/abseil-cpp
4License: Apache 2.0
5License File: LICENSE
6Version: 0
7Revision: fba8a316c30690097de5d6127ad307d84a1b74ca
8Security Critical: yes
9
10Description:
11This directory contains the source code of Abseil for C++. This can be used by
12Chromium's dependencies, but shouldn't be used by Chromium itself.
13See: https://goo.gl/TgnJb8.
14
15How to update Abseil:
16
171. Download the code from the Abseil git repository (see URL).
18
192. Copy the content of the Abseil git repo to //third_party/abseil-cpp.
20
213. From //third_party/abseil-cpp/ launch ./rename_annotations.sh.
22   This script will rewrite dynamic_annotations and thread_annotations
23   macros and function inside Abseil in order to avoid ODR violations
24   and macro clashing with Chromium
25   (see: https://github.com/abseil/abseil-cpp/issues/122).
26
27Local Modifications:
28
29* absl/copts.bzl has been translated to //third_party/absl-cpp/BUILD.gn. Both
30  files contain lists of compiler flags in order to reduce duplication.
31
32* All the BUILD.bazel files has been translated to BUILD.gn files.
33
34* Functions and macros in absl/base/dynamic_annotations.{h,cc} and
35  absl/base/thread_annotations.h have been renamed to avoid ODR
36  violations and macro clashes with Chromium (see step 3).
37

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++11) 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- [Codemap](#codemap)
13- [License](#license)
14- [Links](#links)
15
16<a name="about"></a>
17## About Abseil
18
19Abseil is an open-source collection of C++ library code designed to augment
20the C++ standard library. The Abseil library code is collected from Google's
21own C++ code base, has been extensively tested and used in production, and
22is the same code we depend on in our daily coding lives.
23
24In some cases, Abseil provides pieces missing from the C++ standard; in
25others, Abseil provides alternatives to the standard for special needs
26we've found through usage in the Google code base. We denote those cases
27clearly within the library code we provide you.
28
29Abseil is not meant to be a competitor to the standard library; we've
30just found that many of these utilities serve a purpose within our code
31base, and we now want to provide those resources to the C++ community as
32a whole.
33
34<a name="quickstart"></a>
35## Quickstart
36
37If you want to just get started, make sure you at least run through the
38[Abseil Quickstart](https://abseil.io/docs/cpp/quickstart). The Quickstart
39contains information about setting up your development environment, downloading
40the Abseil code, running tests, and getting a simple binary working.
41
42<a name="build"></a>
43## Building Abseil
44
45[Bazel](https://bazel.build) is the official build system for Abseil,
46which is supported on most major platforms (Linux, Windows, macOS, for example)
47and compilers. See the [quickstart](https://abseil.io/docs/cpp/quickstart) for
48more information on building Abseil using the Bazel build system.
49
50<a name="cmake"></a>
51If you require CMake support, please check the
52[CMake build instructions](CMake/README.md).
53
54## Codemap
55
56Abseil contains the following C++ library components:
57
58* [`base`](absl/base/) Abseil Fundamentals
59  <br /> The `base` library contains initialization code and other code which
60  all other Abseil code depends on. Code within `base` may not depend on any
61  other code (other than the C++ standard library).
62* [`algorithm`](absl/algorithm/)
63  <br /> The `algorithm` library contains additions to the C++ `<algorithm>`
64  library and container-based versions of such algorithms.
65* [`container`](absl/container/)
66  <br /> The `container` library contains additional STL-style containers,
67  including Abseil's unordered "Swiss table" containers.
68* [`debugging`](absl/debugging/)
69  <br /> The `debugging` library contains code useful for enabling leak
70  checks, and stacktrace and symbolization utilities.
71* [`hash`](absl/hash/)
72  <br /> The `hash` library contains the hashing framework and default hash
73  functor implementations for hashable types in Abseil.
74* [`memory`](absl/memory/)
75  <br /> The `memory` library contains C++11-compatible versions of
76  `std::make_unique()` and related memory management facilities.
77* [`meta`](absl/meta/)
78  <br /> The `meta` library contains C++11-compatible versions of type checks
79  available within C++14 and C++17 versions of the C++ `<type_traits>` library.
80* [`numeric`](absl/numeric/)
81  <br /> The `numeric` library contains C++11-compatible 128-bit integers.
82* [`strings`](absl/strings/)
83  <br /> The `strings` library contains a variety of strings routines and
84  utilities, including a C++11-compatible version of the C++17
85  `std::string_view` type.
86* [`synchronization`](absl/synchronization/)
87  <br /> The `synchronization` library contains concurrency primitives (Abseil's
88  `absl::Mutex` class, an alternative to `std::mutex`) and a variety of
89  synchronization abstractions.
90* [`time`](absl/time/)
91  <br /> The `time` library contains abstractions for computing with absolute
92  points in time, durations of time, and formatting and parsing time within
93  time zones.
94* [`types`](absl/types/)
95  <br /> The `types` library contains non-container utility types, like a
96  C++11-compatible version of the C++17 `std::optional` type.
97* [`utility`](absl/utility/)
98  <br /> The `utility` library contains utility and helper code.
99
100## License
101
102The Abseil C++ library is licensed under the terms of the Apache
103license. See [LICENSE](LICENSE) for more information.
104
105## Links
106
107For more information about Abseil:
108
109* Consult our [Abseil Introduction](https://abseil.io/about/intro)
110* Read [Why Adopt Abseil](https://abseil.io/about/philosophy) to understand our
111  design philosophy.
112* Peruse our
113  [Abseil Compatibility Guarantees](https://abseil.io/about/compatibility) to
114  understand both what we promise to you, and what we expect of you in return.
115