aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-12 20:07:10 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-12 20:07:10 +0000
commitb8b3d9028478d4ec087addf7eb0f75dceb6289b7 (patch)
treeb4313b3a559651fb1b7c69ac7871c862cf330127 /tools
parent312e9a2f4c2fb819904de31adc1ed154417cfd09 (diff)
use ForceLinking to get codecs into lua_picture
BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/16847002 git-svn-id: http://skia.googlecode.com/svn/trunk@9549 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rw-r--r--tools/lua/lua_pictures.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp
index a851cca4a3..be66a7887d 100644
--- a/tools/lua/lua_pictures.cpp
+++ b/tools/lua/lua_pictures.cpp
@@ -15,6 +15,9 @@
#include "picture_utils.h"
#include "SkOSFile.h"
#include "SkImageDecoder.h"
+#include "SkForceLinking.h"
+
+__SK_FORCE_IMAGE_DECODER_LINKING;
extern "C" {
#include "lua.h"