WKWebView: fixup empty URL in didStartProvisionalNavigation only on iOS9
[chromium-blink-merge.git] / remoting / signaling / BUILD.gn
blob0b33cdb41beae8ccc12ef790ac74dce516d58322
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//remoting/remoting_srcs.gni")
7 source_set("signaling") {
8   sources = rebase_path(remoting_srcs_gypi_values.remoting_signaling_sources,
9                         ".",
10                         "//remoting")
12   configs += [
13     "//build/config/compiler:no_size_t_to_int_warning",
14     "//build/config/compiler:wexit_time_destructors",
15   ]
17   public_deps = [
18     "//remoting/proto",
19     "//third_party/libjingle",
20   ]
22   deps = [
23     "//base",
24     "//crypto",
25     "//jingle:jingle_glue",
26     "//net",
27     "//remoting/base",
28   ]
31 source_set("test_support") {
32   testonly = true
34   sources = [
35     "fake_signal_strategy.cc",
36     "fake_signal_strategy.h",
37     "mock_signal_strategy.cc",
38     "mock_signal_strategy.h",
39   ]
41   public_deps = [
42     ":signaling",
43     "//testing/gmock",
44   ]
47 source_set("unit_tests") {
48   testonly = true
50   sources = [
51     "iq_sender_unittest.cc",
52     "jid_util_unittest.cc",
53     "log_to_server_unittest.cc",
54     "push_notification_subscriber_unittest.cc",
55     "server_log_entry_unittest.cc",
56     "server_log_entry_unittest.h",
57     "xmpp_login_handler_unittest.cc",
58     "xmpp_signal_strategy_unittest.cc",
59     "xmpp_stream_parser_unittest.cc",
60   ]
62   deps = [
63     ":test_support",
64     "//testing/gmock",
65     "//testing/gtest",
66   ]