Build & project (8)

GN build targets, module metadata, the public C++ API surface, macros, field trials, and in-tree docs.

dep_graphDependency Graph

Show dependencies between GN build targets (parses BUILD.gn deps/public_deps), or reverse dependencies.

ParameterTypeRequiredDefaultDescription
targetstringrequiredGN target, e.g. "api:peer_connection" or "modules/video_coding:video_coding".
directionenum["deps","rdeps","both"]optionaldepsdeps = dependencies of target, rdeps = targets that depend on it.
max_depthnumberoptional1Depth of traversal (max 2).
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.

component_infoComponent Info

Aggregated info about a module/directory: BUILD.gn targets, OWNERS, README, public headers, and source file count.

ParameterTypeRequiredDefaultDescription
pathstringrequiredModule directory, e.g. "modules/audio_coding" or "api".
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.

get_api_headersGet API Headers

List or read public API header files from the api/ directory — the stable public API surface.

ParameterTypeRequiredDefaultDescription
subdirectorystringoptionalSubdirectory of api/, e.g. "video", "audio_codecs", "transport".
filterstringoptionalFilter header file names by substring.
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.

get_build_targetsGet Build Targets

Search for GN build targets in BUILD.gn files, or read a specific BUILD.gn.

ParameterTypeRequiredDefaultDescription
querystringoptionalSearch for targets by name or keyword.
pathstringoptionalRead a specific BUILD.gn file, e.g. "api/BUILD.gn".
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.

explain_macroExplain Macro

Find the definition, location, and explanation of a WebRTC macro, e.g. RTC_EXPORT, RTC_DCHECK, RTC_LOG.

ParameterTypeRequiredDefaultDescription
macrostringrequiredMacro name, e.g. "RTC_EXPORT" or "RTC_DCHECK".
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.

field_trialsField Trials

Search and inspect WebRTC field trial flags — list all, search by name, or get detailed usage for a specific trial.

ParameterTypeRequiredDefaultDescription
querystringoptionalSearch by name substring, e.g. "Bwe" or "FlexFEC". Omit to list all.
namestringoptionalExact field trial name for detailed lookup, e.g. "WebRTC-FlexFEC-03".
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.

third_party_infoThird Party Info

List third_party dependencies for a version, parsed from the DEPS file (names, git URLs, pinned commits).

ParameterTypeRequiredDefaultDescription
querystringoptionalFilter by name substring, e.g. "boring" or "opus".
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.

read_docRead Documentation

Search and read documentation (.md) files in the source tree — by keyword, or read a specific doc file.

ParameterTypeRequiredDefaultDescription
querystringoptionalKeyword to search for in documentation files.
pathstringoptionalSpecific doc file to read, e.g. "g3doc/index.md".
versionstringoptionallibwebrtc version, e.g. "M131". Also accepts browser overlays "F133" (Firefox) / "S26" (Safari). Default: latest installed.