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 deps = [ |
| 22 "//base", |
| 23 "//crypto", |
| 24 "//jingle:jingle_glue", |
| 25 "//net", |
| 26 "//remoting/base", |
| 27 ] |
| 28 } |
| 29 |
| 30 source_set("test_support") { |
| 31 testonly = true |
| 32 |
| 33 sources = [ |
| 34 "fake_signal_strategy.cc", |
| 35 "fake_signal_strategy.h", |
| 36 "mock_signal_strategy.cc", |
| 37 "mock_signal_strategy.h", |
| 38 ] |
| 39 |
| 40 public_deps = [ |
| 41 ":signaling", |
| 42 "//testing/gmock", |
| 43 ] |
| 44 } |
| 45 |
| 46 source_set("unit_tests") { |
| 47 testonly = true |
| 48 |
| 49 sources = [ |
| 50 "iq_sender_unittest.cc", |
| 51 "jid_util_unittest.cc", |
| 52 "log_to_server_unittest.cc", |
| 53 "push_notification_subscriber_unittest.cc", |
| 54 "server_log_entry_unittest.cc", |
| 55 "server_log_entry_unittest.h", |
| 56 "xmpp_login_handler_unittest.cc", |
| 57 "xmpp_signal_strategy_unittest.cc", |
| 58 "xmpp_stream_parser_unittest.cc", |
| 59 ] |
| 60 |
| 61 deps = [ |
| 62 ":test_support", |
| 63 "//testing/gmock", |
| 64 "//testing/gtest", |
| 65 ] |
| 66 } |
OLD | NEW |