Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'shooter_loop', |
| 5 | 'type': 'static_library', |
| 6 | 'sources': ['shooter.q'], |
| 7 | 'variables': { |
| 8 | 'header_path': 'frc971/control_loops/shooter', |
| 9 | }, |
| 10 | 'dependencies': [ |
| 11 | '<(AOS)/common/common.gyp:control_loop_queues', |
Brian Silverman | aae236a | 2014-02-17 01:49:39 -0800 | [diff] [blame] | 12 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 13 | ], |
| 14 | 'export_dependent_settings': [ |
| 15 | '<(AOS)/common/common.gyp:control_loop_queues', |
Brian Silverman | aae236a | 2014-02-17 01:49:39 -0800 | [diff] [blame] | 16 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 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', |
joe | 93778a6 | 2014-02-15 13:22:14 -0800 | [diff] [blame] | 26 | 'unaugmented_shooter_motor_plant.cc', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 27 | ], |
| 28 | 'dependencies': [ |
| 29 | 'shooter_loop', |
| 30 | '<(AOS)/common/common.gyp:controls', |
| 31 | '<(DEPTH)/frc971/frc971.gyp:constants', |
| 32 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 33 | ], |
| 34 | 'export_dependent_settings': [ |
| 35 | 'shooter_loop', |
| 36 | '<(AOS)/common/common.gyp:controls', |
| 37 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_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', |
| 56 | 'type': 'executable', |
| 57 | 'sources': [ |
| 58 | 'shooter_main.cc', |
| 59 | ], |
| 60 | 'dependencies': [ |
| 61 | '<(AOS)/linux_code/linux_code.gyp:init', |
| 62 | 'shooter_lib', |
| 63 | ], |
| 64 | }, |
| 65 | ], |
| 66 | } |