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

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

Issue 2448133006: Tool added to extract network traffic annotations. (Closed)
Patch Set: nits Created 3 years, 10 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 This tool runs the clang tool for extraction of Network Traffic Annotations
msramek 2017/02/21 15:57:53 The official guidance is to use markdown (README.m
Ramin Halavati 2017/02/23 12:09:49 Done.
2 from chromium source code and collects and summarizes its outputs.
3
4 Build:
5 ninja -C [build directory] traffic_annotation_auditor
6
7 Usage:
8 traffic_annotation_auditor [OPTION]... [path_filter]...
9 Extracts network traffic annotations from source files. If path filter(s) are
10 specified, only those directories of the source will be analyzed.
11
12 Options:
13 -h, --help Shows help.
14 --build_dir Path to the build directory from which the
15 annotations will be extracted.
16 --extractor_output_dir Path to the directory that extracted
17 partial files will be written to. Will
18 be automatically generated and deleted
19 if not specified.
20 --extracted_input_dir Path to a directory where extracted
21 partial annotations are already stored.
22 If specified, build directory will be
23 ignored.
24 --summary_file Path to an output file with summary of
25 extracted annotations.
26 Example:
27 traffic_annotation_auditor --build_dir=out/Debug
28 --summary_file=report.txt
msramek 2017/02/21 15:57:53 nit: Fits on the above line.
Ramin Halavati 2017/02/23 12:09:49 Done.
29
30
31 To run on Windows:
32 Before running the program as above, you should build COMPLETE chromium with
33 clang with keeprsp switch as follows:
34 1. gn args [build_dir, e.g. out\Debug]
35 2. add is_clang=true to the opened text file and save and close it.
36 3. ninja -C [build_dir] -d keeprsp -k 1000
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698