blob: e2cd6aeab3c132b7206d293c830a2c7e9012dcb0 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
2 'targets': [
3 {
4# The WPILib code that we've modified.
5 'target_name': 'WPILib_changes',
6 'type': 'static_library',
7 'sources': [
brians759380a2013-03-03 05:31:52 +00008 '<(AOS)/externals/WPILib/WPILib/LiveWindow/LiveWindow.cpp',
brians343bc112013-02-10 01:53:46 +00009 ],
10 'dependencies': [
11 '<(EXTERNALS):WPILib',
12 ],
13 'cflags!': ['-Werror'],
14 },
15 {
16 'target_name': 'user_program',
17 'type': 'static_library',
18 'sources': [
19 'main.cc',
20 ],
21 'dependencies': [
22 '../input/input.gyp:SensorReader',
23 '../input/input.gyp:SensorWriter',
24 '../output/output.gyp:MotorWriter',
25 '../output/output.gyp:SensorSender',
26 'WPILib_changes',
27 '<(EXTERNALS):WPILib',
28 '<(AOS)/common/messages/messages.gyp:aos_queues',
29 ],
30 },
31 {
32 'target_name': 'FRC_UserProgram',
33 'type': 'shared_library',
34 'dependencies': [
35 'user_program'
36 ],
37 },
38 {
39 'target_name': 'FRC_UserProgram_WithTests',
40 'type': 'shared_library',
41 'dependencies': [
42 'user_program',
43 # For testing.
44 '<(AOS)/build/aos_all.gyp:Crio',
45 ],
46 },
47 ],
48}