Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: tools/traffic_annotation/auditor/README.md

Issue 2448133006: Tool added to extract network traffic annotations. (Closed)
Patch Set: Comments addressed. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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`
OLDNEW
« no previous file with comments | « tools/traffic_annotation/auditor/DEPS ('k') | tools/traffic_annotation/auditor/prepare_protobuf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698