commit | 3ee9e7fc945a2b87a7ccda5adaba3a750e8c4ed5 | [log] [tgz] |
---|---|---|
author | Nicolas Ouellet-payeur <nicolaso@chromium.org> | Mon Jun 17 22:41:40 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jun 17 22:41:40 2019 |
tree | 34452ef128b70d872fe659a983830a28916c44b1 | |
parent | 96d28433edd43dd4d253a2890a289fdb336744c5 [diff] |
[Reland] traffic_annotation_auditor: add --extractor-backend flag This is a reland of r/668010 that fixes some CQ issues. This command-line flag can be used to run the auditor with the `python_script' backend, although it still defaults to the `clang_tool' backend. TESTED= * ran extractor_tests.py (tested on Linux + Windows) * ran `check_annotations.py --complete' before & after adding `extractor-backend=python_script' in it. There is only 1 annotation that gives different output, because of how the script works: https://pastebin.com/gWJ2WSDH (tested both on Linux, only tested python_script on Windows) * changed some annotations in C++ code, and checked that both modes suggest annotations.xml changes (tested on Linux + Windows) Bug: 966883 Change-Id: I47f10434b65fda5233dcdb0063143170a8e9569f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660773 Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Reviewed-by: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#669875}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .