xref: /aosp_15_r20/external/webrtc/third_party/abseil-cpp/README.chromium (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1*d9f75844SAndroid Build Coastguard WorkerName: Abseil
2*d9f75844SAndroid Build Coastguard WorkerShort Name: absl
3*d9f75844SAndroid Build Coastguard WorkerURL: https://github.com/abseil/abseil-cpp
4*d9f75844SAndroid Build Coastguard WorkerLicense: Apache 2.0
5*d9f75844SAndroid Build Coastguard WorkerLicense File: LICENSE
6*d9f75844SAndroid Build Coastguard WorkerVersion: 0
7*d9f75844SAndroid Build Coastguard WorkerRevision: 0064d9db90d32d35e9f9d70e2df4ddf8d0ab1257
8*d9f75844SAndroid Build Coastguard WorkerSecurity Critical: yes
9*d9f75844SAndroid Build Coastguard Worker
10*d9f75844SAndroid Build Coastguard WorkerDescription:
11*d9f75844SAndroid Build Coastguard WorkerThis directory contains the source code of Abseil for C++. This can be used by
12*d9f75844SAndroid Build Coastguard WorkerChromium, subject to the guidance at
13*d9f75844SAndroid Build Coastguard Workerhttps://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md;
14*d9f75844SAndroid Build Coastguard Workerit can be used without restriction by Chromium's dependencies, except that
15*d9f75844SAndroid Build Coastguard Workerobjects compiled into Chromium itself cannot use anything relying on
16*d9f75844SAndroid Build Coastguard Workerabsl::base_internal::FastTypeId (see https://crbug.com/1096380).
17*d9f75844SAndroid Build Coastguard Worker
18*d9f75844SAndroid Build Coastguard WorkerHow to update Abseil:
19*d9f75844SAndroid Build Coastguard Worker
20*d9f75844SAndroid Build Coastguard Worker1. Download the code from the Abseil git repository (see URL).
21*d9f75844SAndroid Build Coastguard Worker
22*d9f75844SAndroid Build Coastguard Worker2. Copy the content of the Abseil git repo to //third_party/abseil-cpp.
23*d9f75844SAndroid Build Coastguard Worker
24*d9f75844SAndroid Build Coastguard Worker3. From your source root run third_party/abseil-cpp/generate_def_files.py to
25*d9f75844SAndroid Build Coastguard Worker   regenerate Windows symbol definition files.
26*d9f75844SAndroid Build Coastguard Worker
27*d9f75844SAndroid Build Coastguard WorkerLocal Modifications:
28*d9f75844SAndroid Build Coastguard Worker
29*d9f75844SAndroid Build Coastguard Worker* absl/copts.bzl has been translated to //third_party/absl-cpp/BUILD.gn. Both
30*d9f75844SAndroid Build Coastguard Worker  files contain lists of compiler flags in order to reduce duplication.
31*d9f75844SAndroid Build Coastguard Worker
32*d9f75844SAndroid Build Coastguard Worker* All the BUILD.bazel files have been translated to BUILD.gn files.
33*d9f75844SAndroid Build Coastguard Worker
34*d9f75844SAndroid Build Coastguard Worker* Patches from //third_party/abseil-cpp/patches have been applied.
35*d9f75844SAndroid Build Coastguard Worker
36*d9f75844SAndroid Build Coastguard Worker* Increment this number to silence presubmits about modifying files in
37*d9f75844SAndroid Build Coastguard Worker  third_party when regenerating absl .def files: 2
38