This executable runs the clang tool for extraction of Network Traffic Annotations from chromium source code and collects and summarizes its outputs.
traffic_annotation_auditor [OPTION]... [path_filter]...
Extracts network traffic annotations from source files. If path filter(s) are specified, only those directories of the source will be analyzed. Run traffic_annotation_auditor --help
for options.
Example: traffic_annotation_auditor --build-dir=out/Debug
The binaries of this file and the clang tool are checked out into tools/traffic_annotation/bin/[platform]
. This is only done for Linux platform now and will be extended to other platforms later.
Before running, you need to build the COMPLETE chromium.
Before running, you need to build the COMPLETE chromium using clang with keeprsp switch as follows:
gn args [build_dir, e.g. out\Debug]
is_clang=true
to the opened text file and save and close it.ninja -C [build_dir] -d keeprsp