summaryrefslogtreecommitdiff
path: root/gm.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'gm.gyp')
-rw-r--r--gm.gyp11
1 files changed, 11 insertions, 0 deletions
diff --git a/gm.gyp b/gm.gyp
index 6608aba..04efaa6 100644
--- a/gm.gyp
+++ b/gm.gyp
@@ -60,6 +60,17 @@
'pdf.gyp:pdf',
],
'conditions': [
+ ['skia_os in ["linux", "mac", "win"]', {
+ 'dependencies': [
+ 'poppler.gyp:libpoppler-cpp-gpl',
+ ],
+ 'sources': [
+ '../src/utils/SkPDFRasterizer.cpp',
+ ],
+ 'defines': [
+ 'SK_BUILD_POPPLER',
+ ],
+ }],
['skia_os == "mac"', {
'sources!': [
'../gm/system_preferences_default.cpp',