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