Austin Schuh | c682d61 | 2013-03-03 14:32:52 -0800 | [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': 'frc971/control_loops/shooter', |
| 9 | }, |
| 10 | 'dependencies': [ |
| 11 | '<(AOS)/build/aos.gyp:libaos', |
| 12 | '<(AOS)/common/common.gyp:control_loop_queues', |
| 13 | '<(AOS)/common/common.gyp:queues', |
| 14 | ], |
| 15 | 'export_dependent_settings': [ |
| 16 | '<(AOS)/build/aos.gyp:libaos', |
| 17 | '<(AOS)/common/common.gyp:control_loop_queues', |
| 18 | '<(AOS)/common/common.gyp:queues', |
| 19 | ], |
| 20 | 'includes': ['../../../aos/build/queues.gypi'], |
| 21 | }, |
| 22 | { |
| 23 | 'target_name': 'shooter_lib', |
| 24 | 'type': 'static_library', |
| 25 | 'sources': [ |
| 26 | 'shooter.cc', |
| 27 | 'shooter_motor_plant.cc', |
| 28 | ], |
| 29 | 'dependencies': [ |
| 30 | '<(AOS)/build/aos.gyp:libaos', |
| 31 | 'shooter_loop', |
| 32 | '<(AOS)/common/common.gyp:controls', |
| 33 | '<(DEPTH)/frc971/frc971.gyp:common', |
| 34 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 35 | ], |
| 36 | 'export_dependent_settings': [ |
| 37 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 38 | '<(AOS)/common/common.gyp:controls', |
| 39 | 'shooter_loop', |
| 40 | ], |
| 41 | }, |
| 42 | { |
| 43 | 'target_name': 'shooter_lib_test', |
| 44 | 'type': 'executable', |
| 45 | 'sources': [ |
| 46 | 'shooter_lib_test.cc', |
| 47 | ], |
| 48 | 'dependencies': [ |
| 49 | '<(EXTERNALS):gtest', |
| 50 | '<(AOS)/build/aos.gyp:libaos', |
| 51 | 'shooter_loop', |
| 52 | 'shooter_lib', |
| 53 | '<(AOS)/common/common.gyp:queue_testutils', |
| 54 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 55 | ], |
| 56 | }, |
| 57 | { |
| 58 | 'target_name': 'shooter', |
| 59 | 'type': 'executable', |
| 60 | 'sources': [ |
| 61 | 'shooter_main.cc', |
| 62 | ], |
| 63 | 'dependencies': [ |
| 64 | '<(AOS)/build/aos.gyp:libaos', |
| 65 | 'shooter_lib', |
| 66 | 'shooter_loop', |
| 67 | ], |
| 68 | }, |
| 69 | ], |
| 70 | } |