cleaned up LOTS of build-related stuff
There were a lot of things that were relying on transitive #include
and/or gyp dependencies that I fixed.
I also got rid of all references to libaos and a lot of references to
aos/aos_core.h and its build target.
This in preparation for removing libaos completely.
diff --git a/frc971/control_loops/shooter/shooter.cc b/frc971/control_loops/shooter/shooter.cc
index ec08ec8..981df5d 100644
--- a/frc971/control_loops/shooter/shooter.cc
+++ b/frc971/control_loops/shooter/shooter.cc
@@ -1,7 +1,5 @@
#include "frc971/control_loops/shooter/shooter.h"
-#include "aos/aos_core.h"
-
#include "aos/common/control_loop/control_loops.q.h"
#include "aos/common/logging/logging.h"
diff --git a/frc971/control_loops/shooter/shooter.gyp b/frc971/control_loops/shooter/shooter.gyp
index bf1cd67..b1371a4 100644
--- a/frc971/control_loops/shooter/shooter.gyp
+++ b/frc971/control_loops/shooter/shooter.gyp
@@ -8,12 +8,10 @@
'header_path': 'frc971/control_loops/shooter',
},
'dependencies': [
- '<(AOS)/build/aos.gyp:libaos',
'<(AOS)/common/common.gyp:control_loop_queues',
'<(AOS)/common/common.gyp:queues',
],
'export_dependent_settings': [
- '<(AOS)/build/aos.gyp:libaos',
'<(AOS)/common/common.gyp:control_loop_queues',
'<(AOS)/common/common.gyp:queues',
],
@@ -27,7 +25,6 @@
'shooter_motor_plant.cc',
],
'dependencies': [
- '<(AOS)/build/aos.gyp:libaos',
'shooter_loop',
'<(AOS)/common/common.gyp:controls',
'<(DEPTH)/frc971/frc971.gyp:common',
@@ -47,7 +44,6 @@
],
'dependencies': [
'<(EXTERNALS):gtest',
- '<(AOS)/build/aos.gyp:libaos',
'shooter_loop',
'shooter_lib',
'<(AOS)/common/common.gyp:queue_testutils',
@@ -61,7 +57,6 @@
'shooter_csv.cc',
],
'dependencies': [
- '<(AOS)/build/aos.gyp:libaos',
'<(AOS)/common/common.gyp:time',
'<(AOS)/common/common.gyp:timing',
'shooter_loop',
diff --git a/frc971/control_loops/shooter/shooter_csv.cc b/frc971/control_loops/shooter/shooter_csv.cc
index de2b4ee..26f2866 100644
--- a/frc971/control_loops/shooter/shooter_csv.cc
+++ b/frc971/control_loops/shooter/shooter_csv.cc
@@ -1,6 +1,5 @@
#include "stdio.h"
-#include "aos/aos_core.h"
#include "aos/common/control_loop/Timing.h"
#include "aos/common/time.h"
#include "frc971/control_loops/shooter/shooter_motor.q.h"
diff --git a/frc971/control_loops/shooter/shooter_main.cc b/frc971/control_loops/shooter/shooter_main.cc
index 72b820e..c52db73 100644
--- a/frc971/control_loops/shooter/shooter_main.cc
+++ b/frc971/control_loops/shooter/shooter_main.cc
@@ -1,6 +1,6 @@
#include "frc971/control_loops/shooter/shooter.h"
-#include "aos/aos_core.h"
+#include "aos/atom_code/init.h"
int main() {
::aos::Init();