brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | # The WPILib code that we've modified. |
| 5 | 'target_name': 'WPILib_changes', |
| 6 | 'type': 'static_library', |
| 7 | 'sources': [ |
brians | 759380a | 2013-03-03 05:31:52 +0000 | [diff] [blame] | 8 | '<(AOS)/externals/WPILib/WPILib/LiveWindow/LiveWindow.cpp', |
brians | fe046f4 | 2013-03-03 23:16:58 +0000 | [diff] [blame] | 9 | '<(AOS)/externals/WPILib/WPILib/AnalogTriggerOutput.cpp', |
| 10 | '<(AOS)/externals/WPILib/WPILib/DigitalInput.cpp', |
| 11 | '<(AOS)/externals/WPILib/WPILib/DigitalSource.cpp', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 12 | ], |
| 13 | 'dependencies': [ |
| 14 | '<(EXTERNALS):WPILib', |
| 15 | ], |
| 16 | 'cflags!': ['-Werror'], |
| 17 | }, |
| 18 | { |
| 19 | 'target_name': 'user_program', |
| 20 | 'type': 'static_library', |
| 21 | 'sources': [ |
| 22 | 'main.cc', |
| 23 | ], |
| 24 | 'dependencies': [ |
Brian Silverman | a4f9ef2 | 2013-03-30 14:31:16 -0700 | [diff] [blame^] | 25 | '<(AOS)/crio/motor_server/motor_server.gyp:MotorServer', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 26 | '../output/output.gyp:MotorWriter', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 27 | 'WPILib_changes', |
| 28 | '<(EXTERNALS):WPILib', |
Brian Silverman | c0b6543 | 2013-02-24 16:54:47 -0800 | [diff] [blame] | 29 | '<(AOS)/crio/controls/controls.gyp:ControlsManager', |
Brian Silverman | a4f9ef2 | 2013-03-30 14:31:16 -0700 | [diff] [blame^] | 30 | '<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier', |
| 31 | #'<(AOS)/crio/motor_server/motor_server.gyp:crio_control_loop_runner', |
| 32 | #'<(AOS)/common/sensors/sensors.gyp:sensor_broadcaster', |
| 33 | #'<(DEPTH)/frc971/input/input.gyp:sensor_packer', |
| 34 | #'<(DEPTH)/frc971/input/input.gyp:sensor_unpacker', |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 35 | ], |
| 36 | }, |
| 37 | { |
| 38 | 'target_name': 'FRC_UserProgram', |
| 39 | 'type': 'shared_library', |
| 40 | 'dependencies': [ |
| 41 | 'user_program' |
| 42 | ], |
| 43 | }, |
| 44 | { |
| 45 | 'target_name': 'FRC_UserProgram_WithTests', |
| 46 | 'type': 'shared_library', |
| 47 | 'dependencies': [ |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 48 | # For testing. |
| 49 | '<(AOS)/build/aos_all.gyp:Crio', |
| 50 | ], |
| 51 | }, |
| 52 | ], |
| 53 | } |