diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-24 16:12:13 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-24 16:12:13 +0000 |
commit | 220cf4d0b875b6c066e3a9bcab152f5572834d4f (patch) | |
tree | a187f00660f6c0f5a8f1c2f3a9eddd65db256d51 /printing | |
parent | e2ca8cc8afff4e85bdb090e487c9b1ff70b677c8 (diff) | |
download | chromium_src-220cf4d0b875b6c066e3a9bcab152f5572834d4f.zip chromium_src-220cf4d0b875b6c066e3a9bcab152f5572834d4f.tar.gz chromium_src-220cf4d0b875b6c066e3a9bcab152f5572834d4f.tar.bz2 |
Change printing of PDFs for preview on Windows to not rasterize.
Also cleaned up a few hacks.
BUG=80220
TEST=Navigate to a PDF and start print preview.
Review URL: http://codereview.chromium.org/7065011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/printing.gyp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp index f7ce898..a7c7dcb 100644 --- a/printing/printing.gyp +++ b/printing/printing.gyp @@ -38,6 +38,8 @@ 'image.h', 'metafile.h', 'metafile_impl.h', + 'metafile_skia_wrapper.h', + 'metafile_skia_wrapper.cc', 'page_number.cc', 'page_number.h', 'page_overlays.cc', @@ -98,10 +100,6 @@ 'sources/': [['exclude', '_posix\\.cc$']] }], ['toolkit_uses_gtk == 1', { - 'sources': [ - 'metafile_skia_wrapper.cc', - 'metafile_skia_wrapper.h', - ], 'dependencies': [ # For FT_Init_FreeType and friends. '../build/linux/system.gyp:freetype2', @@ -110,8 +108,10 @@ ], }], ['OS=="mac"', - {'sources/': [['exclude', 'pdf_metafile_skia\\.(cc|h)$']]} - ], + {'sources/': [ + ['exclude', 'pdf_metafile_skia\\.(cc|h)$'], + ['exclude', 'metafile_skia_wrapper\\.(cc|h)$'], + ]}], ['OS=="win"', { 'defines': [ # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |