Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: gyp/gm.gyp

Issue 133583004: If poppler is disable and native pdf is enabled, we still need SkPDFRasterizer.cpp (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/utils/SkPDFRasterizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/gm.gyp
diff --git a/gyp/gm.gyp b/gyp/gm.gyp
index 657bc560eaae7053bf3624d36002522716765ac9..971fce5d355e5e75e95053de09d97cd63abc060b 100644
--- a/gyp/gm.gyp
+++ b/gyp/gm.gyp
@@ -62,6 +62,11 @@
'pdf.gyp:pdf',
],
'conditions': [
+ ['skia_run_pdfviewer_in_gm or skia_poppler_enabled', {
+ 'sources': [
+ '../src/utils/SkPDFRasterizer.cpp',
+ ],
+ }],
['skia_run_pdfviewer_in_gm', {
'defines': [
'SK_BUILD_NATIVE_PDF_RENDERER',
@@ -77,9 +82,6 @@
'dependencies': [
'poppler.gyp:libpoppler-cpp-gpl',
],
- 'sources': [
- '../src/utils/SkPDFRasterizer.cpp',
- ],
'defines': [
'SK_BUILD_POPPLER',
],
« no previous file with comments | « no previous file | src/utils/SkPDFRasterizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698