summaryrefslogtreecommitdiffstats
path: root/skia/SConscript
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-16 22:53:01 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-16 22:53:01 +0000
commit39354f413433746b7f35135f85c1940210324eff (patch)
treed7f2d4c8e14064e10d2e8304a645e4386d6bdff2 /skia/SConscript
parentc340991948930a82883538e0bd914e669befeb8a (diff)
downloadchromium_src-39354f413433746b7f35135f85c1940210324eff.zip
chromium_src-39354f413433746b7f35135f85c1940210324eff.tar.gz
chromium_src-39354f413433746b7f35135f85c1940210324eff.tar.bz2
Add missing SkUnPreMultiply.cpp dependency to fix Linux shared-library build.
Review URL: http://codereview.chromium.org/18333 Patch from Dan Erat <dan@erat.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/SConscript')
-rw-r--r--skia/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/skia/SConscript b/skia/SConscript
index 65bf312..67f3c46 100644
--- a/skia/SConscript
+++ b/skia/SConscript
@@ -415,6 +415,11 @@ if env.Bit('linux'):
env.Append(CCFLAGS = ['-Wno-unused-function'])
+if not env['COMPONENT_STATIC']:
+ # SkUnPreMultiply is commented out in the sgl list above, but we need to link
+ # it into the shared library.
+ input_files.append('sgl/SkUnPreMultiply.cpp')
+
if env.Bit('posix'):
input_files.append('ports/SkThread_pthread.cpp')
input_files.append('ports/SkTime_Unix.cpp')