File: README.chromium

package info (click to toggle)
chromium 139.0.7258.127-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 6,122,156 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (54 lines) | stat: -rw-r--r-- 2,223 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Name: Abseil
Short Name: absl
URL: https://github.com/abseil/abseil-cpp
License: Apache-2.0
License File: LICENSE
Version: N/A
Revision: 23d40c5dbdef4ffb8d53860ff9e6d81c57476eab
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:

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.

2. 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

3. From your source root run third_party/abseil-cpp/generate_def_files.py to
   regenerate Windows symbol definition files.

4. If abseil adds new features, update styleguide/c++/c++-features.md and add headers for that feature into exclude list in root DEPS

5. 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:

1. `git cl patch <CL number>`, then verify that `third_party/abseil-cpp/roll_abseil.py --no-branch --no-pull --no-upload --revision <Revision>`
   no-ops.
2. Check that changes to the .def files exist, or whether there is a comment in the CL description calling out they don't change.
3. 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