blob: e96b5923cd5b028d5fa17efbd3837e8916313484 [file] [log] [blame]
Brian Silverman17f503e2015-08-02 18:17:18 -07001{
2 'targets': [
3 {
4 'target_name': 'replay_shooter',
5 'type': 'executable',
6 'variables': {
7 'no_rsync': 1,
8 },
9 'sources': [
10 'replay_shooter.cc',
11 ],
12 'dependencies': [
13 'shooter_queue',
14 '<(AOS)/common/controls/controls.gyp:replay_control_loop',
15 '<(AOS)/linux_code/linux_code.gyp:init',
16 ],
17 },
18 {
Brian Silvermanbe5ded62015-05-14 00:23:49 -040019 'target_name': 'shooter_queue',
Brian Silverman17f503e2015-08-02 18:17:18 -070020 'type': 'static_library',
21 'sources': ['shooter.q'],
22 'variables': {
23 'header_path': 'y2014/control_loops/shooter',
24 },
25 'dependencies': [
26 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
27 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
28 ],
29 'export_dependent_settings': [
30 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
31 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
32 ],
33 'includes': ['../../../aos/build/queues.gypi'],
34 },
35 {
36 'target_name': 'shooter_lib',
37 'type': 'static_library',
38 'sources': [
39 'shooter.cc',
40 'shooter_motor_plant.cc',
41 'unaugmented_shooter_motor_plant.cc',
42 ],
43 'dependencies': [
Brian Silvermanbe5ded62015-05-14 00:23:49 -040044 'shooter_queue',
Brian Silverman17f503e2015-08-02 18:17:18 -070045 '<(AOS)/common/controls/controls.gyp:control_loop',
46 '<(DEPTH)/y2014/y2014.gyp:constants',
47 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
48 '<(AOS)/common/logging/logging.gyp:queue_logging',
49 ],
50 'export_dependent_settings': [
Brian Silvermanbe5ded62015-05-14 00:23:49 -040051 'shooter_queue',
Brian Silverman17f503e2015-08-02 18:17:18 -070052 '<(AOS)/common/controls/controls.gyp:control_loop',
53 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
54 ],
55 },
56 {
57 'target_name': 'shooter_lib_test',
58 'type': 'executable',
59 'sources': [
60 'shooter_lib_test.cc',
61 ],
62 'dependencies': [
63 '<(EXTERNALS):gtest',
Brian Silvermanbe5ded62015-05-14 00:23:49 -040064 'shooter_queue',
Brian Silverman17f503e2015-08-02 18:17:18 -070065 'shooter_lib',
66 '<(AOS)/common/controls/controls.gyp:control_loop_test',
67 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
68 ],
69 },
70 {
71 'target_name': 'shooter',
72 'type': 'executable',
73 'sources': [
74 'shooter_main.cc',
75 ],
76 'dependencies': [
77 '<(AOS)/linux_code/linux_code.gyp:init',
78 'shooter_lib',
79 ],
80 },
81 ],
82}