Mojo: Start writing some unit tests for mojo::system::Channel.

Also make RawChannels destroyable without DCHECK failures if OnInit()
fails.

[email protected]

Review URL: https://codereview.chromium.org/251483007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266193 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index db14c06..5cd9e58 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -203,6 +203,7 @@
       'sources': [
         'embedder/embedder_unittest.cc',
         'embedder/platform_channel_pair_posix_unittest.cc',
+        'system/channel_unittest.cc',
         'system/core_unittest.cc',
         'system/core_test_base.cc',
         'system/core_test_base.h',