Austin Schuh | 0055822 | 2013-03-03 14:16:16 -0800 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'index_loop', |
| 5 | 'type': 'static_library', |
| 6 | 'sources': ['index_motor.q'], |
| 7 | 'variables': { |
| 8 | 'header_path': 'frc971/control_loops/index', |
| 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': 'index_lib', |
| 24 | 'type': 'static_library', |
| 25 | 'sources': [ |
| 26 | 'index.cc', |
| 27 | 'index_motor_plant.cc', |
| 28 | ], |
| 29 | 'dependencies': [ |
| 30 | '<(AOS)/build/aos.gyp:libaos', |
| 31 | 'index_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 | 'index_loop', |
| 40 | ], |
| 41 | }, |
| 42 | { |
| 43 | 'target_name': 'index_lib_test', |
| 44 | 'type': 'executable', |
| 45 | 'sources': [ |
| 46 | 'index_lib_test.cc', |
| 47 | 'transfer_motor_plant.cc', |
| 48 | ], |
| 49 | 'dependencies': [ |
| 50 | '<(EXTERNALS):gtest', |
| 51 | '<(AOS)/build/aos.gyp:libaos', |
| 52 | 'index_loop', |
| 53 | 'index_lib', |
| 54 | '<(AOS)/common/common.gyp:queue_testutils', |
| 55 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 56 | ], |
| 57 | }, |
| 58 | { |
| 59 | 'target_name': 'index', |
| 60 | 'type': 'executable', |
| 61 | 'sources': [ |
| 62 | 'index_main.cc', |
| 63 | ], |
| 64 | 'dependencies': [ |
Brian Silverman | 9419505 | 2013-03-09 13:45:05 -0800 | [diff] [blame^] | 65 | '<(AOS)/atom_code/atom_code.gyp:init', |
Austin Schuh | 0055822 | 2013-03-03 14:16:16 -0800 | [diff] [blame] | 66 | 'index_lib', |
| 67 | 'index_loop', |
| 68 | ], |
| 69 | }, |
| 70 | ], |
| 71 | } |