blob: 104bbeb0ad8017799af3b11436be7a97b527a84d [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',
68 ],
69 },
70 {
Brian Silverman3204dd82013-03-12 18:42:01 -070071 'target_name': 'sensor_receiver',
72 'type': 'executable',
brians343bc112013-02-10 01:53:46 +000073 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070074 'sensor_receiver.cc',
brians343bc112013-02-10 01:53:46 +000075 ],
76 'dependencies': [
Brian Silverman3204dd82013-03-12 18:42:01 -070077 '<(AOS)/atom_code/atom_code.gyp:init',
78 'sensor_unpacker',
79 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
Brian Silverman3204dd82013-03-12 18:42:01 -070080 ],
81 },
82 {
83 'target_name': 'sensor_packer',
84 'type': 'static_library',
85 'sources': [
86 'sensor_packer.cc',
87 ],
88 'dependencies': [
89 '<(EXTERNALS):WPILib',
Brian Silvermanf665d692013-02-17 22:11:39 -080090 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
Brian Silverman3204dd82013-03-12 18:42:01 -070091 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -070092 '<(AOS)/common/common.gyp:time',
93 '<(AOS)/crio/hardware/hardware.gyp:counter',
94 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
95 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_lib',
Brian Silverman3204dd82013-03-12 18:42:01 -070096 ],
97 'export_dependent_settings': [
98 '<(EXTERNALS):WPILib',
99 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
100 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -0700101 '<(AOS)/crio/hardware/hardware.gyp:counter',
102 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
brians343bc112013-02-10 01:53:46 +0000103 ],
104 },
105 {
106 'target_name': 'GyroReader',
107 'type': 'executable',
108 'sources': [
109 'GyroReader.cc',
110 ],
111 'dependencies': [
brians343bc112013-02-10 01:53:46 +0000112 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -0800113 '<(AOS)/atom_code/atom_code.gyp:init',
114 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +0000115 ],
116 },
brians343bc112013-02-10 01:53:46 +0000117 ],
118}