Patrik Höglund | 0019ff7 | 2018-05-14 16:21:00 +0200 | [diff] [blame^] | 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: 0 |
| 7 | Revision: af7882601aad93ada881486eeaabc562f1733961 |
| 8 | Security Critical: yes |
| 9 | |
| 10 | Description: |
| 11 | This directory contains the source code of Abseil for C++. This can be used by |
| 12 | Chromium's dependencies, but shouldn't be used by Chromium itself. |
| 13 | See: https://goo.gl/TgnJb8. |
| 14 | |
| 15 | How to update Abseil: |
| 16 | |
| 17 | 1. Download the code from the Abseil git repository (see URL). |
| 18 | |
| 19 | 2. Copy the content of the Abseil git repo to //third_party/abseil-cpp. |
| 20 | |
| 21 | 3. From //third_party/abseil-cpp/ launch ./rename_dynamic_annotations.sh. |
| 22 | This script will rewrite dynamic_annotations macros and function inside |
| 23 | Abseil in order to avoid ODR violations and macro clashing with Chromium |
| 24 | (see: https://github.com/abseil/abseil-cpp/issues/122). |
| 25 | |
| 26 | Local Modifications: |
| 27 | |
| 28 | * absl/copts.bzl has been translated to //third_party/absl-cpp/BUILD.gn. Both |
| 29 | files contain lists of compiler flags in order to reduce duplication. |
| 30 | |
| 31 | * All the BUILD.bazel files has been translated to BUILD.gn files. |
| 32 | |
| 33 | * Functions and macros in absl/base/dynamic_annotations.{h,cc} have been renamed |
| 34 | to avoid ODR violations (see step 3). |