blob: a0016e81614bd97c3a8bfa8f7d385138c6115c14 [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',
Austin Schuh703b8d42015-02-01 14:56:34 -080013 '<(DEPTH)/frc971/zeroing/zeroing.gyp:zeroing',
Brian Silverman0a7f6062015-01-24 17:41:33 -050014 ],
15 'export_dependent_settings': [
16 '<(AOS)/common/controls/controls.gyp:control_loop_queues',
17 '<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
Austin Schuh703b8d42015-02-01 14:56:34 -080018 '<(DEPTH)/frc971/zeroing/zeroing.gyp:zeroing',
Brian Silverman0a7f6062015-01-24 17:41:33 -050019 ],
20 'includes': ['../../../aos/build/queues.gypi'],
21 },
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080022 {
23 'target_name': 'fridge_lib',
24 'type': 'static_library',
25 'sources': [
26 'fridge.cc',
27 'arm_motor_plant.cc',
28 'elevator_motor_plant.cc',
29 ],
30 'dependencies': [
31 'fridge_queue',
32 '<(AOS)/common/controls/controls.gyp:control_loop',
33 '<(DEPTH)/frc971/frc971.gyp:constants',
34 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
35 ],
36 'export_dependent_settings': [
37 'fridge_queue',
38 '<(AOS)/common/controls/controls.gyp:control_loop',
39 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
40 ],
41 },
42 {
43 'target_name': 'fridge_lib_test',
44 'type': 'executable',
45 'sources': [
46 'fridge_lib_test.cc',
47 ],
48 'dependencies': [
49 '<(EXTERNALS):gtest',
50 'fridge_lib',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080051 '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
Brian Silvermane6f64ab2015-02-05 17:03:56 -050052 '<(AOS)/common/controls/controls.gyp:control_loop_test',
Daniel Pettiebfaf922015-02-08 23:11:04 +000053 '<(AOS)/common/common.gyp:time',
Daniel Petti4d8bf1f2015-02-04 20:26:32 -080054 '<(DEPTH)/frc971/control_loops/control_loops.gyp:position_sensor_sim',
Philipp Schraderf75a8bf2015-02-02 05:30:16 +000055 '<(DEPTH)/frc971/control_loops/control_loops.gyp:team_number_test_environment',
Ben Fredrickson6b5ba792015-01-25 17:14:40 -080056 ],
57 },
58 {
59 'target_name': 'fridge',
60 'type': 'executable',
61 'sources': [
62 'fridge_main.cc',
63 ],
64 'dependencies': [
65 '<(AOS)/linux_code/linux_code.gyp:init',
66 'fridge_lib',
67 ],
68 },
Brian Silverman0a7f6062015-01-24 17:41:33 -050069 ],
70}