Make Phoenix-frc-lib depend directly on 2018 wpilib
It has binaries which are only compatible with this version, so make the
dependency explicit to untangle upgrades.
Change-Id: I9487a9de46d690477fe5fa9ecae8314d56a853b4
diff --git a/third_party/Phoenix-frc-lib/BUILD b/third_party/Phoenix-frc-lib/BUILD
index 4686b68..dcfd0dc 100644
--- a/third_party/Phoenix-frc-lib/BUILD
+++ b/third_party/Phoenix-frc-lib/BUILD
@@ -38,6 +38,6 @@
restricted_to = ["//tools:roborio"],
visibility = ["//visibility:public"],
deps = [
- "//third_party:wpilib",
+ "//third_party/allwpilib_2018:hal",
],
)
diff --git a/third_party/allwpilib_2018/BUILD b/third_party/allwpilib_2018/BUILD
index 54e63da..9381a96 100644
--- a/third_party/allwpilib_2018/BUILD
+++ b/third_party/allwpilib_2018/BUILD
@@ -56,7 +56,10 @@
includes = _hal_header_dirs,
linkopts = ["-lpthread"],
restricted_to = ["//tools:roborio"],
- visibility = ["//third_party:__pkg__"],
+ visibility = [
+ "//third_party:__pkg__",
+ "//third_party/Phoenix-frc-lib:__pkg__",
+ ],
deps = [
"//aos/logging",
"//third_party/wpiutil_2018:wpiutil",