blob: c541dad5eb544a4049c63457dcc50190dbe35349 [file] [log] [blame]
Brian Silvermand4417aa2014-01-18 12:45:12 -08001{
2 'targets': [
3 {
Austin Schuh3bb9a442014-02-02 16:01:45 -08004 'target_name': 'claw_loops',
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',
12 '<(AOS)/common/common.gyp:queues',
13 ],
14 'export_dependent_settings': [
15 '<(AOS)/common/common.gyp:control_loop_queues',
16 '<(AOS)/common/common.gyp:queues',
17 ],
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',
25 'top_claw_motor_plant.cc',
26 'bottom_claw_motor_plant.cc',
27 'unaugmented_top_claw_motor_plant.cc',
28 'unaugmented_bottom_claw_motor_plant.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080029 ],
30 'dependencies': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080031 'claw_loops',
Brian Silvermand4417aa2014-01-18 12:45:12 -080032 '<(AOS)/common/common.gyp:controls',
33 '<(DEPTH)/frc971/frc971.gyp:constants',
34 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
35 ],
36 'export_dependent_settings': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080037 'claw_loops',
Brian Silvermand4417aa2014-01-18 12:45:12 -080038 '<(AOS)/common/common.gyp:controls',
39 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
40 ],
41 },
42 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080043 'target_name': 'claw_lib_test',
Brian Silvermand4417aa2014-01-18 12:45:12 -080044 'type': 'executable',
45 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080046 'claw_lib_test.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080047 ],
48 'dependencies': [
49 '<(EXTERNALS):gtest',
Austin Schuh3bb9a442014-02-02 16:01:45 -080050 'claw_loops',
51 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080052 '<(AOS)/common/common.gyp:queue_testutils',
53 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
54 ],
55 },
56 {
Austin Schuh3bb9a442014-02-02 16:01:45 -080057 'target_name': 'claw',
Brian Silvermand4417aa2014-01-18 12:45:12 -080058 'type': 'executable',
59 'sources': [
Austin Schuh3bb9a442014-02-02 16:01:45 -080060 'claw_main.cc',
Brian Silvermand4417aa2014-01-18 12:45:12 -080061 ],
62 'dependencies': [
63 '<(AOS)/linux_code/linux_code.gyp:init',
Austin Schuh3bb9a442014-02-02 16:01:45 -080064 'claw_lib',
Brian Silvermand4417aa2014-01-18 12:45:12 -080065 ],
66 },
67 ],
68}