More work cleaning up the BUILD files
Change-Id: I47fb18e7a12cd7e081631a5369274ef1e25f22c4
diff --git a/frc971/control_loops/BUILD b/frc971/control_loops/BUILD
index b6e1caf..75fda32 100644
--- a/frc971/control_loops/BUILD
+++ b/frc971/control_loops/BUILD
@@ -12,7 +12,7 @@
],
deps = [
'//aos/common/network:team_number',
- '//third_party/gtest',
+ '//aos/testing:googletest',
],
)
@@ -23,7 +23,7 @@
],
deps = [
':state_feedback_loop',
- '//third_party/gtest',
+ '//aos/testing:googletest',
],
)
@@ -49,7 +49,7 @@
deps = [
':queues',
':position_sensor_sim',
- '//third_party/gtest',
+ '//aos/testing:googletest',
'//aos/common/logging',
],
)
diff --git a/frc971/control_loops/voltage_cap/BUILD b/frc971/control_loops/voltage_cap/BUILD
index 1b9cc63..ed2181c 100644
--- a/frc971/control_loops/voltage_cap/BUILD
+++ b/frc971/control_loops/voltage_cap/BUILD
@@ -17,7 +17,7 @@
],
deps = [
':voltage_cap',
- '//third_party/gtest',
+ '//aos/testing:googletest',
'//aos/common:queue_testutils',
],
)
diff --git a/frc971/wpilib/BUILD b/frc971/wpilib/BUILD
index a7e8697..c611d32 100644
--- a/frc971/wpilib/BUILD
+++ b/frc971/wpilib/BUILD
@@ -18,7 +18,7 @@
'encoder_and_potentiometer.h',
],
deps = [
- '//third_party/WPILib',
+ '//aos/externals:wpilib',
':dma_edge_counting',
'//aos/linux_code:init',
'//aos/common/logging',
@@ -35,7 +35,7 @@
'dma_edge_counting.h',
],
deps = [
- '//third_party/WPILib',
+ '//aos/externals:wpilib',
'//aos/common/logging',
':hall_effect',
],
@@ -50,7 +50,7 @@
'interrupt_edge_counting.h',
],
deps = [
- '//third_party/WPILib',
+ '//aos/externals:wpilib',
'//aos/common/logging',
'//aos/common:stl_mutex',
'//aos/common:time',
@@ -69,7 +69,7 @@
'buffered_pcm.h',
],
deps = [
- '//third_party/WPILib',
+ '//aos/externals:wpilib',
'//aos/common/logging',
],
)
@@ -83,7 +83,7 @@
'gyro_interface.h',
],
deps = [
- '//third_party/WPILib',
+ '//aos/externals:wpilib',
'//aos/common/logging',
],
)
@@ -134,7 +134,7 @@
'joystick_sender.h',
],
deps = [
- '//third_party/WPILib',
+ '//aos/externals:wpilib',
'//aos/common/messages:robot_state',
'//aos/linux_code:init',
'//aos/common/network:team_number',
@@ -145,6 +145,6 @@
cc_library(
name = 'hall_effect',
deps = [
- '//third_party/WPILib',
+ '//aos/externals:wpilib',
],
)
diff --git a/frc971/zeroing/BUILD b/frc971/zeroing/BUILD
index 7209886..2d03102 100644
--- a/frc971/zeroing/BUILD
+++ b/frc971/zeroing/BUILD
@@ -1,5 +1,14 @@
package(default_visibility = ['//visibility:public'])
+load('/aos/build/queues', 'queue_library')
+
+queue_library(
+ name = 'zeroing_queue',
+ srcs = [
+ 'zeroing_queue.q',
+ ],
+)
+
cc_library(
name = 'zeroing',
srcs = [
@@ -19,7 +28,7 @@
'zeroing_test.cc',
],
deps = [
- '//third_party/gtest',
+ '//aos/testing:googletest',
'//aos/common:queue_testutils',
':zeroing',
'//aos/common/util:thread',