Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 1 | package(default_visibility = ['//visibility:public']) |
| 2 | |
Brian Silverman | f480a61 | 2015-09-13 02:22:01 -0400 | [diff] [blame] | 3 | load('/aos/build/queues', 'queue_library') |
| 4 | |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 5 | cc_library( |
| 6 | name = 'auto_lib', |
| 7 | srcs = [ |
| 8 | 'auto.cc', |
| 9 | ], |
| 10 | hdrs = [ |
| 11 | 'auto.h', |
| 12 | ], |
| 13 | deps = [ |
| 14 | '//frc971/autonomous:auto_queue', |
| 15 | '//aos/common/controls:control_loop', |
| 16 | '//y2015/control_loops/drivetrain:drivetrain_queue', |
| 17 | '//y2015:constants', |
| 18 | '//aos/common:time', |
| 19 | '//aos/common/util:phased_loop', |
| 20 | '//aos/common/util:trapezoid_profile', |
| 21 | '//aos/common/logging', |
| 22 | '//y2015/actors:drivetrain_action_lib', |
| 23 | '//aos/common/logging:queue_logging', |
| 24 | '//y2015/control_loops/claw:claw_queue', |
| 25 | '//y2015/control_loops/fridge:fridge_queue', |
| 26 | '//y2015/actors:stack_action_lib', |
| 27 | '//y2015/actors:held_to_lift_action_lib', |
| 28 | '//y2015/actors:pickup_action_lib', |
Brian Silverman | f480a61 | 2015-09-13 02:22:01 -0400 | [diff] [blame] | 29 | ':auto_queue', |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 30 | ], |
| 31 | ) |
| 32 | |
| 33 | cc_binary( |
| 34 | name = 'auto', |
| 35 | srcs = [ |
| 36 | 'auto_main.cc', |
| 37 | ], |
| 38 | deps = [ |
| 39 | '//aos/linux_code:init', |
| 40 | '//frc971/autonomous:auto_queue', |
| 41 | ':auto_lib', |
| 42 | ], |
| 43 | ) |
Brian Silverman | f480a61 | 2015-09-13 02:22:01 -0400 | [diff] [blame] | 44 | |
| 45 | queue_library( |
| 46 | name = 'auto_queue', |
| 47 | srcs = [ |
| 48 | 'auto.q', |
| 49 | ], |
| 50 | ) |