blob: a1c0130603f00692fb223853d02556b785fb3cc5 [file] [log] [blame]
Daniel Pettib0733be2014-11-14 22:44:03 -08001{
2 'targets': [
3 {
4 'target_name': 'action_client',
5 'type': 'static_library',
6 'sources': [
7 #'<(DEPTH)/frc971/actions/action_client.h',
8 ],
9 'dependencies': [
10 '<(AOS)/build/aos.gyp:logging',
11 '<(AOS)/common/common.gyp:queues',
12 ],
13 'export_dependent_settings': [
14 '<(AOS)/build/aos.gyp:logging',
15 '<(AOS)/common/common.gyp:queues',
16 ],
17 },
18 {
19 'target_name': 'action_queue',
20 'type': 'static_library',
21 'sources': [
22 '<(DEPTH)/frc971/actions/action.q',
23 ],
24 'variables': {
25 'header_path': 'frc971/actions',
26 },
27 'includes': ['../../aos/build/queues.gypi'],
28 },
29 {
30 'target_name': 'drivetrain_action_queue',
31 'type': 'static_library',
32 'sources': [
33 '<(DEPTH)/frc971/actions/drivetrain_action.q',
34 ],
35 'variables': {
36 'header_path': 'frc971/actions',
37 },
38 'dependencies': [
39 'action_queue',
40 ],
41 'export_dependent_settings': [
42 'action_queue',
43 ],
44 'includes': ['../../aos/build/queues.gypi'],
45 },
46 {
47 'target_name': 'drivetrain_action_lib',
48 'type': 'static_library',
49 'sources': [
50 'drivetrain_action.cc',
51 ],
52 'dependencies': [
53 'drivetrain_action_queue',
54 '<(AOS)/common/common.gyp:time',
55 '<(AOS)/common/util/util.gyp:phased_loop',
56 '<(AOS)/build/aos.gyp:logging',
57 'action_client',
58 'action',
59 '<(EXTERNALS):eigen',
60 '<(DEPTH)/bot3/control_loops/drivetrain/drivetrain.gyp:drivetrain_loop',
61 '<(DEPTH)/bot3/control_loops/drivetrain/drivetrain.gyp:polydrivetrain_plants',
62 '<(AOS)/common/util/util.gyp:trapezoid_profile',
63 ],
64 'export_dependent_settings': [
65 'action',
66 'drivetrain_action_queue',
67 'action_client',
68 ],
69 },
70 {
71 'target_name': 'action',
72 'type': 'static_library',
73 'sources': [
74 #'action.h',
75 ],
76 'dependencies': [
77 '<(AOS)/build/aos.gyp:logging',
78 '<(AOS)/common/common.gyp:time',
Daniel Pettid65f5e02014-12-29 20:50:43 -050079 '<(AOS)/common/logging/logging.gyp:queue_logging',
Daniel Pettib0733be2014-11-14 22:44:03 -080080 ],
81 'export_dependent_settings': [
82 '<(AOS)/build/aos.gyp:logging',
83 '<(AOS)/common/common.gyp:time',
Daniel Pettid65f5e02014-12-29 20:50:43 -050084 '<(AOS)/common/logging/logging.gyp:queue_logging',
Daniel Pettib0733be2014-11-14 22:44:03 -080085 ],
86 },
87 {
88 'target_name': 'drivetrain_action',
89 'type': 'executable',
90 'sources': [
91 'drivetrain_action_main.cc',
92 ],
93 'dependencies': [
94 '<(AOS)/linux_code/linux_code.gyp:init',
95 'drivetrain_action_queue',
96 'drivetrain_action_lib',
97 'action',
98 ],
99 },
100 ],
101}