blob: efcc0e7f8b0fed0d7b4ce355d3f43f4e75575eff [file] [log] [blame]
Brian Silvermand4417aa2014-01-18 12:45:12 -08001{
2 'targets': [
3 {
4 'target_name': 'shooter_loop',
5 'type': 'static_library',
6 'sources': ['shooter.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/shooter',
9 },
10 'dependencies': [
11 '<(AOS)/common/common.gyp:control_loop_queues',
Brian Silvermanaae236a2014-02-17 01:49:39 -080012 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080013 ],
14 'export_dependent_settings': [
15 '<(AOS)/common/common.gyp:control_loop_queues',
Brian Silvermanaae236a2014-02-17 01:49:39 -080016 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080017 ],
18 'includes': ['../../../aos/build/queues.gypi'],
19 },
20 {
21 'target_name': 'shooter_lib',
22 'type': 'static_library',
23 'sources': [
24 'shooter.cc',
25 'shooter_motor_plant.cc',
joe93778a62014-02-15 13:22:14 -080026 'unaugmented_shooter_motor_plant.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080027 ],
28 'dependencies': [
29 'shooter_loop',
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 'shooter_loop',
36 '<(AOS)/common/common.gyp:controls',
37 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
38 ],
39 },
40 {
41 'target_name': 'shooter_lib_test',
42 'type': 'executable',
43 'sources': [
44 'shooter_lib_test.cc',
45 ],
46 'dependencies': [
47 '<(EXTERNALS):gtest',
48 'shooter_loop',
49 'shooter_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': 'shooter',
56 'type': 'executable',
57 'sources': [
58 'shooter_main.cc',
59 ],
60 'dependencies': [
61 '<(AOS)/linux_code/linux_code.gyp:init',
62 'shooter_lib',
63 ],
64 },
65 ],
66}