Index: gyp/gm.gyp |
diff --git a/gyp/gm.gyp b/gyp/gm.gyp |
index e412efe6cf3274544172c281252bd7551c7c8953..b430da13207b2747465cb72a5bf7e448eccd8afd 100644 |
--- a/gyp/gm.gyp |
+++ b/gyp/gm.gyp |
@@ -33,6 +33,7 @@ |
'../src/pipe/utils/', |
'../src/utils/', |
'../src/utils/debugger', |
+ '../experimental/PdfViewer', |
], |
'includes': [ |
'gmslides.gypi', |
@@ -58,8 +59,14 @@ |
'gm.gyp:gm_expectations', |
'jsoncpp.gyp:jsoncpp', |
'pdf.gyp:pdf', |
+ 'pdfviewer_lib.gyp:pdfviewer_lib', |
], |
'conditions': [ |
+ ['skia_run_pdfviewer_in_gm', { |
+ 'defines': [ |
+ 'SK_BUILD_NATIVE_PDF_RENDERER', |
+ ], |
+ }], |
['skia_os in ["linux", "mac", "win"]', { |
'dependencies': [ |
'poppler.gyp:libpoppler-cpp-gpl', |