Add basic plotter for WebGL
There're still a bunch of TODOs. Will address those when we actually
have a need for this.
Change-Id: I137390d384967ffb618e0ecda37503e1e0df8301
diff --git a/build_tests/BUILD b/build_tests/BUILD
index 076e18c..a4c5829 100644
--- a/build_tests/BUILD
+++ b/build_tests/BUILD
@@ -26,6 +26,24 @@
],
)
+emcc_binary(
+ name = "plotter.html",
+ srcs = ["webgl2_plot_test.cc"],
+ html_shell = "minimal_shell.html",
+ linkopts = [
+ "-s",
+ "USE_WEBGL2=1",
+ "-s",
+ "FULL_ES3=1",
+ "-s",
+ "TOTAL_MEMORY=" + repr(256 * 1024 * 1024),
+ ],
+ deps = [
+ "//frc971/analysis/plotting:webgl2_animator",
+ "//frc971/analysis/plotting:webgl2_plotter",
+ ],
+)
+
cc_test(
name = "gflags_build_test",
size = "small",