summaryrefslogtreecommitdiffstats
path: root/printing/printing.gyp
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 03:12:17 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 03:12:17 +0000
commit2f47fc457801054fb68055b4649e21af609f81dc (patch)
treecb31f77630a7465c4001baf2794d25989c20e457 /printing/printing.gyp
parent21ee224e0862f56ce9d88f2c91950a40cfae6aa0 (diff)
downloadchromium_src-2f47fc457801054fb68055b4649e21af609f81dc.zip
chromium_src-2f47fc457801054fb68055b4649e21af609f81dc.tar.gz
chromium_src-2f47fc457801054fb68055b4649e21af609f81dc.tar.bz2
compositor_unittests target is unimplmented on Mac
Adds necessary pieces to get the WebKit compositor working with compositor_unittests target on Mac. Required gyp build flags are: 'use_aura': 1, 'use_webkit_compositor': 1, 'use_skia': 1, BUG=104390, 104555 TEST=compositor_unittests --gtest_filter=LayerWithRealCompositorTest.* passes and shows correct visual results. Review URL: http://codereview.chromium.org/8486020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing.gyp')
-rw-r--r--printing/printing.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp
index 34e3b4e..495fc73 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -111,6 +111,14 @@
['exclude', 'metafile_skia_wrapper\\.(cc|h)$'],
],
}],
+ # Mac-Aura does not support printing.
+ ['OS=="mac" and use_aura==1',{
+ 'sources!': [
+ 'printed_document_mac.cc',
+ 'printing_context_mac.mm',
+ 'printing_context_mac.h',
+ ],
+ }],
['OS=="mac" and use_aura==0',{
'sources': [
'printing_context_mac.mm',