blob: 04d24a1f7617312bc6b66929f8d88824ff853041 [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': [
Brian Silvermanba3de7e2013-05-08 16:18:15 -070022 '<(AOS)/atom_code/input/input.gyp:joystick_input',
23 '<(AOS)/atom_code/atom_code.gyp:init',
24 '<(AOS)/build/aos.gyp:logging',
25
James Kuszmaulf254c1a2013-03-10 16:31:26 -070026 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000027 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silverman687f5242013-03-16 13:57:59 -070028 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
29 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
30 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
31 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
Austin Schuh6be011a2013-03-19 10:07:02 +000032 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
33 '<(DEPTH)/frc971/autonomous/autonomous.gyp:auto_queue',
brians343bc112013-02-10 01:53:46 +000034 ],
35 },
36 {
Brian Silverman3204dd82013-03-12 18:42:01 -070037 'target_name': 'sensor_unpacker',
38 'type': 'static_library',
brians343bc112013-02-10 01:53:46 +000039 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070040 'sensor_unpacker.cc',
brians343bc112013-02-10 01:53:46 +000041 ],
42 'dependencies': [
James Kuszmaulf254c1a2013-03-10 16:31:26 -070043 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000044 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silverman687f5242013-03-16 13:57:59 -070045 '<(AOS)/common/network/network.gyp:socket',
46 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
47 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
48 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
49 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
Brian Silvermanf665d692013-02-17 22:11:39 -080050 ],
brians343bc112013-02-10 01:53:46 +000051 },
52 {
Brian Silverman2e0dcfd2013-03-30 22:44:40 -070053 'target_name': 'gyro_sensor_receiver',
54 'type': 'executable',
55 'sources': [
56 'gyro_sensor_receiver.cc',
57 ],
58 'dependencies': [
59 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
60 '<(DEPTH)/frc971/queues/queues.gyp:queues',
61 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
62 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
63 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
64 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
65 '<(AOS)/atom_code/atom_code.gyp:init',
66 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
67 '<(EXTERNALS):libusb',
68 '<(AOS)/build/aos.gyp:logging',
69 '<(AOS)/common/common.gyp:time',
70 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
71 ],
72 },
73 {
Brian Silverman59685152013-03-29 21:37:43 -070074 'target_name': 'gyro_board_reader',
75 'type': 'executable',
76 'sources': [
77 'gyro_board_reader.cc',
78 ],
79 'dependencies': [
80 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
81 '<(DEPTH)/frc971/queues/queues.gyp:queues',
82 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
83 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
84 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
85 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
86 '<(AOS)/atom_code/atom_code.gyp:init',
87 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
88 '<(EXTERNALS):libusb',
89 '<(AOS)/build/aos.gyp:logging',
Brian Silverman06130872013-03-30 18:54:54 -070090 '<(AOS)/common/common.gyp:time',
Brian Silverman2e0dcfd2013-03-30 22:44:40 -070091 '<(AOS)/common/common.gyp:timing',
Brian Silverman59685152013-03-29 21:37:43 -070092 ],
93 },
94 {
Brian Silverman3204dd82013-03-12 18:42:01 -070095 'target_name': 'sensor_receiver',
96 'type': 'executable',
brians343bc112013-02-10 01:53:46 +000097 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070098 'sensor_receiver.cc',
brians343bc112013-02-10 01:53:46 +000099 ],
100 'dependencies': [
Brian Silverman3204dd82013-03-12 18:42:01 -0700101 '<(AOS)/atom_code/atom_code.gyp:init',
102 'sensor_unpacker',
103 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
Brian Silverman3204dd82013-03-12 18:42:01 -0700104 ],
105 },
106 {
107 'target_name': 'sensor_packer',
108 'type': 'static_library',
109 'sources': [
110 'sensor_packer.cc',
111 ],
112 'dependencies': [
113 '<(EXTERNALS):WPILib',
Brian Silvermanf665d692013-02-17 22:11:39 -0800114 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
Brian Silverman3204dd82013-03-12 18:42:01 -0700115 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -0700116 '<(AOS)/common/common.gyp:time',
117 '<(AOS)/crio/hardware/hardware.gyp:counter',
118 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
119 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_lib',
Brian Silverman3204dd82013-03-12 18:42:01 -0700120 ],
121 'export_dependent_settings': [
122 '<(EXTERNALS):WPILib',
123 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
124 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -0700125 '<(AOS)/crio/hardware/hardware.gyp:counter',
126 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
brians343bc112013-02-10 01:53:46 +0000127 ],
128 },
129 {
130 'target_name': 'GyroReader',
131 'type': 'executable',
132 'sources': [
133 'GyroReader.cc',
134 ],
135 'dependencies': [
brians343bc112013-02-10 01:53:46 +0000136 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -0800137 '<(AOS)/atom_code/atom_code.gyp:init',
138 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +0000139 ],
140 },
brians343bc112013-02-10 01:53:46 +0000141 ],
142}