Import foxglove schemas repo
This has to do a couple of things:
* Actually import the repo as an http_archive.
* Modify the cc_static_flatbuffer rule to allow it to handle a
flatbuffer target with multiple fbs files.
* Move foxglove-related third_party files into one directory.
Change-Id: I0123fc8037b107019f9c29b781418c9a03639eca
Signed-off-by: James Kuszmaul <jabukuszmaul@gmail.com>
diff --git a/WORKSPACE b/WORKSPACE
index 5e26090..3e1801c 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1303,9 +1303,9 @@
http_archive(
name = "com_github_foxglove_ws-protocol",
- build_file = "//third_party/foxglove_ws_protocol:foxglove_ws_protocol.BUILD",
+ build_file = "//third_party/foxglove/ws_protocol:foxglove_ws_protocol.BUILD",
patch_args = ["-p1"],
- patches = ["//third_party/foxglove_ws_protocol:foxglove_ws_protocol.patch"],
+ patches = ["//third_party/foxglove/ws_protocol:foxglove_ws_protocol.patch"],
sha256 = "3256f09a67419f6556778c443d332f1a4bf53ba0e7a464179bf838abffa366ab",
strip_prefix = "ws-protocol-releases-typescript-ws-protocol-examples-v0.0.6",
url = "https://github.com/foxglove/ws-protocol/archive/refs/tags/releases/typescript/ws-protocol-examples/v0.0.6.tar.gz",
@@ -1325,3 +1325,11 @@
strip_prefix = "asio-1.24.0",
url = "https://downloads.sourceforge.net/project/asio/asio/1.24.0%2520%2528Stable%2529/asio-1.24.0.tar.bz2",
)
+
+http_archive(
+ name = "com_github_foxglove_schemas",
+ build_file = "//third_party/foxglove/schemas:schemas.BUILD",
+ sha256 = "c0d08365eb8fba0af7773b5f0095fb53fb53f020bde46edaa308af5bb939fc15",
+ strip_prefix = "schemas-7a3e077b88142ac46bb4e2616f83dc029b45352e/schemas/flatbuffer",
+ url = "https://github.com/foxglove/schemas/archive/7a3e077b88142ac46bb4e2616f83dc029b45352e.tar.gz",
+)