Index: mojo/edk/system/data_pipe_unittest.cc |
diff --git a/mojo/edk/system/data_pipe_unittest.cc b/mojo/edk/system/data_pipe_unittest.cc |
index af2cf3e6e815170e5c929df195fc2fd8c46a65dc..2bef49f7d09e65d44c0423696e27715c3de85192 100644 |
--- a/mojo/edk/system/data_pipe_unittest.cc |
+++ b/mojo/edk/system/data_pipe_unittest.cc |
@@ -35,10 +35,12 @@ const uint32_t kSizeOfOptions = |
// TODO(vtl): Get rid of this. |
const size_t kMaxPoll = 100; |
+#if !defined(OS_IOS) |
// Used in Multiprocess test. |
const size_t kMultiprocessCapacity = 37; |
const char kMultiprocessTestData[] = "hello i'm a string that is 36 bytes"; |
const int kMultiprocessMaxIter = 513; |
+#endif |
class DataPipeTest : public testing::Test { |
public: |
@@ -1633,6 +1635,8 @@ TEST_F(DataPipeTest, ConsumerWithClosedProducerSent) { |
ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); |
} |
+#if !defined(OS_IOS) |
+ |
bool WriteAllData(MojoHandle producer, |
const void* elements, |
uint32_t num_bytes) { |
@@ -1847,6 +1851,8 @@ MOJO_MULTIPROCESS_TEST_CHILD_TEST(MultiprocessClient) { |
EXPECT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); |
} |
+#endif // !defined(OS_IOS) |
+ |
} // namespace |
} // namespace edk |
} // namespace mojo |