Get http_status working under Bazel
Change-Id: Ife3c04bc254c1bc06b8208d026df2323862533dc
diff --git a/y2015/http_status/BUILD b/y2015/http_status/BUILD
index 1bb5c8f..9de423c 100644
--- a/y2015/http_status/BUILD
+++ b/y2015/http_status/BUILD
@@ -1,12 +1,19 @@
-package(default_visibility = ['//visibility:public'])
+load('/aos/externals/seasocks/gen_embedded', 'gen_embedded')
+
+gen_embedded(
+ name = 'gen_embedded',
+ srcs = glob(['www_defaults/**/*']),
+)
cc_binary(
name = 'http_status',
+ visibility = ['//visibility:public'],
srcs = [
'http_status.cc',
'http_status.h',
],
deps = [
+ ':gen_embedded',
'//aos/linux_code:init',
'//aos/common/logging',
'//third_party/seasocks',