OLD | NEW |
(Empty) | |
| 1 # Network Traffic Annotation Auditor |
| 2 This script runs the clang tool for extraction of Network Traffic Annotations |
| 3 from chromium source code and collects and summarizes its outputs. |
| 4 |
| 5 ## Running |
| 6 1. `ninja -C [build directory] traffic_annotation_auditor` |
| 7 2. Copy * from `[build_directory]/pyproto/tools/traffic_annotation` to |
| 8 `tools/traffic_annotation/auditor` |
| 9 |
| 10 ## Usage |
| 11 `traffic_annotation_auditor.py [OPTION]... [path_filter]...` |
| 12 |
| 13 Extracts network traffic annotations from source files. If path filter(s) are |
| 14 specified, only those directories of the source will be analyzed. |
| 15 Run `traffic_annotation_auditor.py --help` for options. |
| 16 |
| 17 Example: |
| 18 `traffic_annotation_auditor.py --build-dir=out/Debug --summary-file= |
| 19 report.txt` |
| 20 |
| 21 |
| 22 ## Running on Windows |
| 23 Before running the script as above, you should build COMPLETE chromium with |
| 24 clang with keeprsp switch as follows: |
| 25 1. `gn args [build_dir, e.g. out\Debug]` |
| 26 2. add `is_clang=true` to the opened text file and save and close it. |
| 27 3. `ninja -C [build_dir] -d keeprsp -k 1000` |
OLD | NEW |