blob: 1f3eebbf02b8310e9e75d6c11842509508e4e2f8 [file] [log] [blame]
Brian Silverman0a7f6062015-01-24 17:41:33 -05001{
2 'targets': [
3 {
Ben Fredrickson6b5ba792015-01-25 17:14:40 -08004 'target_name': 'fridge_queue',
Brian Silverman0a7f6062015-01-24 17:41:33 -05005 'type': 'static_library',
6 'sources': ['fridge.q'],
7 'variables': {
8 'header_path': 'frc971/control_loops/fridge',
9 },
10 'dependencies': [
11 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
12 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
13 ],
14 'export_dependent_settings': [
15 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
16 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
17
18 ],
19 'includes': ['../../../aos/build/queues.gypi'],
20 },
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080021 {
22 'target_name': 'fridge_lib',
23 'type': 'static_library',
24 'sources': [
25 'fridge.cc',
26 'arm_motor_plant.cc',
27 'elevator_motor_plant.cc',
28 ],
29 'dependencies': [
30 'fridge_queue',
31 '<(AOS)/common/controls/controls.gyp:control_loop',
32 '<(DEPTH)/frc971/frc971.gyp:constants',
33 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
34 ],
35 'export_dependent_settings': [
36 'fridge_queue',
37 '<(AOS)/common/controls/controls.gyp:control_loop',
38 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
39 ],
40 },
41 {
42 'target_name': 'fridge_lib_test',
43 'type': 'executable',
44 'sources': [
45 'fridge_lib_test.cc',
46 ],
47 'dependencies': [
48 '<(EXTERNALS):gtest',
49 'fridge_lib',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080050 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silvermane6f64ab2015-02-05 17:03:56 -050051 '<(AOS)/common/controls/controls.gyp:control_loop_test',
Daniel Petti4d8bf1f2015-02-04 20:26:32 -080052 '<(DEPTH)/frc971/control_loops/control_loops.gyp:position_sensor_sim',
Philipp Schraderf75a8bf2015-02-02 05:30:16 +000053 '<(DEPTH)/frc971/control_loops/control_loops.gyp:team_number_test_environment',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080054 ],
55 },
56 {
57 'target_name': 'fridge',
58 'type': 'executable',
59 'sources': [
60 'fridge_main.cc',
61 ],
62 'dependencies': [
63 '<(AOS)/linux_code/linux_code.gyp:init',
64 'fridge_lib',
65 ],
66 },
Brian Silverman0a7f6062015-01-24 17:41:33 -050067 ],
68}