summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 22:54:12 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 22:54:12 +0000
commitb23aee0f939e07a9531935e7f0daa8a346912708 (patch)
tree6d10b5cde48ef5b3b1cf42831bded0960c40f7a6 /chrome/chrome.gyp
parent7ede31fe8ed08ff9c3e016a021a40d831e5e3587 (diff)
downloadchromium_src-b23aee0f939e07a9531935e7f0daa8a346912708.zip
chromium_src-b23aee0f939e07a9531935e7f0daa8a346912708.tar.gz
chromium_src-b23aee0f939e07a9531935e7f0daa8a346912708.tar.bz2
Wire up printing on the Mac
Get the printing support class stack building and hooked up on the Mac. Add support for creating NativeMetafile objects with PDF print data on the renderer side, and passing them to the browser via the existing printing IPC system. Flip on the simpler printing unit tests (those that don't require PDF -> bitmap conversion). BUG=13158 TEST=Print on the Mac--it should work! Review URL: http://codereview.chromium.org/276004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rwxr-xr-xchrome/chrome.gyp11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 43588d5..a34abd7 100755
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -2393,6 +2393,11 @@
'sources': [
'browser/net/ssl_config_service_manager_pref.cc',
],
+ 'sources/': [
+ # Exclude most of printing.
+ ['exclude', '^browser/printing/'],
+ ['include', '^browser/printing/page_(number|range|setup)\\.cc$'],
+ ],
'conditions': [
['linux_breakpad==1', {
'sources': [
@@ -2602,10 +2607,6 @@
# Exclude parts of password_manager.
['exclude', '^browser/password_manager/ie7_password\\.cc$'],
- # Exclude most of printing.
- ['exclude', '^browser/printing/'],
- ['include', '^browser/printing/page_(number|range|setup)\\.cc$'],
-
# Exclude all of rlz.
['exclude', '^browser/rlz/'],
@@ -3144,7 +3145,7 @@
'renderer/print_web_view_helper.cc',
'renderer/print_web_view_helper.h',
'renderer/print_web_view_helper_linux.cc',
- 'renderer/print_web_view_helper_mac.cc',
+ 'renderer/print_web_view_helper_mac.mm',
'renderer/print_web_view_helper_win.cc',
'renderer/render_process.cc',
'renderer/render_process.h',