blob: 01d95d0664e65f0d0dfa9458d78624c86cf0d741 [file] [log] [blame]
Daniel Pettiaece37f2014-10-25 17:13:44 -07001{
2 'targets': [
3 {
4 'target_name': 'auto_queue',
5 'type': 'static_library',
6 'sources': [
7 '<(DEPTH)/frc971/autonomous/auto.q',
8 ],
9 'variables': {
10 'header_path': 'frc971/autonomous',
11 },
12 'includes': ['../../aos/build/queues.gypi'],
13 },
14 {
15 'target_name': 'auto_lib',
16 'type': 'static_library',
17 'sources': [
18 'auto.cc',
19 ],
20 'dependencies': [
21 'auto_queue',
22 '<(AOS)/common/controls/controls.gyp:control_loop',
23 '<(DEPTH)/bot3/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
Daniel Pettib0733be2014-11-14 22:44:03 -080024 '<(DEPTH)/bot3/control_loops/rollers/rollers.gyp:rollers_loop',
25 '<(DEPTH)/bot3/actions/actions.gyp:action_client',
26 '<(DEPTH)/bot3/actions/actions.gyp:drivetrain_action_lib',
Daniel Pettiaece37f2014-10-25 17:13:44 -070027 '<(AOS)/common/common.gyp:time',
28 '<(AOS)/common/util/util.gyp:phased_loop',
29 '<(AOS)/common/util/util.gyp:trapezoid_profile',
30 '<(AOS)/build/aos.gyp:logging',
31 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Daniel Pettiaece37f2014-10-25 17:13:44 -070032 ],
33 'export_dependent_settings': [
34 '<(AOS)/common/controls/controls.gyp:control_loop',
35 ],
36 },
37 {
38 'target_name': 'auto',
39 'type': 'executable',
40 'sources': [
41 'auto_main.cc',
42 ],
43 'dependencies': [
44 '<(AOS)/linux_code/linux_code.gyp:init',
45 'auto_queue',
46 'auto_lib',
47 ],
48 },
49 ],
50}