Separate out xml dependencies and tests from rtc_unittests into a separate target.

NOTRY=true
(using notry due to offline android_arm64_rel bot)

Review-Url: https://codereview.webrtc.org/2007773003
Cr-Commit-Position: refs/heads/master@{#12869}
diff --git a/webrtc/webrtc_tests.gypi b/webrtc/webrtc_tests.gypi
index 848f7ca..ecba71a 100644
--- a/webrtc/webrtc_tests.gypi
+++ b/webrtc/webrtc_tests.gypi
@@ -14,13 +14,9 @@
         'base/base.gyp:rtc_base',
         'base/base_tests.gyp:rtc_base_tests_utils',
         'base/base_tests.gyp:rtc_base_tests',
-        'libjingle/xmllite/xmllite.gyp:rtc_xmllite',
-        'libjingle/xmpp/xmpp.gyp:rtc_xmpp',
         'p2p/p2p.gyp:rtc_p2p',
         'p2p/p2p.gyp:libstunprober',
         'p2p/p2p.gyp:rtc_p2p_unittest',
-        'libjingle/xmllite/xmllite.gyp:rtc_xmllite_unittest',
-        'libjingle/xmpp/xmpp.gyp:rtc_xmpp_unittest',
         '<(DEPTH)/testing/gtest.gyp:gtest',
         '<(DEPTH)/testing/gmock.gyp:gmock',
       ],
@@ -38,6 +34,18 @@
       ],
     },
     {
+      'target_name': 'xmllite_xmpp_unittests',
+      'type': '<(gtest_target_type)',
+      'dependencies': [
+        'base/base_tests.gyp:rtc_base_tests_utils',  # needed for main()
+        'libjingle/xmllite/xmllite.gyp:rtc_xmllite',
+        'libjingle/xmpp/xmpp.gyp:rtc_xmpp',
+        'libjingle/xmllite/xmllite.gyp:rtc_xmllite_unittest',
+        'libjingle/xmpp/xmpp.gyp:rtc_xmpp_unittest',
+        '<(DEPTH)/testing/gtest.gyp:gtest',
+      ],
+    },
+    {
       'target_name': 'webrtc_tests',
       'type': 'none',
       'dependencies': [