Move 2015-specific code to its own folder.
Known issues:
-I didn't change the namespace for it, but I am open to discussion
on doing that in a separate change.
-There are a couple of files which should get split out into
year-specific and not-year-specific files to reduce how much needs
to get copied around each year still.
-The control loop python code doesn't yet generate code with the
right #include etc paths.
Change-Id: Iabf078e75107c283247f58a5ffceb4dbd6a0815f
diff --git a/y2015/http_status/http_status.gyp b/y2015/http_status/http_status.gyp
new file mode 100644
index 0000000..c78a1fc
--- /dev/null
+++ b/y2015/http_status/http_status.gyp
@@ -0,0 +1,46 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'http_status',
+ 'type': 'executable',
+ 'sources': [
+ 'http_status.cc',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'http_status_gen_embedded',
+ 'inputs': [
+ '<!@(find ./www_defaults)',
+ '<(AOS)/externals/seasocks/gen_embedded.py',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/http_status/y2015/http_status/embedded.h',
+ ],
+ 'action': [
+ 'python', '<(AOS)/externals/seasocks/gen_embedded.py', '<(_outputs)',
+ ],
+ },
+ ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/http_status/'
+ ],
+ 'dependencies': [
+ '<(AOS)/linux_code/linux_code.gyp:init',
+ '<(AOS)/build/aos.gyp:logging',
+ '<(EXTERNALS):seasocks',
+ '<(DEPTH)/y2015/control_loops/claw/claw.gyp:claw_queue',
+ '<(DEPTH)/y2015/control_loops/fridge/fridge.gyp:fridge_queue',
+ '<(AOS)/common/util/util.gyp:phased_loop',
+ '<(AOS)/common/common.gyp:time',
+ ],
+ 'copies': [
+ {
+ 'destination': '<(rsync_dir)',
+ 'files': [
+ 'www',
+ ],
+ },
+ ],
+ },
+ ],
+}