diff options
-rw-r--r-- | experimental/tools/coreGraphicsPdf2png.cpp | 3 | ||||
-rw-r--r-- | gyp/experimental.gyp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/experimental/tools/coreGraphicsPdf2png.cpp b/experimental/tools/coreGraphicsPdf2png.cpp index d02e3deffb..a845932616 100644 --- a/experimental/tools/coreGraphicsPdf2png.cpp +++ b/experimental/tools/coreGraphicsPdf2png.cpp @@ -9,9 +9,12 @@ #include "SkBitmap.h" #include "SkCGUtils.h" +#include "SkForceLinking.h" #include "SkImageEncoder.h" #include "SkStream.h" +__SK_FORCE_IMAGE_DECODER_LINKING; + class StdOutWStream : public SkWStream { public: StdOutWStream() : fBytesWritten(0) {} diff --git a/gyp/experimental.gyp b/gyp/experimental.gyp index 1fc86999b6..b67524a916 100644 --- a/gyp/experimental.gyp +++ b/gyp/experimental.gyp @@ -33,7 +33,7 @@ 'type': 'executable', 'include_dirs': [ '../src/core', ], 'sources': [ '../experimental/tools/coreGraphicsPdf2png.cpp', ], - 'dependencies': [ 'skia_lib.gyp:skia_lib', ] + 'dependencies': [ 'skia_lib.gyp:skia_lib', 'libpng.gyp:libpng', ], }, ], }, |