xref: /aosp_15_r20/external/webrtc/tools_webrtc/iwyu/mappings.imp (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1#
2# Mappings file for IWYU in webrtc
3#
4# Documentation of syntax:
5# https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md
6#
7# Remember that it needs include strings INCLUDING <> or "" inside the quotes.
8#
9[
10# Redirect to have gmock and gtest includes under our control
11{ include: ['"gmock/gmock.h"', "private", '"test/gmock.h"', "public"] },
12{ include: ['"gtest/gtest.h"', "private", '"test/gtest.h"', "public"] },
13
14# rtc_base/containers internal defs
15{ include: ['"rtc_base/containers/flat_tree.h"', "private", '"rtc_base/containers/flat_set.h"', "public"] },
16
17# Revectoring of JSON
18{ include: ['"json/reader.h"', "private", '"rtc_base/strings/json.h"', "public"] },
19{ include: ['"json/value.h"', "private", '"rtc_base/strings/json.h"', "public"] },
20
21# LIBSRTP overrides
22{ include: ['"rdbx.h"', "private", '"third_party/libsrtp/include/srtp_priv.h"', "public"] },
23{ include: ['"auth.h"', "private", '"third_party/libsrtp/include/srtp_priv.h"', "public"] },
24
25# pthread internals
26{ include: ['<bits/pthread_types.h>', "private", '<pthread.h>', "public"] },
27
28# Needed to agree with presubmit tests for includes (and not include <iosfwd>)
29{ symbol: ["std::string", "public", "<string>", "public"] },
30{ symbol: ["std::move", "public", "<utility>", "public"] },
31{ symbol: ["std::make_unique", "public", "<memory>", "public"] },
32{ symbol: ["std::unique_ptr", "public", "<memory>", "public"] },
33# Needed to avoid <iosfwd>
34{ symbol: ["std::ostringstream", "public", "<sstream>", "public"] },
35
36{ ref: "../../buildtools/third_party/libc++/trunk/include/libcxx.imp" },
37]
38
39