blob: 588ce79be3d17b1700beeb99a8d8bab05a21a075 [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',
Brian Silvermanf48fab32014-03-09 14:32:24 -070032 '<(AOS)/common/logging/logging.gyp:queue_logging',
Brian Silvermand4417aa2014-01-18 12:45:12 -080033 ],
34 'export_dependent_settings': [
Brian Silverman5b433df2014-02-17 11:57:37 -080035 'claw_loop',
Brian Silvermand4417aa2014-01-18 12:45:12 -080036 '<(AOS)/common/common.gyp:controls',
37 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
38 ],
39 },
40 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080041 'target_name': 'claw_lib_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080042 'type': 'executable',
43 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080044 'claw_lib_test.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080045 ],
46 'dependencies': [
47 '<(EXTERNALS):gtest',
Brian Silverman5b433df2014-02-17 11:57:37 -080048 'claw_loop',
Austin Schuh3bb9a442014-02-02 16:01:45 -080049 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080050 '<(AOS)/common/common.gyp:queue_testutils',
51 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
52 ],
53 },
54 {
Austin Schuhd36c3692014-02-18 21:00:57 -080055 'target_name': 'claw_calibration',
56 'type': 'executable',
57 'sources': [
58 'claw_calibration.cc',
59 ],
60 'dependencies': [
61 '<(AOS)/linux_code/linux_code.gyp:init',
62 'claw_loop',
63 '<(AOS)/common/common.gyp:controls',
64 '<(DEPTH)/frc971/frc971.gyp:constants',
65 ],
66 },
67 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080068 'target_name': 'claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -080069 'type': 'executable',
70 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080071 'claw_main.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080072 ],
73 'dependencies': [
74 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh3bb9a442014-02-02 16:01:45 -080075 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080076 ],
77 },
78 ],
79}