Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
Brian Silverman | 5b433df | 2014-02-17 11:57:37 -0800 | [diff] [blame] | 4 | 'target_name': 'claw_loop', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 5 | 'type': 'static_library', |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 6 | 'sources': ['claw.q'], |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 7 | 'variables': { |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 8 | 'header_path': 'frc971/control_loops/claw', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 9 | }, |
| 10 | 'dependencies': [ |
| 11 | '<(AOS)/common/common.gyp:control_loop_queues', |
Brian Silverman | e0a9546 | 2014-02-17 00:41:09 -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 | e0a9546 | 2014-02-17 00:41:09 -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 | { |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 21 | 'target_name': 'claw_lib', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 22 | 'type': 'static_library', |
| 23 | 'sources': [ |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 24 | 'claw.cc', |
Austin Schuh | cda86af | 2014-02-16 16:16:39 -0800 | [diff] [blame] | 25 | 'claw_motor_plant.cc', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 26 | ], |
| 27 | 'dependencies': [ |
Brian Silverman | 5b433df | 2014-02-17 11:57:37 -0800 | [diff] [blame] | 28 | 'claw_loop', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 29 | '<(AOS)/common/common.gyp:controls', |
| 30 | '<(DEPTH)/frc971/frc971.gyp:constants', |
| 31 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
James Kuszmaul | f63b0ae | 2014-03-25 16:52:11 -0700 | [diff] [blame^] | 32 | '<(DEPTH)/aos/build/externals.gyp:libcdd', |
| 33 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 34 | ], |
| 35 | 'export_dependent_settings': [ |
Brian Silverman | 5b433df | 2014-02-17 11:57:37 -0800 | [diff] [blame] | 36 | 'claw_loop', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 37 | '<(AOS)/common/common.gyp:controls', |
| 38 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
James Kuszmaul | f63b0ae | 2014-03-25 16:52:11 -0700 | [diff] [blame^] | 39 | '<(DEPTH)/aos/build/externals.gyp:libcdd', |
| 40 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 41 | ], |
| 42 | }, |
| 43 | { |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 44 | 'target_name': 'claw_lib_test', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 45 | 'type': 'executable', |
| 46 | 'sources': [ |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 47 | 'claw_lib_test.cc', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 48 | ], |
| 49 | 'dependencies': [ |
| 50 | '<(EXTERNALS):gtest', |
Brian Silverman | 5b433df | 2014-02-17 11:57:37 -0800 | [diff] [blame] | 51 | 'claw_loop', |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 52 | 'claw_lib', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 53 | '<(AOS)/common/common.gyp:queue_testutils', |
| 54 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 55 | ], |
| 56 | }, |
| 57 | { |
Austin Schuh | d36c369 | 2014-02-18 21:00:57 -0800 | [diff] [blame] | 58 | 'target_name': 'claw_calibration', |
| 59 | 'type': 'executable', |
| 60 | 'sources': [ |
| 61 | 'claw_calibration.cc', |
| 62 | ], |
| 63 | 'dependencies': [ |
| 64 | '<(AOS)/linux_code/linux_code.gyp:init', |
| 65 | 'claw_loop', |
| 66 | '<(AOS)/common/common.gyp:controls', |
| 67 | '<(DEPTH)/frc971/frc971.gyp:constants', |
| 68 | ], |
| 69 | }, |
| 70 | { |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 71 | 'target_name': 'claw', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 72 | 'type': 'executable', |
| 73 | 'sources': [ |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 74 | 'claw_main.cc', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 75 | ], |
| 76 | 'dependencies': [ |
| 77 | '<(AOS)/linux_code/linux_code.gyp:init', |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 78 | 'claw_lib', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 79 | ], |
| 80 | }, |
| 81 | ], |
| 82 | } |