Name: Abseil Short Name: absl URL: https://github.com/abseil/abseil-cpp License: Apache-2.0 License File: LICENSE Version: N/A Revision: b9baf19a19821c22725f6fa7eedc107e47c33e5f Update Mechanism: Manual Security Critical: yes Shipped: yes
Description: This directory contains the source code of Abseil for C++. This can be used by Chromium, subject to the guidance at https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md; it can be used without restriction by Chromium's dependencies, except that objects compiled into Chromium itself cannot use anything relying on absl::base_internal::FastTypeId (see https://crbug.com/1096380).
How to update Abseil:
-
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.
-
Update BUILD.gn files to match changes in BUILD.bazel
If there is a new test, add dependcy on it from absl_tests in the third_party/abseil-cpp/BUILD.gn target
-
From your source root run third_party/abseil-cpp/generate_def_files.py to regenerate Windows symbol definition files.
-
If abseil adds new features, update styleguide/c++/c++-features.md and add headers for that feature into exclude list in root DEPS
-
Verify your roll no-ops upon
third_party/abseil-cpp/roll_abseil.py --no-branch --no-pull --no-upload --revision <Revision>
How to review a roll:
git cl patch <CL number>, then verify thatthird_party/abseil-cpp/roll_abseil.py --no-branch --no-pull --no-upload --revision <Revision>no-ops.- Check that changes to the .def files exist, or whether there is a comment in the CL description calling out they don't change.
- Check that every change in BUILD.bazel is matched by a counterpart in BUILD.gn.
Local Modifications:
-
absl/copts.bzl has been translated to //third_party/absl-cpp/BUILD.gn. Both files contain lists of compiler flags in order to reduce duplication.
-
All the BUILD.bazel files have been translated to BUILD.gn files.
-
Patches from //third_party/abseil-cpp/patches have been applied.
-
Increment this number to silence presubmits about modifying files in third_party when regenerating absl .def files: 3