copied everything over from 2012 and removed all of the actual robot code except the drivetrain stuff


git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4078 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/aos/common/network/network.gyp b/aos/common/network/network.gyp
new file mode 100644
index 0000000..ca3e653
--- /dev/null
+++ b/aos/common/network/network.gyp
@@ -0,0 +1,56 @@
+{
+  'targets': [
+    {
+      'target_name': 'socket_so',
+      'type': 'shared_library',
+      'variables': {'no_rsync': 1},
+      'sources': [
+        'ReceiveSocket.cpp',
+        'SendSocket.cpp',
+        'Socket.cpp',
+      ],
+      'dependencies': [
+        '<(AOS)/build/aos.gyp:aos_shared_lib',
+      ],
+      'export_dependent_settings': [
+        '<(AOS)/build/aos.gyp:aos_shared_lib',
+      ],
+      'conditions': [
+        ['OS=="crio"', {
+          'dependencies': [
+            '<(EXTERNALS):WPILib',
+          ]}
+        ],
+      ],
+      'direct_dependent_settings': {
+        'variables': {
+          'jni_libs': [
+            'socket_so',
+          ],
+        },
+      },
+    },
+    {
+      'target_name': 'socket',
+      'type': 'static_library',
+      'sources': [
+        'ReceiveSocket.cpp',
+        'SendSocket.cpp',
+        'Socket.cpp',
+      ],
+      'conditions': [
+        ['OS=="crio"', {
+          'dependencies': [
+            '<(EXTERNALS):WPILib',
+          ]}
+        ],
+      ],
+      'dependencies': [
+        '<(AOS)/build/aos.gyp:logging',
+      ],
+      'export_dependent_settings': [
+        '<(AOS)/build/aos.gyp:logging',
+      ],
+    },
+  ],
+}