Exclude XML and dependencies from Bazel build.

Depends on https://codereview.chromium.org/2150353002

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2147303004

Review-Url: https://codereview.chromium.org/2147303004
diff --git a/public.bzl b/public.bzl
index 9f5c9c2..03236c1 100644
--- a/public.bzl
+++ b/public.bzl
@@ -114,7 +114,8 @@
 
         # Exclude files that don't compile with the current DEFINES.
         "src/gpu/gl/mesa/*",  # Requires SK_MESA define.
-        "src/svg/parser/*",  # Missing SkSVG.h.
+        "src/svg/**/*",  # Depends on XML.
+        "src/xml/**/*",
 
         # Conflicting dependencies among Lua versions. See cl/107087297.
         "src/utils/SkLua*",
@@ -122,9 +123,6 @@
         # Not used.
         "src/animator/**/*",
         "src/views/**/*",
-        "src/xml/SkBML_Verbs.h",
-        "src/xml/SkBML_XMLParser.cpp",
-        "src/xml/SkXMLPullParser.cpp",
 
         # Currently exclude all vulkan specific files
         "src/gpu/vk/*",
@@ -326,8 +324,6 @@
         # Not used.
         "include/animator/**/*",
         "include/views/**/*",
-        "include/xml/SkBML_WXMLParser.h",
-        "include/xml/SkBML_XMLParser.h",
     ],
 )
 
@@ -425,6 +421,7 @@
         "tests/skia_test.cpp",  # Old main.
         "tests/SkpSkGrTest.cpp",  # Alternate main.
         "tests/SkSLErrorTest.cpp",  # Excluded along with Vulkan.
+        "tests/SVGDeviceTest.cpp",
         "tools/gpu/gl/angle/*",
         "tools/gpu/gl/command_buffer/*",
         "tools/gpu/gl/egl/*",