Index: gyp/gm.gyp |
diff --git a/gyp/gm.gyp b/gyp/gm.gyp |
index 6608aba5dcdc879bcfad660fcc3f67cb8d3f67cd..04efaa6f980b3c8b97dbc865fbd1bd1b4ed04c84 100644 |
--- a/gyp/gm.gyp |
+++ b/gyp/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', |