Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 4 | 'target_name': 'claw_loops', |
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', |
| 12 | '<(AOS)/common/common.gyp:queues', |
| 13 | ], |
| 14 | 'export_dependent_settings': [ |
| 15 | '<(AOS)/common/common.gyp:control_loop_queues', |
| 16 | '<(AOS)/common/common.gyp:queues', |
| 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': [ |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 28 | 'claw_loops', |
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', |
| 32 | ], |
| 33 | 'export_dependent_settings': [ |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 34 | 'claw_loops', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 35 | '<(AOS)/common/common.gyp:controls', |
| 36 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 37 | ], |
| 38 | }, |
| 39 | { |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 40 | 'target_name': 'claw_lib_test', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 41 | 'type': 'executable', |
| 42 | 'sources': [ |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 43 | 'claw_lib_test.cc', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 44 | ], |
| 45 | 'dependencies': [ |
| 46 | '<(EXTERNALS):gtest', |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 47 | 'claw_loops', |
| 48 | 'claw_lib', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 49 | '<(AOS)/common/common.gyp:queue_testutils', |
| 50 | '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop', |
| 51 | ], |
| 52 | }, |
| 53 | { |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 54 | 'target_name': 'claw', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 55 | 'type': 'executable', |
| 56 | 'sources': [ |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 57 | 'claw_main.cc', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 58 | ], |
| 59 | 'dependencies': [ |
| 60 | '<(AOS)/linux_code/linux_code.gyp:init', |
Austin Schuh | 3bb9a44 | 2014-02-02 16:01:45 -0800 | [diff] [blame] | 61 | 'claw_lib', |
Brian Silverman | d4417aa | 2014-01-18 12:45:12 -0800 | [diff] [blame] | 62 | ], |
| 63 | }, |
| 64 | ], |
| 65 | } |