blob: f71bf6beca5ee152f122e5a2b1dc80f0f137ff9f [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',
James Kuszmaulf63b0ae2014-03-25 16:52:11 -070032 '<(DEPTH)/aos/build/externals.gyp:libcdd',
33 '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal',
Brian Silvermand4417aa2014-01-18 12:45:12 -080034 ],
35 'export_dependent_settings': [
Brian Silverman5b433df2014-02-17 11:57:37 -080036 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080037 '<(AOS)/common/common.gyp:controls',
38 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
James Kuszmaulf63b0ae2014-03-25 16:52:11 -070039 '<(DEPTH)/aos/build/externals.gyp:libcdd',
40 '<(DEPTH)/frc971/control_loops/control_loops.gyp:coerce_goal',
Brian Silvermand4417aa2014-01-18 12:45:12 -080041 ],
42 },
43 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080044 'target_name': 'claw_lib_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080045 'type': 'executable',
46 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080047 'claw_lib_test.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080048 ],
49 'dependencies': [
50 '<(EXTERNALS):gtest',
Brian Silverman5b433df2014-02-17 11:57:37 -080051 'claw_loop',
Austin Schuh3bb9a442014-02-02 16:01:45 -080052 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080053 '<(AOS)/common/common.gyp:queue_testutils',
54 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
55 ],
56 },
57 {
Austin Schuhd36c3692014-02-18 21:00:57 -080058 'target_name': 'claw_calibration',
59 'type': 'executable',
60 'sources': [
61 'claw_calibration.cc',
62 ],
63 'dependencies': [
64 '<(AOS)/linux_code/linux_code.gyp:init',
65 'claw_loop',
66 '<(AOS)/common/common.gyp:controls',
67 '<(DEPTH)/frc971/frc971.gyp:constants',
68 ],
69 },
70 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080071 'target_name': 'claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -080072 'type': 'executable',
73 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080074 'claw_main.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080075 ],
76 'dependencies': [
77 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh3bb9a442014-02-02 16:01:45 -080078 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080079 ],
80 },
81 ],
82}