blob: a7086fb9f63d8fca86cd3257864a66a645960306 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
2 'targets': [
3 {
4 'target_name': 'actions',
5 'type': 'static_library',
6 'sources': ['AutoMode.act'],
7 'variables': {
8 'header_path': 'frc971/input',
9 },
10 'dependencies': [
11 '<(AOS)/build/aos.gyp:libaos',
12 '<(AOS)/common/common.gyp:controls',
13 ],
14 'includes': ['../../aos/build/queues.gypi'],
15 },
16 {
17 'target_name': 'JoystickReader',
18 'type': 'executable',
19 'sources': [
20 'JoystickReader.cc',
21 ],
22 'dependencies': [
23 '<(AOS)/build/aos.gyp:libaos',
24 '<(AOS)/atom_code/input/input.gyp:joystick',
25 '<(AOS)/common/network/network.gyp:socket',
26 'actions',
James Kuszmaulf254c1a2013-03-10 16:31:26 -070027 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000028 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080029 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +000030 ],
31 },
32 {
33 'target_name': 'SensorReader',
34 'type': '<(aos_target)',
35 'sources': [
36 'SensorReader.cc',
37 ],
38 'dependencies': [
39 '<(AOS)/build/aos.gyp:libaos',
James Kuszmaulf254c1a2013-03-10 16:31:26 -070040 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000041 '<(DEPTH)/frc971/queues/queues.gyp:queues',
42 '<(AOS)/common/network/network.gyp:socket',
43 ],
Brian Silvermanf665d692013-02-17 22:11:39 -080044 'conditions': [
45 ['OS!="crio"', {
46 'dependencies': [
47 '<(AOS)/atom_code/atom_code.gyp:init',
48 ],
49 }],
50 ],
brians343bc112013-02-10 01:53:46 +000051 },
52 {
53 'target_name': 'SensorWriter',
54 'type': '<(aos_target)',
55 'sources': [
56 'SensorWriter.cc',
57 ],
58 'dependencies': [
59 '<(AOS)/build/aos.gyp:libaos',
Brian Silvermanf665d692013-02-17 22:11:39 -080060 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
brians343bc112013-02-10 01:53:46 +000061 ],
62 },
63 {
64 'target_name': 'GyroReader',
65 'type': 'executable',
66 'sources': [
67 'GyroReader.cc',
68 ],
69 'dependencies': [
brians343bc112013-02-10 01:53:46 +000070 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080071 '<(AOS)/atom_code/atom_code.gyp:init',
72 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +000073 ],
74 },
75 {
76 'target_name': 'AutoMode',
77 'type': 'executable',
78 'sources': [
79 'AutoMode.cc',
80 ],
81 'dependencies': [
82 '<(AOS)/build/aos.gyp:libaos',
brians343bc112013-02-10 01:53:46 +000083 '<(DEPTH)/frc971/queues/queues.gyp:queues',
84 'actions',
Brian Silvermanf665d692013-02-17 22:11:39 -080085# TODO(brians) this shouldn't need to be here
86 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +000087 ],
88 },
89 ],
90}