Save target lists to json files

Introduce a new command line argument `--target-list-dir` to
run_all_fuzzers.py. When this arg presents, the script will save
the lists of successful targets and all targets to the designated
directory. `fuzz.py` will later upload those files to gcs.

Chromium code coverage dashboard UI will fetch the list and use that
to populate test types dropdown.

Bug: 416037384
Change-Id: Id13f21f30ed21ff26cc3352c740867221ac1e9d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6526087
Reviewed-by: Prakhar Asthana <pasthana@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1467105}
NOKEYCHECK=True
GitOrigin-RevId: a102375ce96ae9f008cdd9f3d141b299fd0d1da8
1 file changed