diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-04 18:34:58 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-04 18:34:58 +0000 |
commit | f78cdb4ba9bffb9335f1feffa10f878796a9e14e (patch) | |
tree | 5bf4e9fdfde9882e13b46a484372c8fc3df76053 /tools/skhello.cpp | |
parent | 1d62f42e2169740f641ebd3c90055a947e636a98 (diff) |
Force linking for skhello.
Otherwise encoders are stripped and the program produces nothing.
git-svn-id: http://skia.googlecode.com/svn/trunk@12487 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r-- | tools/skhello.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/skhello.cpp b/tools/skhello.cpp index d30849bcfb..93dad56df5 100644 --- a/tools/skhello.cpp +++ b/tools/skhello.cpp @@ -9,12 +9,15 @@ #include "SkCommandLineFlags.h" #include "SkData.h" #include "SkDocument.h" +#include "SkForceLinking.h" #include "SkGraphics.h" #include "SkSurface.h" #include "SkImage.h" #include "SkStream.h" #include "SkString.h" +__SK_FORCE_IMAGE_DECODER_LINKING; + DEFINE_string2(outFile, o, "skhello", "The filename to write the image."); DEFINE_string2(text, t, "Hello", "The string to write."); |