aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
Diffstat (limited to 'gm')
-rw-r--r--gm/gmmain.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index a5674a5568..443a26bfbc 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -24,6 +24,7 @@
#include "SkDeferredCanvas.h"
#include "SkDevice.h"
#include "SkDrawFilter.h"
+#include "SkForceLinking.h"
#include "SkGPipe.h"
#include "SkGraphics.h"
#include "SkImageDecoder.h"
@@ -37,6 +38,8 @@
#include "SkTileGridPicture.h"
#include "SamplePipeControllers.h"
+__SK_FORCE_IMAGE_DECODER_LINKING;
+
#ifdef SK_BUILD_FOR_WIN
// json includes xlocale which generates warning 4530 because we're compiling without
// exceptions; see https://code.google.com/p/skia/issues/detail?id=1067