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:
parent
740d726739
commit
d004aee4a4
3
DEPS
3
DEPS
@ -2219,7 +2219,8 @@ include_rules = [
|
|||||||
"+absl/base/nullability.h",
|
"+absl/base/nullability.h",
|
||||||
"+absl/base/macros.h",
|
"+absl/base/macros.h",
|
||||||
"+absl/cleanup/cleanup.h",
|
"+absl/cleanup/cleanup.h",
|
||||||
"+absl/container/inlined_vector.h",
|
"+absl/container",
|
||||||
|
"-absl/container/fixed_array.h"
|
||||||
"+absl/functional/any_invocable.h",
|
"+absl/functional/any_invocable.h",
|
||||||
"+absl/functional/bind_front.h",
|
"+absl/functional/bind_front.h",
|
||||||
"+absl/memory/memory.h",
|
"+absl/memory/memory.h",
|
||||||
|
|||||||
@ -27,6 +27,7 @@ on a monolithic Abseil build target that will generate a shared library.
|
|||||||
* `absl::AnyInvocable`
|
* `absl::AnyInvocable`
|
||||||
* `absl::bind_front`
|
* `absl::bind_front`
|
||||||
* `absl::Cleanup`
|
* `absl::Cleanup`
|
||||||
|
* [Hash tables, and B-tree ordered][abseil-containers] containers
|
||||||
* `absl::InlinedVector`
|
* `absl::InlinedVector`
|
||||||
* `absl::Nonnull` and `absl::Nullable`
|
* `absl::Nonnull` and `absl::Nullable`
|
||||||
* `absl::WrapUnique`
|
* `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.
|
* 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**
|
## **Disallowed**
|
||||||
|
|
||||||
@ -81,5 +83,5 @@ with a modest number of arguments can easily add several hundred bytes
|
|||||||
to the binary.
|
to the binary.
|
||||||
|
|
||||||
Exception: Single-argument absl::StrCat is allowed in order to make it
|
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.
|
details on AbslStringify.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user