blob: a3e556a7f90b317d57e21b127a0620ceae46a65f [file] [log] [blame]
Brian Silverman0a7f6062015-01-24 17:41:33 -05001{
2 'targets': [
3 {
Ben Fredrickson6b5ba792015-01-25 17:14:40 -08004 'target_name': 'claw_queue',
Brian Silverman0a7f6062015-01-24 17:41:33 -05005 'type': 'static_library',
6 'sources': ['claw.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/claw',
9 },
10 'dependencies': [
11 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
12 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
13 ],
14 'export_dependent_settings': [
15 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
16 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
17
18 ],
19 'includes': ['../../../aos/build/queues.gypi'],
20 },
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080021 {
22 'target_name': 'claw_lib',
23 'type': 'static_library',
24 'sources': [
25 'claw.cc',
26 'claw_motor_plant.cc',
27 ],
28 'dependencies': [
29 'claw_queue',
30 '<(AOS)/common/controls/controls.gyp:control_loop',
31 '<(DEPTH)/frc971/frc971.gyp:constants',
32 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
33 ],
34 'export_dependent_settings': [
35 'claw_queue',
36 '<(AOS)/common/controls/controls.gyp:control_loop',
37 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
38 ],
39 },
40 {
41 'target_name': 'claw_lib_test',
42 'type': 'executable',
43 'sources': [
44 'claw_lib_test.cc',
45 ],
46 'dependencies': [
47 '<(EXTERNALS):gtest',
48 'claw_lib',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080049 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silvermane6f64ab2015-02-05 17:03:56 -050050 '<(AOS)/common/controls/controls.gyp:control_loop_test',
Daniel Petti4d8bf1f2015-02-04 20:26:32 -080051 '<(DEPTH)/frc971/control_loops/control_loops.gyp:position_sensor_sim',
Philipp Schraderf75a8bf2015-02-02 05:30:16 +000052 '<(DEPTH)/frc971/control_loops/control_loops.gyp:team_number_test_environment',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080053 ],
54 },
55 {
56 'target_name': 'claw',
57 'type': 'executable',
58 'sources': [
59 'claw_main.cc',
60 ],
61 'dependencies': [
62 '<(AOS)/linux_code/linux_code.gyp:init',
63 'claw_lib',
64 ],
65 },
Brian Silverman0a7f6062015-01-24 17:41:33 -050066 ],
67}