To use the channel_transport on the iOS platform, some #if directives are changed.

R=mallinath@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2178005

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4759 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/test/channel_transport/channel_transport.cc b/test/channel_transport/channel_transport.cc
index 979163b..9500c90 100644
--- a/test/channel_transport/channel_transport.cc
+++ b/test/channel_transport/channel_transport.cc
@@ -12,7 +12,7 @@
 
 #include <stdio.h>
 
-#ifndef WEBRTC_ANDROID
+#if !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS)
 #include "testing/gtest/include/gtest/gtest.h"
 #endif
 #include "webrtc/test/channel_transport/udp_transport.h"
@@ -20,7 +20,7 @@
 #include "webrtc/video_engine/vie_defines.h"
 #include "webrtc/voice_engine/include/voe_network.h"
 
-#ifdef WEBRTC_ANDROID
+#if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
 #undef NDEBUG
 #include <assert.h>
 #endif
@@ -36,7 +36,7 @@
   socket_transport_ = UdpTransport::Create(channel, socket_threads);
   int registered = voe_network_->RegisterExternalTransport(channel,
                                                            *socket_transport_);
-#ifndef WEBRTC_ANDROID
+#if !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS)
   EXPECT_EQ(0, registered);
 #else
   assert(registered == 0);
@@ -88,7 +88,7 @@
   socket_transport_ = UdpTransport::Create(channel, socket_threads);
   int registered = vie_network_->RegisterSendTransport(channel,
                                                        *socket_transport_);
-#ifndef WEBRTC_ANDROID
+#if !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS)
   EXPECT_EQ(0, registered);
 #else
   assert(registered == 0);