blob: fe2abe1226ddc624712d4f5f21d3efafaa503ac9 [file] [log] [blame]
Austin Schuh47017412013-03-10 11:50:46 -07001{
2 'targets': [
3 {
4 'target_name': 'auto_queue',
5 'type': 'static_library',
6 'sources': ['auto.q'],
7 'variables': {
8 'header_path': 'frc971/autonomous',
9 },
10 'dependencies': [
Austin Schuh47017412013-03-10 11:50:46 -070011 '<(AOS)/common/common.gyp:queues',
12 ],
13 'export_dependent_settings': [
Austin Schuh47017412013-03-10 11:50:46 -070014 '<(AOS)/common/common.gyp:queues',
15 ],
16 'includes': ['../../aos/build/queues.gypi'],
17 },
18 {
James Kuszmaul9ead1de2014-02-28 21:24:39 -080019 'target_name': 'shoot_action_queue',
20 'type': 'static_library',
21 'sources': ['shoot_action.q'],
22 'variables': {
23 'header_path': 'frc971/autonomous',
24 },
25 'dependencies': [
26 '<(AOS)/common/common.gyp:queues',
27 ],
28 'export_dependent_settings': [
29 '<(AOS)/common/common.gyp:queues',
30 ],
31 'includes': ['../../aos/build/queues.gypi'],
32 },
33 {
Austin Schuh47017412013-03-10 11:50:46 -070034 'target_name': 'auto_lib',
35 'type': 'static_library',
36 'sources': [
37 'auto.cc',
38 ],
39 'dependencies': [
Austin Schuh47017412013-03-10 11:50:46 -070040 'auto_queue',
James Kuszmaul9ead1de2014-02-28 21:24:39 -080041 'shoot_action_lib',
Austin Schuh47017412013-03-10 11:50:46 -070042 '<(AOS)/common/common.gyp:controls',
Austin Schuh6be011a2013-03-19 10:07:02 +000043 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
Brian Silverman431500a2013-10-28 19:50:15 -070044 '<(DEPTH)/frc971/frc971.gyp:constants',
Austin Schuh47017412013-03-10 11:50:46 -070045 '<(AOS)/common/common.gyp:time',
46 '<(AOS)/common/common.gyp:timing',
Austin Schuh6be011a2013-03-19 10:07:02 +000047 '<(AOS)/common/util/util.gyp:trapezoid_profile',
Brian Silverman598800f2013-05-09 17:08:42 -070048 '<(AOS)/build/aos.gyp:logging',
Austin Schuh47017412013-03-10 11:50:46 -070049 ],
50 'export_dependent_settings': [
51 '<(AOS)/common/common.gyp:controls',
52 ],
53 },
54 {
James Kuszmaul9ead1de2014-02-28 21:24:39 -080055 'target_name': 'shoot_action_lib',
56 'type': 'static_library',
57 'sources': [
58 'shoot_action.cc',
59 ],
60 'dependencies': [
61 'shoot_action_queue',
62 '<(DEPTH)/frc971/frc971.gyp:constants',
63 '<(AOS)/common/common.gyp:time',
64 '<(AOS)/common/common.gyp:timing',
65 '<(AOS)/build/aos.gyp:logging',
66 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
67 '<(DEPTH)/frc971/control_loops/claw/claw.gyp:claw_loop',
68 ],
69 },
70 {
Austin Schuh47017412013-03-10 11:50:46 -070071 'target_name': 'auto',
72 'type': 'executable',
73 'sources': [
74 'auto_main.cc',
75 ],
76 'dependencies': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080077 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh47017412013-03-10 11:50:46 -070078 'auto_queue',
79 'auto_lib',
80 ],
81 },
82 ],
83}