summaryrefslogtreecommitdiffstats
path: root/printing/printing.gyp
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-25 16:35:22 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-25 16:35:22 +0000
commite6eddfdb8f1a9688145e5efba334d484c738a1c6 (patch)
treef7f527ea233ab64053683a7af7933314a93f1934 /printing/printing.gyp
parent8effd3f691277e168a10890127085a3bc999810f (diff)
downloadchromium_src-e6eddfdb8f1a9688145e5efba334d484c738a1c6.zip
chromium_src-e6eddfdb8f1a9688145e5efba334d484c738a1c6.tar.gz
chromium_src-e6eddfdb8f1a9688145e5efba334d484c738a1c6.tar.bz2
Make PluginInstance::PrintPDFOutput metafile-implementation agnostic on Linux.
PluginInstance::PrintPDFOutput wants to set the PDF bits in the metafile. This change makes it agnostic to the implementation of NativeMetafile in use by using the SkRefDict in SkDevice (and removes the old mechanism). BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6733036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing.gyp')
-rw-r--r--printing/printing.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp
index 049e752..0e504c4 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -94,6 +94,10 @@
'sources/': [['exclude', '_posix\\.cc$']]
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ 'sources': [
+ 'native_metafile_skia_wrapper.cc',
+ 'native_metafile_skia_wrapper.h',
+ ],
'dependencies': [
# For FT_Init_FreeType and friends.
'../build/linux/system.gyp:freetype2',