From 7d3028818ec1b6a653da45387ddf0fa01888cdda Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 3 Nov 2016 14:06:31 -0400 Subject: GN: iOS basics This doesn't create any apps or bundles or sign anything, but it all compiles and links. Note the awkward transitional hack I used to make each tool's tool_main() serve as the real main() again when built with GN, while keeping the existing setup with GYP. Fun... BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4350 Change-Id: I632753d5d8e5848380854f413bf5905d676bfcf4 Reviewed-on: https://skia-review.googlesource.com/4350 Reviewed-by: Jim Van Verth Commit-Queue: Mike Klein --- tests/StreamTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/StreamTest.cpp') diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp index ca750d1566..b99b001193 100644 --- a/tests/StreamTest.cpp +++ b/tests/StreamTest.cpp @@ -192,6 +192,7 @@ DEF_TEST(Stream, reporter) { TestNullData(); } +#ifndef SK_BUILD_FOR_IOS /** * Tests peeking and then reading the same amount. The two should provide the * same results. @@ -285,7 +286,6 @@ static void test_peeking_front_buffered_stream(skiatest::Reporter* r, // This test uses file system operations that don't work out of the // box on iOS. It's likely that we don't need them on iOS. Ignoring for now. // TODO(stephana): Re-evaluate if we need this in the future. -#ifndef SK_BUILD_FOR_IOS DEF_TEST(StreamPeek, reporter) { // Test a memory stream. const char gAbcs[] = "abcdefghijklmnopqrstuvwxyz"; -- cgit v1.2.3