Brian Silverman | 17f503e | 2015-08-02 18:17:18 -0700 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'replay_shooter', |
| 5 | 'type': 'executable', |
| 6 | 'variables': { |
| 7 | 'no_rsync': 1, |
| 8 | }, |
| 9 | 'sources': [ |
| 10 | 'replay_shooter.cc', |
| 11 | ], |
| 12 | 'dependencies': [ |
| 13 | 'shooter_queue', |
| 14 | '<(AOS)/common/controls/controls.gyp:replay_control_loop', |
| 15 | '<(AOS)/linux_code/linux_code.gyp:init', |
| 16 | ], |
| 17 | }, |
| 18 | { |
Brian Silverman | be5ded6 | 2015-05-14 00:23:49 -0400 | [diff] [blame] | 19 | 'target_name': 'shooter_queue', |
Brian Silverman | 17f503e | 2015-08-02 18:17:18 -0700 | [diff] [blame] | 20 | 'type': 'static_library', |
| 21 | 'sources': ['shooter.q'], |
| 22 | 'variables': { |
| 23 | 'header_path': 'y2014/control_loops/shooter', |
| 24 | }, |
| 25 | 'dependencies': [ |
| 26 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
| 27 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues', |
| 28 | ], |
| 29 | 'export_dependent_settings': [ |
| 30 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
| 31 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues', |
| 32 | ], |
| 33 | 'includes': ['../../../aos/build/queues.gypi'], |
| 34 | }, |
| 35 | { |
| 36 | 'target_name': 'shooter_lib', |
| 37 | 'type': 'static_library', |
| 38 | 'sources': [ |
| 39 | 'shooter.cc', |
| 40 | 'shooter_motor_plant.cc', |
| 41 | 'unaugmented_shooter_motor_plant.cc', |
| 42 | ], |
| 43 | 'dependencies': [ |
Brian Silverman | be5ded6 | 2015-05-14 00:23:49 -0400 | [diff] [blame] | 44 | 'shooter_queue', |
Brian Silverman | 17f503e | 2015-08-02 18:17:18 -0700 | [diff] [blame] | 45 | '<(AOS)/common/controls/controls.gyp:control_loop', |
| 46 | '<(DEPTH)/y2014/y2014.gyp:constants', |
| 47 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 48 | '<(AOS)/common/logging/logging.gyp:queue_logging', |
| 49 | ], |
| 50 | 'export_dependent_settings': [ |
Brian Silverman | be5ded6 | 2015-05-14 00:23:49 -0400 | [diff] [blame] | 51 | 'shooter_queue', |
Brian Silverman | 17f503e | 2015-08-02 18:17:18 -0700 | [diff] [blame] | 52 | '<(AOS)/common/controls/controls.gyp:control_loop', |
| 53 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 54 | ], |
| 55 | }, |
| 56 | { |
| 57 | 'target_name': 'shooter_lib_test', |
| 58 | 'type': 'executable', |
| 59 | 'sources': [ |
| 60 | 'shooter_lib_test.cc', |
| 61 | ], |
| 62 | 'dependencies': [ |
| 63 | '<(EXTERNALS):gtest', |
Brian Silverman | be5ded6 | 2015-05-14 00:23:49 -0400 | [diff] [blame] | 64 | 'shooter_queue', |
Brian Silverman | 17f503e | 2015-08-02 18:17:18 -0700 | [diff] [blame] | 65 | 'shooter_lib', |
| 66 | '<(AOS)/common/controls/controls.gyp:control_loop_test', |
| 67 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 68 | ], |
| 69 | }, |
| 70 | { |
| 71 | 'target_name': 'shooter', |
| 72 | 'type': 'executable', |
| 73 | 'sources': [ |
| 74 | 'shooter_main.cc', |
| 75 | ], |
| 76 | 'dependencies': [ |
| 77 | '<(AOS)/linux_code/linux_code.gyp:init', |
| 78 | 'shooter_lib', |
| 79 | ], |
| 80 | }, |
| 81 | ], |
| 82 | } |