blob: 118c199282b8dfbe9b759f68948921907653c745 [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 },
Austin Schuh47017412013-03-10 11:50:46 -070010 'includes': ['../../aos/build/queues.gypi'],
11 },
12 {
13 'target_name': 'auto_lib',
14 'type': 'static_library',
15 'sources': [
16 'auto.cc',
17 ],
18 'dependencies': [
Austin Schuh47017412013-03-10 11:50:46 -070019 'auto_queue',
Brian Silverman7ff05bf2014-04-10 12:48:25 -070020 '<(AOS)/common/controls/controls.gyp:control_loop',
Austin Schuh6be011a2013-03-19 10:07:02 +000021 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
Austin Schuh80ff2e12014-03-08 12:06:19 -080022 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
23 '<(DEPTH)/frc971/control_loops/claw/claw.gyp:claw_loop',
Brian Silverman431500a2013-10-28 19:50:15 -070024 '<(DEPTH)/frc971/frc971.gyp:constants',
Austin Schuh47017412013-03-10 11:50:46 -070025 '<(AOS)/common/common.gyp:time',
Brian3afd6fc2014-04-02 20:41:49 -070026 '<(AOS)/common/util/util.gyp:phased_loop',
Austin Schuh6be011a2013-03-19 10:07:02 +000027 '<(AOS)/common/util/util.gyp:trapezoid_profile',
Brian Silverman598800f2013-05-09 17:08:42 -070028 '<(AOS)/build/aos.gyp:logging',
Austin Schuh80ff2e12014-03-08 12:06:19 -080029 '<(DEPTH)/frc971/actions/actions.gyp:action_client',
30 '<(DEPTH)/frc971/actions/actions.gyp:shoot_action_lib',
31 '<(DEPTH)/frc971/actions/actions.gyp:drivetrain_action_lib',
Austin Schuh47017412013-03-10 11:50:46 -070032 ],
33 'export_dependent_settings': [
Brian Silverman7ff05bf2014-04-10 12:48:25 -070034 '<(AOS)/common/controls/controls.gyp:control_loop',
Austin Schuh47017412013-03-10 11:50:46 -070035 ],
36 },
37 {
38 'target_name': 'auto',
39 'type': 'executable',
40 'sources': [
41 'auto_main.cc',
42 ],
43 'dependencies': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080044 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh47017412013-03-10 11:50:46 -070045 'auto_queue',
46 'auto_lib',
47 ],
48 },
49 ],
50}