James Kuszmaul | f7f5ec1 | 2013-11-01 17:58:58 -0700 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'shooter_loop', |
| 5 | 'type': 'static_library', |
| 6 | 'sources': ['shooter_motor.q'], |
| 7 | 'variables': { |
| 8 | 'header_path': 'bot3/control_loops/shooter', |
| 9 | }, |
| 10 | 'dependencies': [ |
| 11 | '<(AOS)/common/common.gyp:control_loop_queues', |
| 12 | '<(AOS)/common/common.gyp:queues', |
| 13 | ], |
| 14 | 'export_dependent_settings': [ |
| 15 | '<(AOS)/common/common.gyp:control_loop_queues', |
| 16 | '<(AOS)/common/common.gyp:queues', |
| 17 | ], |
| 18 | 'includes': ['../../../aos/build/queues.gypi'], |
| 19 | }, |
| 20 | { |
| 21 | 'target_name': 'shooter_lib', |
| 22 | 'type': 'static_library', |
| 23 | 'sources': [ |
| 24 | 'shooter.cc', |
| 25 | 'shooter_motor_plant.cc', |
| 26 | ], |
| 27 | 'dependencies': [ |
| 28 | 'shooter_loop', |
| 29 | '<(AOS)/common/common.gyp:controls', |
Daniel Petti | e7ed8ec | 2013-11-02 16:19:02 +0000 | [diff] [blame] | 30 | '<(DEPTH)/frc971/frc971.gyp:constants', |
James Kuszmaul | f7f5ec1 | 2013-11-01 17:58:58 -0700 | [diff] [blame] | 31 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
James Kuszmaul | b74c811 | 2013-11-03 16:13:45 -0800 | [diff] [blame] | 32 | '<(DEPTH)/frc971/queues/queues.gyp:queues', |
James Kuszmaul | f7f5ec1 | 2013-11-01 17:58:58 -0700 | [diff] [blame] | 33 | ], |
| 34 | 'export_dependent_settings': [ |
| 35 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 36 | '<(AOS)/common/common.gyp:controls', |
| 37 | 'shooter_loop', |
| 38 | ], |
| 39 | }, |
| 40 | { |
| 41 | 'target_name': 'shooter_lib_test', |
| 42 | 'type': 'executable', |
| 43 | 'sources': [ |
| 44 | 'shooter_lib_test.cc', |
| 45 | ], |
| 46 | 'dependencies': [ |
| 47 | '<(EXTERNALS):gtest', |
| 48 | 'shooter_loop', |
| 49 | 'shooter_lib', |
| 50 | '<(AOS)/common/common.gyp:queue_testutils', |
| 51 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 52 | ], |
| 53 | }, |
| 54 | { |
| 55 | 'target_name': 'shooter_csv', |
| 56 | 'type': 'executable', |
| 57 | 'sources': [ |
| 58 | 'shooter_csv.cc', |
| 59 | ], |
| 60 | 'dependencies': [ |
| 61 | '<(AOS)/common/common.gyp:time', |
| 62 | '<(AOS)/common/common.gyp:timing', |
| 63 | 'shooter_loop', |
| 64 | ], |
| 65 | }, |
| 66 | { |
| 67 | 'target_name': 'shooter', |
| 68 | 'type': 'executable', |
| 69 | 'sources': [ |
| 70 | 'shooter_main.cc', |
| 71 | ], |
| 72 | 'dependencies': [ |
| 73 | '<(AOS)/atom_code/atom_code.gyp:init', |
| 74 | 'shooter_lib', |
| 75 | 'shooter_loop', |
| 76 | ], |
| 77 | }, |
| 78 | ], |
| 79 | } |