blob: ece9d141c71a02678808a7ebb1ba89085bb574e6 [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': [
brians343bc112013-02-10 01:53:46 +000042 '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
brians343bc112013-02-10 01:53:46 +000043 '<(AOS)/build/aos.gyp:libaos',
James Kuszmaulf254c1a2013-03-10 16:31:26 -070044 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
brians343bc112013-02-10 01:53:46 +000045 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silverman687f5242013-03-16 13:57:59 -070046 '<(AOS)/common/network/network.gyp:socket',
47 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
48 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
49 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
50 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
Brian Silvermanf665d692013-02-17 22:11:39 -080051 ],
brians343bc112013-02-10 01:53:46 +000052 },
53 {
Brian Silverman59685152013-03-29 21:37:43 -070054 'target_name': 'gyro_board_reader',
55 'type': 'executable',
56 'sources': [
57 'gyro_board_reader.cc',
58 ],
59 'dependencies': [
60 '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
61 '<(DEPTH)/frc971/queues/queues.gyp:queues',
62 '<(DEPTH)/frc971/control_loops/angle_adjust/angle_adjust.gyp:angle_adjust_loop',
63 '<(DEPTH)/frc971/control_loops/wrist/wrist.gyp:wrist_loop',
64 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_loop',
65 '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
66 '<(AOS)/atom_code/atom_code.gyp:init',
67 '<(DEPTH)/gyro_board/src/libusb-driver/libusb-driver.gyp:libusb_wrap',
68 '<(EXTERNALS):libusb',
69 '<(AOS)/build/aos.gyp:logging',
70 ],
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',
brians343bc112013-02-10 01:53:46 +0000101 '<(AOS)/build/aos.gyp:libaos',
Brian Silverman3204dd82013-03-12 18:42:01 -0700102 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
103 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -0700104 '<(AOS)/crio/hardware/hardware.gyp:counter',
105 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
brians343bc112013-02-10 01:53:46 +0000106 ],
107 },
108 {
109 'target_name': 'GyroReader',
110 'type': 'executable',
111 'sources': [
112 'GyroReader.cc',
113 ],
114 'dependencies': [
brians343bc112013-02-10 01:53:46 +0000115 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -0800116 '<(AOS)/atom_code/atom_code.gyp:init',
117 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +0000118 ],
119 },
brians343bc112013-02-10 01:53:46 +0000120 ],
121}