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