Add a function to report perf results in JSON format.

Add support to report perf results in the JSON format specified in [1].

[1] https://github.com/catapult-project/catapult/blob/master/dashboard/docs/data-format.md


Bug: webrtc:8566
Change-Id: I25f829a4b012b3e2a3d56d61582a674f780148d0
Reviewed-on: https://webrtc-review.googlesource.com/26031
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20950}
diff --git a/test/BUILD.gn b/test/BUILD.gn
index 9a50e1c..7eb896d 100644
--- a/test/BUILD.gn
+++ b/test/BUILD.gn
@@ -148,6 +148,7 @@
 
   deps = [
     "..:webrtc_common",
+    "../api:array_view",
     "../common_video",
     "../rtc_base:gtest_prod",
     "../rtc_base:rtc_base_approved",