Converted more stuff to bazel.

Change-Id: I18c4d5c38cc810086d00479962c1b3f16203a252
diff --git a/aos/common/BUILD b/aos/common/BUILD
new file mode 100644
index 0000000..32b0f3b
--- /dev/null
+++ b/aos/common/BUILD
@@ -0,0 +1,42 @@
+"""
+aos_queue(
+  name = 'test_queue',
+  srcs = [
+    'test_queue.q',
+  ],
+)
+"""
+
+cc_library(
+  name = 'queue_testutils',
+  srcs = [
+    'queue_testutils.cc',
+  ],
+  deps = [
+    ':once',
+    ':mutex',
+    '//aos/build:logging',
+    '//aos/linux_code/ipc_lib:shared_mem',
+  ],
+)
+
+cc_library(
+  name = 'time',
+  hdrs = [
+    'time.h',
+  ],
+  srcs = [
+    'time.cc',
+  ],
+  deps = [
+    ':mutex',
+    '//aos/build:logging_interface',
+  ],
+)
+
+cc_library(
+  name = 'queue_types',
+  srcs = [
+    'queue_types.cc',
+  ],
+)