kjellander | eee9c0e | 2016-11-08 03:18:38 -0800 | [diff] [blame] | 1 | # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | import("../build/webrtc.gni") |
| 10 | |
| 11 | group("libjingle") { |
| 12 | public_deps = [ |
| 13 | "xmllite", |
| 14 | "xmpp", |
| 15 | ] |
| 16 | } |
| 17 | |
| 18 | if (rtc_include_tests) { |
| 19 | rtc_test("xmllite_xmpp_unittests") { |
| 20 | configs += [ "..:rtc_unittests_config" ] |
| 21 | |
| 22 | if (!build_with_chromium && is_clang) { |
| 23 | # Suppress warnings from the Chromium Clang plugin. |
| 24 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 25 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 26 | } |
| 27 | |
| 28 | deps = [ |
| 29 | "../base:rtc_base_tests_utils", |
| 30 | "xmllite", |
| 31 | "xmpp", |
| 32 | "//testing/gtest", |
| 33 | ] |
| 34 | |
| 35 | sources = [ |
| 36 | "xmllite/qname_unittest.cc", |
| 37 | "xmllite/xmlbuilder_unittest.cc", |
| 38 | "xmllite/xmlelement_unittest.cc", |
| 39 | "xmllite/xmlnsstack_unittest.cc", |
| 40 | "xmllite/xmlparser_unittest.cc", |
| 41 | "xmllite/xmlprinter_unittest.cc", |
| 42 | "xmpp/fakexmppclient.h", |
| 43 | "xmpp/hangoutpubsubclient_unittest.cc", |
| 44 | "xmpp/jid_unittest.cc", |
| 45 | "xmpp/mucroomconfigtask_unittest.cc", |
| 46 | "xmpp/mucroomdiscoverytask_unittest.cc", |
| 47 | "xmpp/mucroomlookuptask_unittest.cc", |
| 48 | "xmpp/mucroomuniquehangoutidtask_unittest.cc", |
| 49 | "xmpp/pingtask_unittest.cc", |
| 50 | "xmpp/pubsubclient_unittest.cc", |
| 51 | "xmpp/pubsubtasks_unittest.cc", |
| 52 | "xmpp/util_unittest.cc", |
| 53 | "xmpp/util_unittest.h", |
| 54 | "xmpp/xmppengine_unittest.cc", |
| 55 | "xmpp/xmpplogintask_unittest.cc", |
| 56 | "xmpp/xmppstanzaparser_unittest.cc", |
| 57 | ] |
| 58 | } |
| 59 | } |