Finish auto-converting most of the gyp files.
I've also started writing down which ones need manual work.
Change-Id: I442782e1e3352e0de32b612f1bd2c167f231495a
diff --git a/y2015/control_loops/claw/BUILD b/y2015/control_loops/claw/BUILD
new file mode 100644
index 0000000..134ef55
--- /dev/null
+++ b/y2015/control_loops/claw/BUILD
@@ -0,0 +1,74 @@
+package(default_visibility = ['//visibility:public'])
+
+load('/aos/build/queues', 'queue_library')
+
+cc_binary(
+ name = 'replay_claw',
+ srcs = [
+ 'replay_claw.cc',
+ ],
+ deps = [
+ ':claw_queue',
+ '//aos/common/controls:replay_control_loop',
+ '//aos/linux_code:init',
+ ],
+)
+
+queue_library(
+ name = 'claw_queue',
+ srcs = [
+ 'claw.q',
+ ],
+ deps = [
+ '//aos/common/controls:control_loop_queues',
+ '//frc971/control_loops:queues',
+ ],
+)
+
+cc_library(
+ name = 'claw_lib',
+ srcs = [
+ 'claw.cc',
+ 'claw_motor_plant.cc',
+ ],
+ hdrs = [
+ 'claw.h',
+ 'claw_motor_plant.h',
+ ],
+ deps = [
+ ':claw_queue',
+ '//aos/common/controls:control_loop',
+ '//aos/common:time',
+ '//aos/common/util:trapezoid_profile',
+ '//y2015:constants',
+ '//frc971/control_loops:state_feedback_loop',
+ '//frc971/zeroing:zeroing',
+ ],
+)
+
+cc_test(
+ name = 'claw_lib_test',
+ srcs = [
+ 'claw_lib_test.cc',
+ ],
+ deps = [
+ '//third_party/gtest',
+ ':claw_lib',
+ '//frc971/control_loops:state_feedback_loop',
+ '//aos/common/controls:control_loop_test',
+ '//aos/common:time',
+ '//frc971/control_loops:position_sensor_sim',
+ '//frc971/control_loops:team_number_test_environment',
+ ],
+)
+
+cc_binary(
+ name = 'claw',
+ srcs = [
+ 'claw_main.cc',
+ ],
+ deps = [
+ '//aos/linux_code:init',
+ ':claw_lib',
+ ],
+)