SkDocument base for pdf, xps, etc.

R=scroggo@google.com

Review URL: https://codereview.chromium.org/16660002

git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@9476 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core.gypi b/core.gypi
index 534c888..a88f722 100644
--- a/core.gypi
+++ b/core.gypi
@@ -186,6 +186,8 @@
         '<(skia_src_path)/core/SkWriter32.cpp',
         '<(skia_src_path)/core/SkXfermode.cpp',
 
+        '<(skia_src_path)/doc/SkDocument.cpp',
+
         '<(skia_src_path)/image/SkDataPixelRef.cpp',
         '<(skia_src_path)/image/SkImage.cpp',
         '<(skia_src_path)/image/SkImagePriv.cpp',
diff --git a/pdf.gyp b/pdf.gyp
index 31b48db..f89df93 100644
--- a/pdf.gyp
+++ b/pdf.gyp
@@ -47,6 +47,8 @@
         '../src/pdf/SkPDFUtils.cpp',
         '../src/pdf/SkPDFUtils.h',
         '../src/pdf/SkTSet.h',
+
+        '../src/doc/SkDocument_PDF.cpp',
       ],
       # 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/tools.gyp b/tools.gyp
index 25aa1db..62bbbd0 100644
--- a/tools.gyp
+++ b/tools.gyp
@@ -64,6 +64,7 @@
       ],
       'dependencies': [
         'skia_lib.gyp:skia_lib',
+        'pdf.gyp:pdf',
         'flags.gyp:flags',
       ],
     },