blob: 64e3a2060d9462ddba6f38c9b409d721433d5cc8 [file] [log] [blame]
Austin Schuhc682d612013-03-03 14:32:52 -08001{
2 'targets': [
3 {
4 'target_name': 'shooter_loop',
5 'type': 'static_library',
6 'sources': ['shooter_motor.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/shooter',
9 },
10 'dependencies': [
Austin Schuhc682d612013-03-03 14:32:52 -080011 '<(AOS)/common/common.gyp:control_loop_queues',
12 '<(AOS)/common/common.gyp:queues',
13 ],
14 'export_dependent_settings': [
Austin Schuhc682d612013-03-03 14:32:52 -080015 '<(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': [
Austin Schuhc682d612013-03-03 14:32:52 -080028 'shooter_loop',
29 '<(AOS)/common/common.gyp:controls',
Brian Silverman431500a2013-10-28 19:50:15 -070030 '<(DEPTH)/frc971/frc971.gyp:constants',
Austin Schuhc682d612013-03-03 14:32:52 -080031 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silverman7ffb1382013-09-29 16:55:12 -070032 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
Austin Schuhc682d612013-03-03 14:32:52 -080033 ],
34 'export_dependent_settings': [
35 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
36 '<(AOS)/common/common.gyp:controls',
37 'shooter_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',
Austin Schuhc682d612013-03-03 14:32:52 -080048 '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 {
Austin Schuh3634fa12013-03-03 15:09:06 -080055 'target_name': 'shooter_csv',
56 'type': 'executable',
57 'sources': [
58 'shooter_csv.cc',
59 ],
60 'dependencies': [
Austin Schuh3634fa12013-03-03 15:09:06 -080061 '<(AOS)/common/common.gyp:time',
62 '<(AOS)/common/common.gyp:timing',
63 'shooter_loop',
64 ],
65 },
66 {
Austin Schuhc682d612013-03-03 14:32:52 -080067 'target_name': 'shooter',
68 'type': 'executable',
69 'sources': [
70 'shooter_main.cc',
71 ],
72 'dependencies': [
Brian Silvermancc8ac632013-03-09 13:45:15 -080073 '<(AOS)/atom_code/atom_code.gyp:init',
Austin Schuhc682d612013-03-03 14:32:52 -080074 'shooter_lib',
75 'shooter_loop',
76 ],
77 },
78 ],
79}