Add automated VR FPS test

Adds a new perf test to measure VR framerate and several related
metrics using VrCore's built-in performance monitoring option.

Also refactors the latency tests so code can be shared between the
FPS and latency tests.

Bug: 732937
Change-Id: Ie9a73e9ddedfb50b3c09f8b8c450f4a878831fed
Reviewed-on: https://chromium-review.googlesource.com/536093
Reviewed-by: Christopher Grant <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Commit-Queue: Brian Sheedy <[email protected]>
Cr-Commit-Position: refs/heads/master@{#482673}
diff --git a/testing/buildbot/gn_isolate_map.pyl b/testing/buildbot/gn_isolate_map.pyl
index f305fcf..4b9eca3d 100644
--- a/testing/buildbot/gn_isolate_map.pyl
+++ b/testing/buildbot/gn_isolate_map.pyl
@@ -159,6 +159,15 @@
       "-v",
     ],
   },
+  "vrcore_fps_test": {
+    "label": "//chrome/test/vr/perf:vrcore_fps_test",
+    "type": "script",
+    "script": "//chrome/test/vr/perf/vrcore_fps/run_vrcore_fps_test.py",
+    "args": [
+      "--output-dir=${ISOLATED_OUTDIR}",
+      "-v",
+    ],
+  },
   "base_junit_tests": {
     "label": "//base:base_junit_tests",
     "type": "junit_test",