From 32e80e4b2ec2df9449bb8b98fa1428d6e5c4aaa9 Mon Sep 17 00:00:00 2001 From: tommi Date: Tue, 24 May 2016 05:47:57 -0700 Subject: [PATCH] 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} --- webrtc/webrtc_tests.gypi | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/webrtc/webrtc_tests.gypi b/webrtc/webrtc_tests.gypi index 848f7ca8b5..ecba71a564 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', ], @@ -37,6 +33,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',