Allow absl map and set containers in WebRTC

Bug: None
No-Try: True
Change-Id: I84218daf71de115af74e0484bc26e798f125297a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/370762
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43529}
This commit is contained in:
Danil Chapovalov 2024-12-09 18:09:53 +01:00 committed by WebRTC LUCI CQ
parent 740d726739
commit d004aee4a4
2 changed files with 5 additions and 2 deletions

3
DEPS
View File

@ -2219,7 +2219,8 @@ include_rules = [
"+absl/base/nullability.h",
"+absl/base/macros.h",
"+absl/cleanup/cleanup.h",
"+absl/container/inlined_vector.h",
"+absl/container",
"-absl/container/fixed_array.h"
"+absl/functional/any_invocable.h",
"+absl/functional/bind_front.h",
"+absl/memory/memory.h",

View File

@ -27,6 +27,7 @@ on a monolithic Abseil build target that will generate a shared library.
* `absl::AnyInvocable`
* `absl::bind_front`
* `absl::Cleanup`
* [Hash tables, and B-tree ordered][abseil-containers] containers
* `absl::InlinedVector`
* `absl::Nonnull` and `absl::Nullable`
* `absl::WrapUnique`
@ -48,6 +49,7 @@ on a monolithic Abseil build target that will generate a shared library.
* ABSL_FLAG is allowed in tests and tools, but disallowed in in non-test code.
[abseil-containers]: https://abseil.io/docs/cpp/guides/container
## **Disallowed**
@ -81,5 +83,5 @@ with a modest number of arguments can easily add several hundred bytes
to the binary.
Exception: Single-argument absl::StrCat is allowed in order to make it
easy to use AbslStringify. See [TOTW #2015](https://abseil.io/tips/215) for
easy to use AbslStringify. See [TOTW #215](https://abseil.io/tips/215) for
details on AbslStringify.