blob: a9ddb1276586b83ff28cd8faa68c7aa79d5a676b [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
2 'variables': {
3 'loop_files': [
4 'DriveTrain.q',
5 ]
6 },
7 'targets': [
8 {
9 'target_name': 'control_loops',
10 'type': 'static_library',
11 'sources': ['<@(loop_files)'],
12 'variables': {
13 'header_path': 'frc971/control_loops',
14 },
15 'dependencies': [
16 '<(AOS)/build/aos.gyp:libaos',
17 '<(AOS)/common/common.gyp:control_loop_queues',
18 '<(AOS)/common/common.gyp:queues',
19 ],
20 'export_dependent_settings': [
21 '<(AOS)/build/aos.gyp:libaos',
22 '<(AOS)/common/common.gyp:control_loop_queues',
23 '<(AOS)/common/common.gyp:queues',
24 ],
25 'includes': ['../../aos/build/queues.gypi'],
26 },
27 {
28 'target_name': 'DriveTrain',
29 'type': 'executable',
30 'sources': [
31 'DriveTrain.cc',
32 ],
33 'dependencies': [
34 '<(AOS)/build/aos.gyp:logging',
35 '<(AOS)/common/common.gyp:controls',
36 '<(AOS)/build/aos.gyp:libaos',
37 'control_loops',
38 '<(DEPTH)/frc971/queues/queues.gyp:queues',
39 '<(EXTERNALS):eigen',
40 ],
41 },
42 ],
43}