xps.gni

Motivation: Since I am activly refactoring SkXPS, I will be needing to
add and subtract sources.  This is the only way to keep chrome and skia
in sync.

TODO(halcanry): follow up in Chrome build files.

BUG=skia:3495

Change-Id: I2bfcbfce7628c34f9a623c6fa806374a10cdbb75
Reviewed-on: https://skia-review.googlesource.com/6350
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index a048092..2007ca9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -559,6 +559,7 @@
   sources += skia_effects_sources
   sources += skia_sksl_sources
   sources += skia_utils_sources
+  sources += skia_xps_sources
   sources += [
     "src/android/SkBitmapRegionCodec.cpp",
     "src/android/SkBitmapRegionDecoder.cpp",
@@ -608,8 +609,6 @@
       "src/ports/SkScalerContext_win_dw.cpp",
       "src/ports/SkTLS_win.cpp",
       "src/ports/SkTypeface_win_dw.cpp",
-      "src/xps/SkDocument_XPS.cpp",
-      "src/xps/SkXPSDevice.cpp",
     ]
     if (skia_use_gdi) {
       sources += [ "src/ports/SkFontMgr_win_gdi_factory.cpp" ]
@@ -633,7 +632,6 @@
       "src/ports/SkOSFile_posix.cpp",
       "src/ports/SkOSLibrary_posix.cpp",
       "src/ports/SkTLS_pthread.cpp",
-      "src/xps/SkDocument_XPS_None.cpp",
     ]
   }