blob: 91b1b2fbe7bdd77ba15abb4bee85260b6a6e9e0e [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',
26 '<(AOS)/common/common.gyp:controls',
Austin Schuh6be011a2013-03-19 10:07:02 +000027 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
Brian Silverman431500a2013-10-28 19:50:15 -070028 '<(DEPTH)/frc971/frc971.gyp:constants',
Austin Schuh47017412013-03-10 11:50:46 -070029 '<(AOS)/common/common.gyp:time',
30 '<(AOS)/common/common.gyp:timing',
Austin Schuh6be011a2013-03-19 10:07:02 +000031 '<(AOS)/common/util/util.gyp:trapezoid_profile',
Brian Silverman598800f2013-05-09 17:08:42 -070032 '<(AOS)/build/aos.gyp:logging',
Austin Schuh47017412013-03-10 11:50:46 -070033 ],
34 'export_dependent_settings': [
35 '<(AOS)/common/common.gyp:controls',
36 ],
37 },
38 {
39 'target_name': 'auto',
40 'type': 'executable',
41 'sources': [
42 'auto_main.cc',
43 ],
44 'dependencies': [
Brian Silverman14fd0fb2014-01-14 21:42:01 -080045 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh47017412013-03-10 11:50:46 -070046 'auto_queue',
47 'auto_lib',
48 ],
49 },
50 ],
51}