blob: dcfc864b24f333dcb2f23b2403cea0db373bef87 [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': [
brians343bc112013-02-10 01:53:46 +000011 '<(AOS)/common/common.gyp:controls',
12 ],
13 'includes': ['../../aos/build/queues.gypi'],
14 },
15 {
16 'target_name': 'JoystickReader',
17 'type': 'executable',
18 'sources': [
19 'JoystickReader.cc',
20 ],
21 'dependencies': [
brians343bc112013-02-10 01:53:46 +000022 '<(AOS)/atom_code/input/input.gyp:joystick',
brians343bc112013-02-10 01:53:46 +000023 'actions',
James Kuszmaulf254c1a2013-03-10 16:31:26 -070024 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000025 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080026 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +000027 ],
28 },
29 {
Brian Silverman3204dd82013-03-12 18:42:01 -070030 'target_name': 'sensor_unpacker',
31 'type': 'static_library',
brians343bc112013-02-10 01:53:46 +000032 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070033 'sensor_unpacker.cc',
brians343bc112013-02-10 01:53:46 +000034 ],
35 'dependencies': [
brians343bc112013-02-10 01:53:46 +000036 '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
brians343bc112013-02-10 01:53:46 +000037 '<(AOS)/build/aos.gyp:libaos',
James Kuszmaulf254c1a2013-03-10 16:31:26 -070038 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000039 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080040 ],
brians343bc112013-02-10 01:53:46 +000041 },
42 {
Brian Silverman3204dd82013-03-12 18:42:01 -070043 'target_name': 'sensor_receiver',
44 'type': 'executable',
brians343bc112013-02-10 01:53:46 +000045 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070046 'sensor_receiver.cc',
brians343bc112013-02-10 01:53:46 +000047 ],
48 'dependencies': [
Brian Silverman3204dd82013-03-12 18:42:01 -070049 '<(AOS)/atom_code/atom_code.gyp:init',
50 'sensor_unpacker',
51 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
52 '<(AOS)/atom_code/atom_code.gyp:init',
53 ],
54 },
55 {
56 'target_name': 'sensor_packer',
57 'type': 'static_library',
58 'sources': [
59 'sensor_packer.cc',
60 ],
61 'dependencies': [
62 '<(EXTERNALS):WPILib',
Brian Silvermanf665d692013-02-17 22:11:39 -080063 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
Brian Silverman3204dd82013-03-12 18:42:01 -070064 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -070065 '<(AOS)/common/common.gyp:time',
66 '<(AOS)/crio/hardware/hardware.gyp:counter',
67 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
68 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_lib',
Brian Silverman3204dd82013-03-12 18:42:01 -070069 ],
70 'export_dependent_settings': [
71 '<(EXTERNALS):WPILib',
brians343bc112013-02-10 01:53:46 +000072 '<(AOS)/build/aos.gyp:libaos',
Brian Silverman3204dd82013-03-12 18:42:01 -070073 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
74 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -070075 '<(AOS)/crio/hardware/hardware.gyp:counter',
76 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
brians343bc112013-02-10 01:53:46 +000077 ],
78 },
79 {
80 'target_name': 'GyroReader',
81 'type': 'executable',
82 'sources': [
83 'GyroReader.cc',
84 ],
85 'dependencies': [
brians343bc112013-02-10 01:53:46 +000086 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080087 '<(AOS)/atom_code/atom_code.gyp:init',
88 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +000089 ],
90 },
91 {
92 'target_name': 'AutoMode',
93 'type': 'executable',
94 'sources': [
95 'AutoMode.cc',
96 ],
97 'dependencies': [
98 '<(AOS)/build/aos.gyp:libaos',
brians343bc112013-02-10 01:53:46 +000099 '<(DEPTH)/frc971/queues/queues.gyp:queues',
100 'actions',
Brian Silvermanf665d692013-02-17 22:11:39 -0800101# TODO(brians) this shouldn't need to be here
102 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +0000103 ],
104 },
105 ],
106}