blob: 447ded39a09b7a0ad2ff6d106c05fa0cadf18f48 [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 Silverman59685152013-03-29 21:37:43 -070052 'target_name': 'gyro_board_reader',
53 'type': 'executable',
54 'sources': [
55 'gyro_board_reader.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',
Brian Silverman06130872013-03-30 18:54:54 -070068 '<(AOS)/common/common.gyp:timing',
69 '<(AOS)/common/common.gyp:time',
Brian Silverman59685152013-03-29 21:37:43 -070070 ],
71 },
72 {
Brian Silverman3204dd82013-03-12 18:42:01 -070073 'target_name': 'sensor_receiver',
74 'type': 'executable',
brians343bc112013-02-10 01:53:46 +000075 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070076 'sensor_receiver.cc',
brians343bc112013-02-10 01:53:46 +000077 ],
78 'dependencies': [
Brian Silverman3204dd82013-03-12 18:42:01 -070079 '<(AOS)/atom_code/atom_code.gyp:init',
80 'sensor_unpacker',
81 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
Brian Silverman3204dd82013-03-12 18:42:01 -070082 ],
83 },
84 {
85 'target_name': 'sensor_packer',
86 'type': 'static_library',
87 'sources': [
88 'sensor_packer.cc',
89 ],
90 'dependencies': [
91 '<(EXTERNALS):WPILib',
Brian Silvermanf665d692013-02-17 22:11:39 -080092 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
Brian Silverman3204dd82013-03-12 18:42:01 -070093 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -070094 '<(AOS)/common/common.gyp:time',
95 '<(AOS)/crio/hardware/hardware.gyp:counter',
96 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
97 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_lib',
Brian Silverman3204dd82013-03-12 18:42:01 -070098 ],
99 'export_dependent_settings': [
100 '<(EXTERNALS):WPILib',
101 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
102 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -0700103 '<(AOS)/crio/hardware/hardware.gyp:counter',
104 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
brians343bc112013-02-10 01:53:46 +0000105 ],
106 },
107 {
108 'target_name': 'GyroReader',
109 'type': 'executable',
110 'sources': [
111 'GyroReader.cc',
112 ],
113 'dependencies': [
brians343bc112013-02-10 01:53:46 +0000114 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -0800115 '<(AOS)/atom_code/atom_code.gyp:init',
116 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +0000117 ],
118 },
brians343bc112013-02-10 01:53:46 +0000119 ],
120}