blob: 7ff9e3ff738ab3579d641054ed15419789644d35 [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',
24 '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
25 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080026 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +000027 ],
28 },
29 {
Brian Silverman3204dd82013-03-12 18:42:01 -070030 'target_name': 'sensor_unpacker',
31 'type': 'static_library',
brians343bc112013-02-10 01:53:46 +000032 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070033 'sensor_unpacker.cc',
brians343bc112013-02-10 01:53:46 +000034 ],
35 'dependencies': [
brians343bc112013-02-10 01:53:46 +000036 '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
37 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080038 ],
brians343bc112013-02-10 01:53:46 +000039 },
40 {
Brian Silverman3204dd82013-03-12 18:42:01 -070041 'target_name': 'sensor_receiver',
42 'type': 'executable',
brians343bc112013-02-10 01:53:46 +000043 'sources': [
Brian Silverman3204dd82013-03-12 18:42:01 -070044 'sensor_receiver.cc',
brians343bc112013-02-10 01:53:46 +000045 ],
46 'dependencies': [
Brian Silverman3204dd82013-03-12 18:42:01 -070047 '<(AOS)/atom_code/atom_code.gyp:init',
48 'sensor_unpacker',
49 '<(AOS)/common/sensors/sensors.gyp:sensor_receiver',
50 '<(AOS)/atom_code/atom_code.gyp:init',
51 ],
52 },
53 {
54 'target_name': 'sensor_packer',
55 'type': 'static_library',
56 'sources': [
57 'sensor_packer.cc',
58 ],
59 'dependencies': [
60 '<(EXTERNALS):WPILib',
Brian Silvermanf665d692013-02-17 22:11:39 -080061 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
Brian Silverman3204dd82013-03-12 18:42:01 -070062 '<(AOS)/common/common.gyp:mutex',
63 ],
64 'export_dependent_settings': [
65 '<(EXTERNALS):WPILib',
66 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
67 '<(AOS)/common/common.gyp:mutex',
brians343bc112013-02-10 01:53:46 +000068 ],
69 },
70 {
71 'target_name': 'GyroReader',
72 'type': 'executable',
73 'sources': [
74 'GyroReader.cc',
75 ],
76 'dependencies': [
brians343bc112013-02-10 01:53:46 +000077 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080078 '<(AOS)/atom_code/atom_code.gyp:init',
79 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +000080 ],
81 },
82 {
83 'target_name': 'AutoMode',
84 'type': 'executable',
85 'sources': [
86 'AutoMode.cc',
87 ],
88 'dependencies': [
89 '<(AOS)/build/aos.gyp:libaos',
90 '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
91 '<(DEPTH)/frc971/queues/queues.gyp:queues',
92 'actions',
Brian Silvermanf665d692013-02-17 22:11:39 -080093# TODO(brians) this shouldn't need to be here
94 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +000095 ],
96 },
97 ],
98}