blob: c4e99718cc1fccdc0fef977273d487ff1fa8f81f [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',
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': 'shooter_lib',
22 'type': 'static_library',
23 'sources': [
24 'shooter.cc',
25 'shooter_motor_plant.cc',
26 ],
27 'dependencies': [
28 'shooter_loop',
29 '<(AOS)/common/common.gyp:controls',
30 '<(DEPTH)/frc971/frc971.gyp:constants',
31 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
32 ],
33 'export_dependent_settings': [
34 'shooter_loop',
35 '<(AOS)/common/common.gyp:controls',
36 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
37 ],
38 },
39 {
40 'target_name': 'shooter_lib_test',
41 'type': 'executable',
42 'sources': [
43 'shooter_lib_test.cc',
44 ],
45 'dependencies': [
46 '<(EXTERNALS):gtest',
47 'shooter_loop',
48 'shooter_lib',
49 '<(AOS)/common/common.gyp:queue_testutils',
50 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
51 ],
52 },
53 {
54 'target_name': 'shooter',
55 'type': 'executable',
56 'sources': [
57 'shooter_main.cc',
58 ],
59 'dependencies': [
60 '<(AOS)/linux_code/linux_code.gyp:init',
61 'shooter_lib',
62 ],
63 },
64 ],
65}