blob: 45f68a2a4e3d6760c954930fbe898956574a6bc4 [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',
Brian Silverman687f5242013-03-16 13:57:59 -070027 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
28 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
29 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
30 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
Austin Schuh6be011a2013-03-19 10:07:02 +000031 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
32 '<(DEPTH)/frc971/autonomous/autonomous.gyp:auto_queue',
brians343bc112013-02-10 01:53:46 +000033 ],
34 },
35 {
Brian Silverman3204dd82013-03-12 18:42:01 -070036 'target_name': 'sensor_unpacker',
37 'type': 'static_library',
brians343bc112013-02-10 01:53:46 +000038 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070039 'sensor_unpacker.cc',
brians343bc112013-02-10 01:53:46 +000040 ],
41 'dependencies': [
James Kuszmaulf254c1a2013-03-10 16:31:26 -070042 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000043 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silverman687f5242013-03-16 13:57:59 -070044 '<(AOS)/common/network/network.gyp:socket',
45 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
46 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
47 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
48 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
Brian Silvermanf665d692013-02-17 22:11:39 -080049 ],
brians343bc112013-02-10 01:53:46 +000050 },
51 {
Brian Silverman2e0dcfd2013-03-30 22:44:40 -070052 'target_name': 'gyro_sensor_receiver',
53 'type': 'executable',
54 'sources': [
55 'gyro_sensor_receiver.cc',
56 ],
57 'dependencies': [
58 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
59 '<(DEPTH)/frc971/queues/queues.gyp:queues',
60 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
61 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
62 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
63 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
64 '<(AOS)/atom_code/atom_code.gyp:init',
65 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
66 '<(EXTERNALS):libusb',
67 '<(AOS)/build/aos.gyp:logging',
68 '<(AOS)/common/common.gyp:time',
69 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
70 ],
71 },
72 {
Brian Silverman59685152013-03-29 21:37:43 -070073 'target_name': 'gyro_board_reader',
74 'type': 'executable',
75 'sources': [
76 'gyro_board_reader.cc',
77 ],
78 'dependencies': [
79 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
80 '<(DEPTH)/frc971/queues/queues.gyp:queues',
81 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
82 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
83 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
84 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
85 '<(AOS)/atom_code/atom_code.gyp:init',
86 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
87 '<(EXTERNALS):libusb',
88 '<(AOS)/build/aos.gyp:logging',
Brian Silverman06130872013-03-30 18:54:54 -070089 '<(AOS)/common/common.gyp:time',
Brian Silverman2e0dcfd2013-03-30 22:44:40 -070090 '<(AOS)/common/common.gyp:timing',
Brian Silverman59685152013-03-29 21:37:43 -070091 ],
92 },
93 {
Brian Silverman3204dd82013-03-12 18:42:01 -070094 'target_name': 'sensor_receiver',
95 'type': 'executable',
brians343bc112013-02-10 01:53:46 +000096 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070097 'sensor_receiver.cc',
brians343bc112013-02-10 01:53:46 +000098 ],
99 'dependencies': [
Brian Silverman3204dd82013-03-12 18:42:01 -0700100 '<(AOS)/atom_code/atom_code.gyp:init',
101 'sensor_unpacker',
102 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
Brian Silverman3204dd82013-03-12 18:42:01 -0700103 ],
104 },
105 {
106 'target_name': 'sensor_packer',
107 'type': 'static_library',
108 'sources': [
109 'sensor_packer.cc',
110 ],
111 'dependencies': [
112 '<(EXTERNALS):WPILib',
Brian Silvermanf665d692013-02-17 22:11:39 -0800113 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
Brian Silverman3204dd82013-03-12 18:42:01 -0700114 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -0700115 '<(AOS)/common/common.gyp:time',
116 '<(AOS)/crio/hardware/hardware.gyp:counter',
117 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
118 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_lib',
Brian Silverman3204dd82013-03-12 18:42:01 -0700119 ],
120 'export_dependent_settings': [
121 '<(EXTERNALS):WPILib',
122 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
123 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -0700124 '<(AOS)/crio/hardware/hardware.gyp:counter',
125 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
brians343bc112013-02-10 01:53:46 +0000126 ],
127 },
128 {
129 'target_name': 'GyroReader',
130 'type': 'executable',
131 'sources': [
132 'GyroReader.cc',
133 ],
134 'dependencies': [
brians343bc112013-02-10 01:53:46 +0000135 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -0800136 '<(AOS)/atom_code/atom_code.gyp:init',
137 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +0000138 ],
139 },
brians343bc112013-02-10 01:53:46 +0000140 ],
141}