Dedulicate make_unique
This also gets us off of the WPILib one which goes away for 2019.
Change-Id: I0436ce8fd477bbb27d9b0a7c4832dad01c9bad35
diff --git a/y2016/BUILD b/y2016/BUILD
index 0e72985..92f0c86 100644
--- a/y2016/BUILD
+++ b/y2016/BUILD
@@ -1,4 +1,4 @@
-load('//frc971:downloader.bzl', 'robot_downloader')
+load("//frc971:downloader.bzl", "robot_downloader")
cc_library(
name = "constants",
@@ -11,8 +11,8 @@
visibility = ["//visibility:public"],
deps = [
"//aos:once",
- "//aos/mutex:mutex",
"//aos/logging",
+ "//aos/mutex",
"//aos/network:team_number",
"//frc971:constants",
"//frc971:shifter_hall_effect",
@@ -28,12 +28,12 @@
],
deps = [
":constants",
- "//aos/time:time",
- "//aos/actions:action_lib",
- "//aos/logging",
- "//aos/util:log_interval",
- "//aos/input:joystick_input",
"//aos:init",
+ "//aos/actions:action_lib",
+ "//aos/input:joystick_input",
+ "//aos/logging",
+ "//aos/time",
+ "//aos/util:log_interval",
"//frc971/autonomous:auto_queue",
"//frc971/control_loops/drivetrain:drivetrain_queue",
"//frc971/queues:gyro",
@@ -48,21 +48,21 @@
)
robot_downloader(
- start_binaries = [
- ':joystick_reader',
- ':wpilib_interface',
- '//y2016/control_loops/drivetrain:drivetrain',
- '//y2016/control_loops/superstructure:superstructure',
- '//y2016/control_loops/shooter:shooter',
- '//y2016/dashboard:dashboard',
- '//y2016/actors:autonomous_action',
- '//y2016/actors:superstructure_action',
- '//y2016/actors:vision_align_action',
- '//y2016/vision:target_receiver',
- ],
- dirs = [
- '//y2016/dashboard:www_files',
- ],
+ dirs = [
+ "//y2016/dashboard:www_files",
+ ],
+ start_binaries = [
+ ":joystick_reader",
+ ":wpilib_interface",
+ "//y2016/control_loops/drivetrain:drivetrain",
+ "//y2016/control_loops/superstructure:superstructure",
+ "//y2016/control_loops/shooter:shooter",
+ "//y2016/dashboard:dashboard",
+ "//y2016/actors:autonomous_action",
+ "//y2016/actors:superstructure_action",
+ "//y2016/actors:vision_align_action",
+ "//y2016/vision:target_receiver",
+ ],
)
cc_binary(
@@ -73,17 +73,18 @@
restricted_to = ["//tools:roborio"],
deps = [
":constants",
+ "//aos:init",
+ "//aos:make_unique",
"//aos:math",
- "//aos/stl_mutex:stl_mutex",
- "//aos/time:time",
"//aos/controls:control_loop",
"//aos/logging",
"//aos/logging:queue_logging",
- "//aos/robot_state:robot_state",
+ "//aos/robot_state",
+ "//aos/stl_mutex",
+ "//aos/time",
"//aos/util:log_interval",
"//aos/util:phased_loop",
"//aos/util:wrapping_counter",
- "//aos:init",
"//frc971/autonomous:auto_queue",
"//frc971/control_loops:queues",
"//frc971/control_loops/drivetrain:drivetrain_queue",