blob: 5766d927e74fc56b3ebb6044b8fb8d40ae470bac [file] [log] [blame]
Brian Silvermand4417aa2014-01-18 12:45:12 -08001{
2 'targets': [
3 {
Brian Silverman5b433df2014-02-17 11:57:37 -08004 'target_name': 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -08005 'type': 'static_library',
Austin Schuh3bb9a442014-02-02 16:01:45 -08006 'sources': ['claw.q'],
Brian Silvermand4417aa2014-01-18 12:45:12 -08007 'variables': {
Austin Schuh3bb9a442014-02-02 16:01:45 -08008 'header_path': 'frc971/control_loops/claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -08009 },
10 'dependencies': [
11 '<(AOS)/common/common.gyp:control_loop_queues',
Brian Silvermane0a95462014-02-17 00:41:09 -080012 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080013 ],
14 'export_dependent_settings': [
15 '<(AOS)/common/common.gyp:control_loop_queues',
Brian Silvermane0a95462014-02-17 00:41:09 -080016 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Brian Silvermand4417aa2014-01-18 12:45:12 -080017 ],
18 'includes': ['../../../aos/build/queues.gypi'],
19 },
20 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080021 'target_name': 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080022 'type': 'static_library',
23 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080024 'claw.cc',
Austin Schuhcda86af2014-02-16 16:16:39 -080025 'claw_motor_plant.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080026 ],
27 'dependencies': [
Brian Silverman5b433df2014-02-17 11:57:37 -080028 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080029 '<(AOS)/common/common.gyp:controls',
30 '<(DEPTH)/frc971/frc971.gyp:constants',
31 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
32 ],
33 'export_dependent_settings': [
Brian Silverman5b433df2014-02-17 11:57:37 -080034 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080035 '<(AOS)/common/common.gyp:controls',
36 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
37 ],
38 },
39 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080040 'target_name': 'claw_lib_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080041 'type': 'executable',
42 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080043 'claw_lib_test.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080044 ],
45 'dependencies': [
46 '<(EXTERNALS):gtest',
Brian Silverman5b433df2014-02-17 11:57:37 -080047 'claw_loop',
Austin Schuh3bb9a442014-02-02 16:01:45 -080048 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080049 '<(AOS)/common/common.gyp:queue_testutils',
50 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
51 ],
52 },
53 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080054 'target_name': 'claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -080055 'type': 'executable',
56 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080057 'claw_main.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080058 ],
59 'dependencies': [
60 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh3bb9a442014-02-02 16:01:45 -080061 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080062 ],
63 },
64 ],
65}