blob: c62365bec6345fcfabea86e7fa1cd2cee66785fb [file] [log] [blame]
{
'targets': [
{
'target_name': 'actions',
'type': 'static_library',
'sources': ['AutoMode.act'],
'variables': {
'header_path': 'frc971/input',
},
'dependencies': [
'<(AOS)/build/aos.gyp:libaos',
'<(AOS)/common/common.gyp:controls',
],
'includes': ['../../aos/build/queues.gypi'],
},
{
'target_name': 'JoystickReader',
'type': 'executable',
'sources': [
'JoystickReader.cc',
],
'dependencies': [
'<(AOS)/build/aos.gyp:libaos',
'<(AOS)/atom_code/input/input.gyp:joystick',
'<(AOS)/common/network/network.gyp:socket',
'actions',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
'<(DEPTH)/frc971/queues/queues.gyp:queues',
'<(AOS)/atom_code/atom_code.gyp:init',
],
},
{
'target_name': 'SensorReader',
'type': '<(aos_target)',
'sources': [
'SensorReader.cc',
],
'dependencies': [
'<(AOS)/build/aos.gyp:libaos',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
'<(DEPTH)/frc971/queues/queues.gyp:queues',
'<(AOS)/common/network/network.gyp:socket',
],
'conditions': [
['OS!="crio"', {
'dependencies': [
'<(AOS)/atom_code/atom_code.gyp:init',
],
}],
],
},
{
'target_name': 'SensorWriter',
'type': '<(aos_target)',
'sources': [
'SensorWriter.cc',
],
'dependencies': [
'<(AOS)/build/aos.gyp:libaos',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
'<(AOS)/crio/shared_libs/shared_libs.gyp:interrupt_notifier',
],
},
{
'target_name': 'GyroReader',
'type': 'executable',
'sources': [
'GyroReader.cc',
],
'dependencies': [
'<(DEPTH)/frc971/queues/queues.gyp:queues',
'<(AOS)/atom_code/atom_code.gyp:init',
'<(AOS)/build/aos.gyp:logging',
],
},
{
'target_name': 'AutoMode',
'type': 'executable',
'sources': [
'AutoMode.cc',
],
'dependencies': [
'<(AOS)/build/aos.gyp:libaos',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:control_loops',
'<(DEPTH)/frc971/queues/queues.gyp:queues',
'actions',
# TODO(brians) this shouldn't need to be here
'<(AOS)/atom_code/atom_code.gyp:init',
],
},
],
}