blob: c2e9d963ad4aa855afad7e547c71c1e24ae19a22 [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 {
19 'target_name': 'auto_lib',
20 'type': 'static_library',
21 'sources': [
22 'auto.cc',
23 ],
24 'dependencies': [
Austin Schuh47017412013-03-10 11:50:46 -070025 'auto_queue',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070026 '<(AOS)/common/controls/controls.gyp:control_loop',
Austin Schuh6be011a2013-03-19 10:07:02 +000027 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
Austin Schuh80ff2e12014-03-08 12:06:19 -080028 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
29 '<(DEPTH)/frc971/control_loops/claw/claw.gyp:claw_loop',
Brian Silverman431500a2013-10-28 19:50:15 -070030 '<(DEPTH)/frc971/frc971.gyp:constants',
Austin Schuh47017412013-03-10 11:50:46 -070031 '<(AOS)/common/common.gyp:time',
Brian3afd6fc2014-04-02 20:41:49 -070032 '<(AOS)/common/util/util.gyp:phased_loop',
Austin Schuh6be011a2013-03-19 10:07:02 +000033 '<(AOS)/common/util/util.gyp:trapezoid_profile',
Brian Silverman598800f2013-05-09 17:08:42 -070034 '<(AOS)/build/aos.gyp:logging',
Austin Schuh80ff2e12014-03-08 12:06:19 -080035 '<(DEPTH)/frc971/actions/actions.gyp:action_client',
36 '<(DEPTH)/frc971/actions/actions.gyp:shoot_action_lib',
37 '<(DEPTH)/frc971/actions/actions.gyp:drivetrain_action_lib',
Austin Schuh47017412013-03-10 11:50:46 -070038 ],
39 'export_dependent_settings': [
Brian Silverman7ff05bf2014-04-10 12:48:25 -070040 '<(AOS)/common/controls/controls.gyp:control_loop',
Austin Schuh47017412013-03-10 11:50:46 -070041 ],
42 },
43 {
44 'target_name': 'auto',
45 'type': 'executable',
46 'sources': [
47 'auto_main.cc',
48 ],
49 'dependencies': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080050 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh47017412013-03-10 11:50:46 -070051 'auto_queue',
52 'auto_lib',
53 ],
54 },
55 ],
56}