blob: b0bcb2095a29ef7dbeace9f58fa517cc21f70d76 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
2 'targets': [
3 {
Daniel Petti3fe36542013-09-25 04:18:24 +00004 'target_name': 'joystick_reader',
brians343bc112013-02-10 01:53:46 +00005 'type': 'executable',
6 'sources': [
Daniel Petti3fe36542013-09-25 04:18:24 +00007 'joystick_reader.cc',
brians343bc112013-02-10 01:53:46 +00008 ],
9 'dependencies': [
Brian Silvermanba3de7e2013-05-08 16:18:15 -070010 '<(AOS)/atom_code/input/input.gyp:joystick_input',
11 '<(AOS)/atom_code/atom_code.gyp:init',
12 '<(AOS)/build/aos.gyp:logging',
13
James Kuszmaulf254c1a2013-03-10 16:31:26 -070014 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000015 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silverman687f5242013-03-16 13:57:59 -070016 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
17 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
18 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
19 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
Austin Schuh6be011a2013-03-19 10:07:02 +000020 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
21 '<(DEPTH)/frc971/autonomous/autonomous.gyp:auto_queue',
brians343bc112013-02-10 01:53:46 +000022 ],
23 },
24 {
Brian Silverman2e0dcfd2013-03-30 22:44:40 -070025 'target_name': 'gyro_sensor_receiver',
26 'type': 'executable',
27 'sources': [
28 'gyro_sensor_receiver.cc',
29 ],
30 'dependencies': [
31 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
32 '<(DEPTH)/frc971/queues/queues.gyp:queues',
33 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
34 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
35 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
36 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
37 '<(AOS)/atom_code/atom_code.gyp:init',
Brian Silverman2e0dcfd2013-03-30 22:44:40 -070038 '<(AOS)/build/aos.gyp:logging',
Brian Silvermanf4937f62013-10-16 10:32:00 -070039 '<(AOS)/common/util/util.gyp:wrapping_counter',
Brian Silverman1e869f32013-10-25 18:00:20 -070040 'usb_receiver',
Brian Silverman6eb51f12013-11-02 14:39:01 -070041 '<(DEPTH)/frc971/frc971.gyp:constants',
Brian Silverman2e0dcfd2013-03-30 22:44:40 -070042 ],
43 },
44 {
Brian Silverman1e869f32013-10-25 18:00:20 -070045 'target_name': 'usb_receiver',
46 'type': 'static_library',
Brian Silverman59685152013-03-29 21:37:43 -070047 'sources': [
Brian Silverman1e869f32013-10-25 18:00:20 -070048 'usb_receiver.cc',
Brian Silverman59685152013-03-29 21:37:43 -070049 ],
50 'dependencies': [
Brian Silverman59685152013-03-29 21:37:43 -070051 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
Brian Silverman59685152013-03-29 21:37:43 -070052 '<(AOS)/build/aos.gyp:logging',
Brian Silverman06130872013-03-30 18:54:54 -070053 '<(AOS)/common/common.gyp:time',
Brian Silverman1e869f32013-10-25 18:00:20 -070054 '<(AOS)/common/common.gyp:controls',
Brian Silverman59685152013-03-29 21:37:43 -070055 ],
Brian Silverman1e869f32013-10-25 18:00:20 -070056 'export_dependent_settings': [
57 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
Brian Silverman1e869f32013-10-25 18:00:20 -070058 '<(AOS)/common/common.gyp:time',
brians343bc112013-02-10 01:53:46 +000059 ],
Brian Silverman6eb51f12013-11-02 14:39:01 -070060 'variables': {
61 # TODO(brians): Add dependency on this file too (or something).
62 'checksum': '<!(<(DEPTH)/gyro_board/src/usb/data_struct_checksum.sh)',
63 },
Brian Silverman28d97782013-10-31 17:33:52 -070064 'defines': [
Brian Silverman6eb51f12013-11-02 14:39:01 -070065 'GYRO_BOARD_DATA_CHECKSUM=<(checksum)',
Brian Silverman28d97782013-10-31 17:33:52 -070066 ],
brians343bc112013-02-10 01:53:46 +000067 },
brians343bc112013-02-10 01:53:46 +000068 ],
69}