blob: 27d6ae9dc2f13ee7812f5f67447c2ab7910b1949 [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',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -070063 '<(AOS)/common/common.gyp:time',
64 '<(AOS)/crio/hardware/hardware.gyp:counter',
65 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
66 '<(DEPTH)/frc971/control_loops/index/index.gyp:index_lib',
Brian Silverman3204dd82013-03-12 18:42:01 -070067 ],
68 'export_dependent_settings': [
69 '<(EXTERNALS):WPILib',
70 '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
71 '<(AOS)/common/common.gyp:mutex',
Brian Silvermanc6aa51a2013-03-15 17:06:27 -070072 '<(AOS)/crio/hardware/hardware.gyp:counter',
73 '<(AOS)/crio/hardware/hardware.gyp:digital_source',
brians343bc112013-02-10 01:53:46 +000074 ],
75 },
76 {
77 'target_name': 'GyroReader',
78 'type': 'executable',
79 'sources': [
80 'GyroReader.cc',
81 ],
82 'dependencies': [
brians343bc112013-02-10 01:53:46 +000083 '<(DEPTH)/frc971/queues/queues.gyp:queues',
Brian Silvermanf665d692013-02-17 22:11:39 -080084 '<(AOS)/atom_code/atom_code.gyp:init',
85 '<(AOS)/build/aos.gyp:logging',
brians343bc112013-02-10 01:53:46 +000086 ],
87 },
88 {
89 'target_name': 'AutoMode',
90 'type': 'executable',
91 'sources': [
92 'AutoMode.cc',
93 ],
94 'dependencies': [
95 '<(AOS)/build/aos.gyp:libaos',
96 '<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
97 '<(DEPTH)/frc971/queues/queues.gyp:queues',
98 'actions',
Brian Silvermanf665d692013-02-17 22:11:39 -080099# TODO(brians) this shouldn't need to be here
100 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +0000101 ],
102 },
103 ],
104}