Patrik Höglund 0019ff76ba Add third_party/absl.
Bug: webrtc:8821
Change-Id: I9d6479fd1a7c8c651ce32666301ddcd2ab3924fb
Reviewed-on: https://webrtc-review.googlesource.com/76601
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23225}
2018-05-15 07:01:20 +00:00

35 lines
1.2 KiB
Plaintext

Name: Abseil
Short Name: absl
URL: https://github.com/abseil/abseil-cpp
License: Apache 2.0
License File: LICENSE
Version: 0
Revision: af7882601aad93ada881486eeaabc562f1733961
Security Critical: yes
Description:
This directory contains the source code of Abseil for C++. This can be used by
Chromium's dependencies, but shouldn't be used by Chromium itself.
See: https://goo.gl/TgnJb8.
How to update Abseil:
1. Download the code from the Abseil git repository (see URL).
2. Copy the content of the Abseil git repo to //third_party/abseil-cpp.
3. From //third_party/abseil-cpp/ launch ./rename_dynamic_annotations.sh.
This script will rewrite dynamic_annotations macros and function inside
Abseil in order to avoid ODR violations and macro clashing with Chromium
(see: https://github.com/abseil/abseil-cpp/issues/122).
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 has been translated to BUILD.gn files.
* Functions and macros in absl/base/dynamic_annotations.{h,cc} have been renamed
to avoid ODR violations (see step 3).