blob: 31a6933b395fa2f4220faee88d47ea238920075d [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 Pettiebfaf922015-02-08 23:11:04 +000051 '<(AOS)/common/common.gyp:time',
Daniel Petti4d8bf1f2015-02-04 20:26:32 -080052 '<(DEPTH)/frc971/control_loops/control_loops.gyp:position_sensor_sim',
Philipp Schraderf75a8bf2015-02-02 05:30:16 +000053 '<(DEPTH)/frc971/control_loops/control_loops.gyp:team_number_test_environment',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080054 ],
55 },
56 {
57 'target_name': 'claw',
58 'type': 'executable',
59 'sources': [
60 'claw_main.cc',
61 ],
62 'dependencies': [
63 '<(AOS)/linux_code/linux_code.gyp:init',
64 'claw_lib',
65 ],
66 },
Brian Silverman0a7f6062015-01-24 17:41:33 -050067 ],
68}