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/network/BUILD b/aos/common/network/BUILD
new file mode 100644
index 0000000..a452e8f
--- /dev/null
+++ b/aos/common/network/BUILD
@@ -0,0 +1,37 @@
+package(default_visibility = ['//visibility:public'])
+
+cc_library(
+  name = 'team_number',
+  srcs = [
+    'team_number.cc',
+  ],
+  hdrs = [
+    'team_number.h',
+  ],
+  deps = [
+    '//aos/linux_code:configuration',
+    '//aos/common:once',
+    '//aos/common/logging',
+    '//aos/common/util:string_to_num',
+  ],
+)
+
+cc_library(
+  name = 'socket',
+  srcs = [
+    'receive_socket.cc',
+    'send_socket.cc',
+    'socket.cc',
+  ],
+  hdrs = [
+    'receive_socket.h',
+    'send_socket.h',
+    'socket.h',
+  ],
+  deps = [
+    '//aos/common/logging',
+    '//aos/common:time',
+    '//aos/common/util:inet_addr',
+    '//aos/linux_code:configuration',
+  ],
+)