README.chromium (1676B)
1 Name: Abseil 2 Short Name: absl 3 URL: https://github.com/abseil/abseil-cpp 4 License: Apache-2.0 5 License File: LICENSE 6 Version: N/A 7 Revision: c65fa830409351c8eca1f741cc153255ae59d258 8 Security Critical: yes 9 Shipped: yes 10 11 Description: 12 This directory contains the source code of Abseil for C++. This can be used by 13 Chromium, subject to the guidance at 14 https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md; 15 it can be used without restriction by Chromium's dependencies, except that 16 objects compiled into Chromium itself cannot use anything relying on 17 absl::base_internal::FastTypeId (see https://crbug.com/1096380). 18 19 How to update Abseil: 20 21 1. 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 23 2. Update BUILD.gn files to match changes in BUILD.bazel 24 25 If there is a new test, add dependcy on it from absl_tests in the 26 third_party/abseil-cpp/BUILD.gn target 27 28 3. From your source root run third_party/abseil-cpp/generate_def_files.py to 29 regenerate Windows symbol definition files. 30 31 4. If abseil adds new features, update styleguide/c++/c++-features.md and add headers for that feature into exclude list in root DEPS 32 33 Local 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: 3