Daniel Petti | cbc4112 | 2014-11-15 10:27:41 -0800 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'rollers_loop', |
| 5 | 'type': 'static_library', |
| 6 | 'sources': ['rollers.q'], |
| 7 | 'variables': { |
| 8 | 'header_path': 'bot3/control_loops/rollers', |
| 9 | }, |
| 10 | 'dependencies': [ |
| 11 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
| 12 | ], |
| 13 | 'export_dependent_settings': [ |
| 14 | '<(AOS)/common/controls/controls.gyp:control_loop_queues', |
| 15 | ], |
| 16 | 'includes': ['../../../aos/build/queues.gypi'], |
| 17 | }, |
| 18 | { |
| 19 | 'target_name': 'rollers_lib', |
| 20 | 'type': 'static_library', |
| 21 | 'sources': [ |
| 22 | 'rollers.cc', |
| 23 | ], |
| 24 | 'dependencies': [ |
| 25 | 'rollers_loop', |
| 26 | '<(AOS)/common/controls/controls.gyp:control_loop', |
| 27 | ], |
| 28 | 'export_dependent_settings': [ |
| 29 | 'rollers_loop', |
| 30 | '<(AOS)/common/controls/controls.gyp:control_loop', |
| 31 | ], |
| 32 | }, |
| 33 | { |
| 34 | 'target_name': 'rollers', |
| 35 | 'type': 'executable', |
| 36 | 'sources': [ |
| 37 | 'rollers_main.cc', |
| 38 | ], |
| 39 | 'dependencies': [ |
| 40 | 'rollers_lib', |
| 41 | '<(AOS)/linux_code/linux_code.gyp:init' |
| 42 | ], |
| 43 | }, |
| 44 | ], |
| 45 | } |