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 --summary-file= report.txt
Before running the script as above, you should build the COMPLETE chromium.
Before running the script as above, you should build the COMPLETE chromium with 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