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/output/CameraServer.cc b/frc971/output/CameraServer.cc
index d3c3bc8..944f417 100644
--- a/frc971/output/CameraServer.cc
+++ b/frc971/output/CameraServer.cc
@@ -1,12 +1,13 @@
#include <string.h>
-#include "aos/aos_core.h"
#include "aos/atom_code/output/HTTPServer.h"
#include "aos/atom_code/output/evhttp_ctemplate_emitter.h"
#include "aos/atom_code/output/ctemplate_cache.h"
#include "aos/common/Configuration.h"
#include "aos/common/messages/RobotState.q.h"
#include "ctemplate/template.h"
+#include "aos/atom_code/init.h"
+#include "aos/common/logging/logging.h"
#include "frc971/constants.h"
@@ -84,4 +85,9 @@
} // namespace frc971
-AOS_RUN_NRT(frc971::CameraServer)
+int main() {
+ ::aos::InitNRT();
+ ::frc971::CameraServer server;
+ server.Run();
+ ::aos::Cleanup();
+}