OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//remoting/remoting_srcs.gni") |
| 6 |
| 7 source_set("signaling") { |
| 8 sources = rebase_path(remoting_srcs_gypi_values.remoting_signaling_sources, |
| 9 ".", |
| 10 "//remoting") |
| 11 |
| 12 configs += [ |
| 13 "//build/config/compiler:no_size_t_to_int_warning", |
| 14 "//build/config/compiler:wexit_time_destructors", |
| 15 ] |
| 16 |
| 17 public_deps = [ |
| 18 "//remoting/proto", |
| 19 "//third_party/libjingle", |
| 20 ] |
| 21 |
| 22 deps = [ |
| 23 "//base", |
| 24 "//crypto", |
| 25 "//jingle:jingle_glue", |
| 26 "//net", |
| 27 "//remoting/base", |
| 28 ] |
| 29 } |
| 30 |
| 31 source_set("test_support") { |
| 32 testonly = true |
| 33 |
| 34 sources = [ |
| 35 "fake_signal_strategy.cc", |
| 36 "fake_signal_strategy.h", |
| 37 "mock_signal_strategy.cc", |
| 38 "mock_signal_strategy.h", |
| 39 ] |
| 40 |
| 41 public_deps = [ |
| 42 ":signaling", |
| 43 "//testing/gmock", |
| 44 ] |
| 45 } |
| 46 |
| 47 source_set("unit_tests") { |
| 48 testonly = true |
| 49 |
| 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 ] |
| 61 |
| 62 deps = [ |
| 63 ":test_support", |
| 64 "//testing/gmock", |
| 65 "//testing/gtest", |
| 66 ] |
| 67 } |
OLD | NEW |