blob: f61da8cdc2feb25d9e3fddc0c66cb98b883dccf5 [file] [log] [blame]
{
'targets': [
{
'target_name': 'index_loop',
'type': 'static_library',
'sources': ['index_motor.q'],
'variables': {
'header_path': 'frc971/control_loops/index',
},
'dependencies': [
'<(AOS)/build/aos.gyp:libaos',
'<(AOS)/common/common.gyp:control_loop_queues',
'<(AOS)/common/common.gyp:queues',
],
'export_dependent_settings': [
'<(AOS)/build/aos.gyp:libaos',
'<(AOS)/common/common.gyp:control_loop_queues',
'<(AOS)/common/common.gyp:queues',
],
'includes': ['../../../aos/build/queues.gypi'],
},
{
'target_name': 'index_lib',
'type': 'static_library',
'sources': [
'index.cc',
'index_motor_plant.cc',
],
'dependencies': [
'<(AOS)/build/aos.gyp:libaos',
'index_loop',
'<(AOS)/common/common.gyp:controls',
'<(DEPTH)/frc971/frc971.gyp:common',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
'<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
],
'export_dependent_settings': [
'<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
'<(AOS)/common/common.gyp:controls',
'index_loop',
],
},
{
'target_name': 'index_lib_test',
'type': 'executable',
'sources': [
'index_lib_test.cc',
'transfer_motor_plant.cc',
],
'dependencies': [
'<(EXTERNALS):gtest',
'<(AOS)/build/aos.gyp:libaos',
'index_loop',
'index_lib',
'<(AOS)/common/common.gyp:queue_testutils',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
'<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_loop',
],
},
{
'target_name': 'index',
'type': 'executable',
'sources': [
'index_main.cc',
],
'dependencies': [
'<(AOS)/atom_code/atom_code.gyp:init',
'index_lib',
'index_loop',
],
},
],
}