From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../libwebrtc/tools_webrtc/iwyu/mappings.imp | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 third_party/libwebrtc/tools_webrtc/iwyu/mappings.imp (limited to 'third_party/libwebrtc/tools_webrtc/iwyu/mappings.imp') diff --git a/third_party/libwebrtc/tools_webrtc/iwyu/mappings.imp b/third_party/libwebrtc/tools_webrtc/iwyu/mappings.imp new file mode 100644 index 0000000000..a79997bdce --- /dev/null +++ b/third_party/libwebrtc/tools_webrtc/iwyu/mappings.imp @@ -0,0 +1,38 @@ +# +# Mappings file for IWYU in webrtc +# +# Documentation of syntax: +# https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md +# +# Remember that it needs include strings INCLUDING <> or "" inside the quotes. +# +[ +# Redirect to have gmock and gtest includes under our control +{ include: ['"gmock/gmock.h"', "private", '"test/gmock.h"', "public"] }, +{ include: ['"gtest/gtest.h"', "private", '"test/gtest.h"', "public"] }, + +# rtc_base/containers internal defs +{ include: ['"rtc_base/containers/flat_tree.h"', "private", '"rtc_base/containers/flat_set.h"', "public"] }, + +# Revectoring of JSON +{ include: ['"json/reader.h"', "private", '"rtc_base/strings/json.h"', "public"] }, +{ include: ['"json/value.h"', "private", '"rtc_base/strings/json.h"', "public"] }, + +# LIBSRTP overrides +{ include: ['"rdbx.h"', "private", '"third_party/libsrtp/include/srtp_priv.h"', "public"] }, +{ include: ['"auth.h"', "private", '"third_party/libsrtp/include/srtp_priv.h"', "public"] }, + +# pthread internals +{ include: ['', "private", '', "public"] }, + +# Needed to agree with presubmit tests for includes (and not include ) +{ symbol: ["std::string", "public", "", "public"] }, +{ symbol: ["std::move", "public", "", "public"] }, +{ symbol: ["std::make_unique", "public", "", "public"] }, +{ symbol: ["std::unique_ptr", "public", "", "public"] }, +# Needed to avoid +{ symbol: ["std::ostringstream", "public", "", "public"] }, + +{ ref: "../../buildtools/third_party/libc++/trunk/include/libcxx.imp" }, +] + -- cgit v1.2.3