summaryrefslogtreecommitdiffstats
path: root/printing/printing.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printing.gyp')
-rw-r--r--printing/printing.gyp15
1 files changed, 15 insertions, 0 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp
index 1980417..899bded 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -15,12 +15,17 @@
'type': '<(library)',
'dependencies': [
'../base/base.gyp:base',
+ '../base/base.gyp:base_gfx',
+
],
'msvs_guid': '9E5416B9-B91B-4029-93F4-102C1AD5CAF4',
'include_dirs': [
'..',
],
'sources': [
+ 'emf_win.cc',
+ 'emf_win.h',
+ 'native_metafile.h',
'units.cc',
'units.h',
],
@@ -49,8 +54,18 @@
'../testing/gtest.gyp:gtestmain',
],
'sources': [
+ 'emf_win_unittest.cc',
'units_unittest.cc',
],
+ 'conditions': [
+ ['OS!="linux"', {'sources/': [['exclude', '_linux_unittest\\.cc$']]}],
+ ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}],
+ ['OS!="win"', {
+ 'sources/': [['exclude', '_win_unittest\\.cc$']]
+ }, { # else: OS=="win"
+ 'sources/': [['exclude', '_posix_unittest\\.cc$']]
+ }],
+ ],
},
],
}