Austin Schuh | 4f85729 | 2018-02-15 23:42:04 -0800 | [diff] [blame] | 1 | load('//aos/downloader:downloader.bzl', 'aos_downloader') |
Comran Morshed | 41ed7c2 | 2015-11-04 21:03:37 +0000 | [diff] [blame] | 2 | |
| 3 | cc_binary( |
Brian Silverman | 3505ef9 | 2015-12-12 17:23:38 -0500 | [diff] [blame] | 4 | name = 'joystick_reader', |
Comran Morshed | 41ed7c2 | 2015-11-04 21:03:37 +0000 | [diff] [blame] | 5 | srcs = [ |
| 6 | 'joystick_reader.cc', |
| 7 | ], |
| 8 | deps = [ |
Brian Silverman | c206573 | 2015-11-28 22:55:30 +0000 | [diff] [blame] | 9 | '//aos/input:joystick_input', |
Comran Morshed | 41ed7c2 | 2015-11-04 21:03:37 +0000 | [diff] [blame] | 10 | '//aos/linux_code:init', |
| 11 | '//aos/common/logging', |
| 12 | '//aos/common:time', |
| 13 | '//aos/common/util:log_interval', |
| 14 | '//aos/common/actions:action_lib', |
| 15 | |
| 16 | '//frc971/queues:gyro', |
| 17 | '//y2014_bot3/autonomous:auto_queue', |
| 18 | '//y2014_bot3/control_loops/rollers:rollers_queue', |
Adam Snaider | 83eae56 | 2016-09-10 16:47:33 -0700 | [diff] [blame] | 19 | '//frc971/control_loops/drivetrain:drivetrain_queue', |
Comran Morshed | 41ed7c2 | 2015-11-04 21:03:37 +0000 | [diff] [blame] | 20 | ], |
| 21 | ) |
Brian Silverman | 8154ed1 | 2015-11-28 23:03:17 +0000 | [diff] [blame] | 22 | |
| 23 | aos_downloader( |
Adam Snaider | 83eae56 | 2016-09-10 16:47:33 -0700 | [diff] [blame] | 24 | name = 'download_stripped', |
Brian Silverman | 8154ed1 | 2015-11-28 23:03:17 +0000 | [diff] [blame] | 25 | start_srcs = [ |
Adam Snaider | 83eae56 | 2016-09-10 16:47:33 -0700 | [diff] [blame] | 26 | ':joystick_reader.stripped', |
Brian Silverman | 06016bc | 2017-02-11 16:34:34 -0800 | [diff] [blame] | 27 | ':wpilib_interface.stripped', |
Adam Snaider | 83eae56 | 2016-09-10 16:47:33 -0700 | [diff] [blame] | 28 | '//aos:prime_start_binaries_stripped', |
| 29 | '//y2014_bot3/autonomous:auto.stripped', |
| 30 | '//y2014_bot3/control_loops/drivetrain:drivetrain.stripped', |
| 31 | '//y2014_bot3/control_loops/rollers:rollers.stripped', |
Adam Snaider | 83eae56 | 2016-09-10 16:47:33 -0700 | [diff] [blame] | 32 | |
Brian Silverman | 8154ed1 | 2015-11-28 23:03:17 +0000 | [diff] [blame] | 33 | ], |
| 34 | srcs = [ |
Adam Snaider | 83eae56 | 2016-09-10 16:47:33 -0700 | [diff] [blame] | 35 | '//aos:prime_binaries_stripped', |
Brian Silverman | 8154ed1 | 2015-11-28 23:03:17 +0000 | [diff] [blame] | 36 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 37 | restricted_to = ['//tools:roborio'], |
Brian Silverman | 8154ed1 | 2015-11-28 23:03:17 +0000 | [diff] [blame] | 38 | ) |
Brian Silverman | 06016bc | 2017-02-11 16:34:34 -0800 | [diff] [blame] | 39 | |
| 40 | cc_binary( |
| 41 | name = 'wpilib_interface', |
| 42 | srcs = [ |
| 43 | 'wpilib_interface.cc', |
| 44 | ], |
| 45 | deps = [ |
| 46 | '//aos/linux_code:init', |
| 47 | '//aos/common:stl_mutex', |
| 48 | '//aos/common/logging', |
| 49 | '//third_party:wpilib', |
| 50 | '//frc971/control_loops/drivetrain:drivetrain_queue', |
| 51 | '//aos/common/controls:control_loop', |
| 52 | '//aos/common/util:log_interval', |
| 53 | '//aos/common:time', |
| 54 | '//aos/common/logging:queue_logging', |
| 55 | '//aos/common/messages:robot_state', |
| 56 | '//aos/common/util:phased_loop', |
| 57 | '//aos/common/util:wrapping_counter', |
| 58 | '//frc971/wpilib:joystick_sender', |
| 59 | '//frc971/wpilib:loop_output_handler', |
| 60 | '//frc971/wpilib:buffered_pcm', |
| 61 | '//frc971/wpilib:gyro_sender', |
| 62 | '//frc971/control_loops:queues', |
| 63 | '//frc971/wpilib:logging_queue', |
| 64 | '//frc971/wpilib:wpilib_robot_base', |
| 65 | '//frc971/wpilib:wpilib_interface', |
| 66 | '//frc971/wpilib:pdp_fetcher', |
| 67 | '//frc971/wpilib:dma', |
| 68 | '//y2014_bot3/autonomous:auto_queue', |
| 69 | '//y2014_bot3/control_loops/rollers:rollers_lib', |
| 70 | '//y2014_bot3/control_loops/drivetrain:drivetrain_base', |
| 71 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 72 | restricted_to = ['//tools:roborio'], |
Brian Silverman | 06016bc | 2017-02-11 16:34:34 -0800 | [diff] [blame] | 73 | ) |