OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//remoting/remoting_srcs.gni") | 5 import("//remoting/remoting_srcs.gni") |
6 | 6 |
7 source_set("signaling") { | 7 static_library("signaling") { |
8 sources = rebase_path(remoting_srcs_gypi_values.remoting_signaling_sources, | 8 sources = rebase_path(remoting_srcs_gypi_values.remoting_signaling_sources, |
9 ".", | 9 ".", |
10 "//remoting") | 10 "//remoting") |
11 | 11 |
12 configs += [ | 12 configs += [ |
13 "//build/config/compiler:no_size_t_to_int_warning", | 13 "//build/config/compiler:no_size_t_to_int_warning", |
14 "//build/config/compiler:wexit_time_destructors", | 14 "//build/config/compiler:wexit_time_destructors", |
15 ] | 15 ] |
16 | 16 |
17 public_deps = [ | 17 public_deps = [ |
(...skipping 11 matching lines...) Expand all Loading... |
29 | 29 |
30 if (is_nacl) { | 30 if (is_nacl) { |
31 sources -= [ | 31 sources -= [ |
32 "log_to_server.cc", | 32 "log_to_server.cc", |
33 "server_log_entry.cc", | 33 "server_log_entry.cc", |
34 "xmpp_signal_strategy.cc", | 34 "xmpp_signal_strategy.cc", |
35 ] | 35 ] |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 source_set("test_support") { | 39 static_library("test_support") { |
40 testonly = true | 40 testonly = true |
41 | 41 |
42 sources = [ | 42 sources = [ |
43 "fake_signal_strategy.cc", | 43 "fake_signal_strategy.cc", |
44 "fake_signal_strategy.h", | 44 "fake_signal_strategy.h", |
45 "mock_signal_strategy.cc", | 45 "mock_signal_strategy.cc", |
46 "mock_signal_strategy.h", | 46 "mock_signal_strategy.h", |
47 ] | 47 ] |
48 | 48 |
49 public_deps = [ | 49 public_deps = [ |
(...skipping 16 matching lines...) Expand all Loading... |
66 "xmpp_signal_strategy_unittest.cc", | 66 "xmpp_signal_strategy_unittest.cc", |
67 "xmpp_stream_parser_unittest.cc", | 67 "xmpp_stream_parser_unittest.cc", |
68 ] | 68 ] |
69 | 69 |
70 deps = [ | 70 deps = [ |
71 ":test_support", | 71 ":test_support", |
72 "//testing/gmock", | 72 "//testing/gmock", |
73 "//testing/gtest", | 73 "//testing/gtest", |
74 ] | 74 ] |
75 } | 75 } |
OLD | NEW |