Import Xvfb for testing with Cypress
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: Ib972845e30a04b9ceb3f7fedf4a9d3ad32a7bdf1
diff --git a/WORKSPACE b/WORKSPACE
index 2b3531c..53e54aa 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -185,6 +185,10 @@
"//debian:libtinfo5_arm64.bzl",
libtinfo5_arm64_debs = "files",
)
+load(
+ "//debian:xvfb_amd64.bzl",
+ xvfb_amd64_debs = "files",
+)
load("//debian:packages.bzl", "generate_repositories_for_debs")
generate_repositories_for_debs(rsync_debs)
@@ -237,6 +241,8 @@
generate_repositories_for_debs(libtinfo5_arm64_debs)
+generate_repositories_for_debs(xvfb_amd64_debs)
+
local_repository(
name = "com_grail_bazel_toolchain",
path = "third_party/bazel-toolchain",
@@ -1213,6 +1219,16 @@
urls = ["https://www.frc971.org/Build-Dependencies/libtinfo5_arm64.tar.gz"],
)
+http_archive(
+ name = "xvfb_amd64",
+ build_file = "//third_party:xvfb/xvfb.BUILD",
+ patch_cmds = [
+ "unlink usr/bin/X11",
+ ],
+ sha256 = "a7491bf6c47ed0037992fa493f9c25af3ab00a695d706e1fdc122a8b798c0d7c",
+ urls = ["https://www.frc971.org/Build-Dependencies/xvfb_amd64.tar.gz"],
+)
+
local_repository(
name = "com_github_nlohmann_json",
path = "third_party/com_github_nlohmann_json",