brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'actions', |
| 5 | 'type': 'static_library', |
| 6 | 'sources': ['AutoMode.act'], |
| 7 | 'variables': { |
| 8 | 'header_path': 'frc971/input', |
| 9 | }, |
| 10 | 'dependencies': [ |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 11 | '<(AOS)/common/common.gyp:controls', |
| 12 | ], |
| 13 | 'includes': ['../../aos/build/queues.gypi'], |
| 14 | }, |
| 15 | { |
| 16 | 'target_name': 'JoystickReader', |
| 17 | 'type': 'executable', |
| 18 | 'sources': [ |
| 19 | 'JoystickReader.cc', |
| 20 | ], |
| 21 | 'dependencies': [ |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 22 | '<(AOS)/atom_code/input/input.gyp:joystick', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 23 | 'actions', |
| 24 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops', |
| 25 | '<(DEPTH)/frc971/queues/queues.gyp:queues', |
Brian Silverman | f665d69 | 2013-02-17 22:11:39 -0800 | [diff] [blame] | 26 | '<(AOS)/atom_code/atom_code.gyp:init', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 27 | ], |
| 28 | }, |
| 29 | { |
| 30 | 'target_name': 'SensorReader', |
| 31 | 'type': '<(aos_target)', |
| 32 | 'sources': [ |
| 33 | 'SensorReader.cc', |
| 34 | ], |
| 35 | 'dependencies': [ |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 36 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops', |
| 37 | '<(DEPTH)/frc971/queues/queues.gyp:queues', |
Brian Silverman | a9cbe30 | 2013-03-12 18:41:44 -0700 | [diff] [blame^] | 38 | '<(AOS)/common/input/input.gyp:sensor_input', |
| 39 | '<(AOS)/build/aos.gyp:aos_core', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 40 | ], |
Brian Silverman | f665d69 | 2013-02-17 22:11:39 -0800 | [diff] [blame] | 41 | 'conditions': [ |
| 42 | ['OS!="crio"', { |
| 43 | 'dependencies': [ |
| 44 | '<(AOS)/atom_code/atom_code.gyp:init', |
| 45 | ], |
| 46 | }], |
| 47 | ], |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 48 | }, |
| 49 | { |
| 50 | 'target_name': 'SensorWriter', |
| 51 | 'type': '<(aos_target)', |
| 52 | 'sources': [ |
| 53 | 'SensorWriter.cc', |
| 54 | ], |
| 55 | 'dependencies': [ |
| 56 | '<(AOS)/build/aos.gyp:libaos', |
| 57 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops', |
Brian Silverman | f665d69 | 2013-02-17 22:11:39 -0800 | [diff] [blame] | 58 | '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 59 | ], |
| 60 | }, |
| 61 | { |
| 62 | 'target_name': 'GyroReader', |
| 63 | 'type': 'executable', |
| 64 | 'sources': [ |
| 65 | 'GyroReader.cc', |
| 66 | ], |
| 67 | 'dependencies': [ |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 68 | '<(DEPTH)/frc971/queues/queues.gyp:queues', |
Brian Silverman | f665d69 | 2013-02-17 22:11:39 -0800 | [diff] [blame] | 69 | '<(AOS)/atom_code/atom_code.gyp:init', |
| 70 | '<(AOS)/build/aos.gyp:logging', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 71 | ], |
| 72 | }, |
| 73 | { |
| 74 | 'target_name': 'AutoMode', |
| 75 | 'type': 'executable', |
| 76 | 'sources': [ |
| 77 | 'AutoMode.cc', |
| 78 | ], |
| 79 | 'dependencies': [ |
| 80 | '<(AOS)/build/aos.gyp:libaos', |
| 81 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops', |
| 82 | '<(DEPTH)/frc971/queues/queues.gyp:queues', |
| 83 | 'actions', |
Brian Silverman | f665d69 | 2013-02-17 22:11:39 -0800 | [diff] [blame] | 84 | # TODO(brians) this shouldn't need to be here |
| 85 | '<(AOS)/atom_code/atom_code.gyp:init', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 86 | ], |
| 87 | }, |
| 88 | ], |
| 89 | } |