Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 1 | package(default_visibility = ['//visibility:public']) |
| 2 | |
| 3 | cc_library( |
| 4 | name = 'auto_lib', |
| 5 | srcs = [ |
| 6 | 'auto.cc', |
| 7 | ], |
| 8 | hdrs = [ |
| 9 | 'auto.h', |
| 10 | ], |
| 11 | deps = [ |
Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 12 | '//aos/common/actions:action_lib', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 13 | '//aos/common/controls:control_loop', |
Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 14 | '//aos/common/logging', |
| 15 | '//aos/common/logging:queue_logging', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 16 | '//aos/common:time', |
| 17 | '//aos/common/util:phased_loop', |
| 18 | '//aos/common/util:trapezoid_profile', |
Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 19 | '//frc971/autonomous:auto_queue', |
| 20 | '//frc971/control_loops/drivetrain:drivetrain_queue', |
| 21 | '//y2016:constants', |
| 22 | '//y2016/queues:profile_params', |
| 23 | '//y2016/actors:drivetrain_action_lib', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 24 | ], |
| 25 | ) |
| 26 | |
| 27 | cc_binary( |
| 28 | name = 'auto', |
| 29 | srcs = [ |
| 30 | 'auto_main.cc', |
| 31 | ], |
| 32 | deps = [ |
Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 33 | ':auto_lib', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 34 | '//aos/linux_code:init', |
| 35 | '//frc971/autonomous:auto_queue', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 36 | ], |
| 37 | ) |