No SkEncodeImageAsKTX for ANDROID_FRAMEWORK

BUG=skia:

Change-Id: Ia2925eb6aecd576d078256013fe122a468c30a5a
Reviewed-on: https://skia-review.googlesource.com/5421
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
Hal Canary 2016-12-01 09:24:03 -05:00 committed by Skia Commit-Bot
parent d0fdc0f234
commit 681fa361f4

View File

@ -28,7 +28,11 @@
#define SkEncodeImageAsWEBP(...) false
#endif
bool SkEncodeImageAsKTX(SkWStream*, const SkPixmap&);
#ifndef SK_BUILD_FOR_ANDROID_FRAMEWORK
bool SkEncodeImageAsKTX(SkWStream*, const SkPixmap&);
#else
#define SkEncodeImageAsKTX(...) false
#endif
#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
bool SkEncodeImageWithCG(SkWStream*, const SkPixmap&, SkEncodedImageFormat);