Update pdf.gypi to actually work with Chromium
https://chromiumcodereview.appspot.com/23112031/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@10916 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/pdf.gyp b/pdf.gyp
index ce4c59f..0ac8d45 100644
--- a/pdf.gyp
+++ b/pdf.gyp
@@ -19,6 +19,8 @@
],
'sources': [
'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
+
+ '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file
],
# This section makes all targets that depend on this target
# #define SK_SUPPORT_PDF and have access to the pdf header files.
diff --git a/pdf.gypi b/pdf.gypi
index a4b3392..d9a1bc4 100644
--- a/pdf.gypi
+++ b/pdf.gypi
@@ -36,8 +36,6 @@
'<(skia_src_path)/pdf/SkPDFUtils.cpp',
'<(skia_src_path)/pdf/SkPDFUtils.h',
'<(skia_src_path)/pdf/SkTSet.h',
-
- '<(skia_src_path)/doc/SkDocument_PDF.cpp',
],
}