milind-u | 086d726 | 2022-01-19 20:44:18 -0800 | [diff] [blame^] | 1 | filegroup( |
| 2 | name = "binaries.stripped", |
| 3 | srcs = [ |
| 4 | ":autonomous_action.stripped", |
| 5 | ], |
| 6 | visibility = ["//visibility:public"], |
| 7 | ) |
| 8 | |
| 9 | filegroup( |
| 10 | name = "binaries", |
| 11 | srcs = [ |
| 12 | ":autonomous_action", |
| 13 | ], |
| 14 | visibility = ["//visibility:public"], |
| 15 | ) |
| 16 | |
| 17 | cc_library( |
| 18 | name = "autonomous_action_lib", |
| 19 | srcs = [ |
| 20 | "auto_splines.cc", |
| 21 | "autonomous_actor.cc", |
| 22 | ], |
| 23 | hdrs = [ |
| 24 | "auto_splines.h", |
| 25 | "autonomous_actor.h", |
| 26 | ], |
| 27 | deps = [ |
| 28 | "//aos/events:event_loop", |
| 29 | "//aos/logging", |
| 30 | "//aos/util:phased_loop", |
| 31 | "//frc971/autonomous:base_autonomous_actor", |
| 32 | "//frc971/control_loops:control_loops_fbs", |
| 33 | "//frc971/control_loops:profiled_subsystem_fbs", |
| 34 | "//frc971/control_loops/drivetrain:drivetrain_config", |
| 35 | "//frc971/control_loops/drivetrain:localizer_fbs", |
| 36 | "//y2022/control_loops/drivetrain:drivetrain_base", |
| 37 | "//y2022/control_loops/superstructure:superstructure_goal_fbs", |
| 38 | "//y2022/control_loops/superstructure:superstructure_status_fbs", |
| 39 | ], |
| 40 | ) |
| 41 | |
| 42 | cc_binary( |
| 43 | name = "autonomous_action", |
| 44 | srcs = [ |
| 45 | "autonomous_actor_main.cc", |
| 46 | ], |
| 47 | deps = [ |
| 48 | ":autonomous_action_lib", |
| 49 | "//aos:init", |
| 50 | "//aos/events:shm_event_loop", |
| 51 | "//frc971/autonomous:auto_fbs", |
| 52 | ], |
| 53 | ) |