From 28562a01999d49abcbd60abbfba06f2ac8046f6d Mon Sep 17 00:00:00 2001 From: scroggo Date: Fri, 14 Nov 2014 14:49:34 -0800 Subject: Fix Android framework build. When we define SK_BUILD_FOR_ANDROID, we don't define it to anything, so #if SK_BUILD_FOR_ANDROID is not a meaningful check. Instead, use #ifdef. TBR=caryclark@google.com, djsollen@google.com Review URL: https://codereview.chromium.org/728013002 --- tests/PathOpsFuzz763Test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/PathOpsFuzz763Test.cpp') diff --git a/tests/PathOpsFuzz763Test.cpp b/tests/PathOpsFuzz763Test.cpp index 02519ae670..cd851a78cc 100755 --- a/tests/PathOpsFuzz763Test.cpp +++ b/tests/PathOpsFuzz763Test.cpp @@ -121,7 +121,7 @@ path.close(); } static void fuzz763_378(skiatest::Reporter* reporter, const char* filename) { -#if SK_BUILD_FOR_ANDROID +#ifdef SK_BUILD_FOR_ANDROID if (!FLAGS_runFail) { return; // fails on nexus 9 in release, possibly related to fused multiply-add } @@ -219,7 +219,7 @@ path.close(); } static void fuzz763_378b(skiatest::Reporter* reporter, const char* filename) { -#if SK_BUILD_FOR_ANDROID +#ifdef SK_BUILD_FOR_ANDROID if (!FLAGS_runFail) { return; // fails on nexus 9 in release, possibly related to fused multiply-add } -- cgit v1.2.3