blob: f455e2e24031db7d3b702b64c31a63b134489dc9 [file] [log] [blame]
Brian Silvermand4417aa2014-01-18 12:45:12 -08001{
2 'targets': [
3 {
4 'target_name': 'wrist_loops',
5 'type': 'static_library',
6 'sources': ['wrists.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/wrists',
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 {
21 'target_name': 'wrists_lib',
22 'type': 'static_library',
23 'sources': [
24 'wrists.cc',
25 'top_wrist_motor_plant.cc',
26 'top_wrist_motor_plant.cc',
27 ],
28 'dependencies': [
29 'wrist_loops',
30 '<(AOS)/common/common.gyp:controls',
31 '<(DEPTH)/frc971/frc971.gyp:constants',
32 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
33 ],
34 'export_dependent_settings': [
35 'wrist_loops',
36 '<(AOS)/common/common.gyp:controls',
37 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
38 ],
39 },
40 {
41 'target_name': 'wrists_lib_test',
42 'type': 'executable',
43 'sources': [
44 'wrists_lib_test.cc',
45 ],
46 'dependencies': [
47 '<(EXTERNALS):gtest',
48 'wrist_loops',
49 'wrists_lib',
50 '<(AOS)/common/common.gyp:queue_testutils',
51 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
52 ],
53 },
54 {
55 'target_name': 'wrists',
56 'type': 'executable',
57 'sources': [
58 'wrists_main.cc',
59 ],
60 'dependencies': [
61 '<(AOS)/linux_code/linux_code.gyp:init',
62 'wrists_lib',
63 ],
64 },
65 ],
66}