diff options
author | scroggo <scroggo@google.com> | 2014-11-14 14:49:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-14 14:49:34 -0800 |
commit | 28562a01999d49abcbd60abbfba06f2ac8046f6d (patch) | |
tree | da89d21088b1b4fe9cf79089fe3ced43a85229b9 /tests/PathOpsFuzz763Test.cpp | |
parent | 64c04882701d9ee3bbbf23d8c02c8d96c5a51719 (diff) |
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
Diffstat (limited to 'tests/PathOpsFuzz763Test.cpp')
-rwxr-xr-x | tests/PathOpsFuzz763Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |