Finish auto-converting most of the gyp files.

I've also started writing down which ones need manual work.

Change-Id: I442782e1e3352e0de32b612f1bd2c167f231495a
diff --git a/aos/common/logging/BUILD b/aos/common/logging/BUILD
index 181bcd5..db7f365 100644
--- a/aos/common/logging/BUILD
+++ b/aos/common/logging/BUILD
@@ -1,27 +1,43 @@
 package(default_visibility = ['//visibility:public'])
 
-cc_library(
-  name = 'logging_interface',
+cc_test(
+  name = 'logging_impl_test',
   srcs = [
-    'logging_interface.cc',
+    'logging_impl_test.cc',
   ],
   deps = [
-    '//aos/linux_code/logging:linux_interface',
-    '//aos/common:die',
-    '//aos/common/libc:aos_strerror',
+    '//third_party/gtest',
+    '//aos/common/logging',
   ],
 )
 
 cc_library(
-  name = 'logging',
+  name = 'queue_logging',
   srcs = [
-    'logging_impl.cc',
+    'queue_logging.cc',
+  ],
+  hdrs = [
+    'queue_logging.h',
   ],
   deps = [
-    '//aos/linux_code/logging:linux_logging',
-    '//aos/common:time',
-    '//aos/common:once',
-    ':logging_interface',
+    '//aos/common/logging',
+    '//aos/common:die',
     '//aos/common:queue_types',
   ],
 )
+
+cc_library(
+  name = 'matrix_logging',
+  srcs = [
+    'matrix_logging.cc',
+  ],
+  hdrs = [
+    'matrix_logging.h',
+  ],
+  deps = [
+    '//aos/common/logging',
+    '//aos/common:die',
+    '//aos/common:queue_types',
+    '//third_party/eigen',
+  ],
+)