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 source_set("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 = [ |
18 "//remoting/proto", | 18 "//remoting/proto", |
19 "//third_party/libjingle", | 19 "//third_party/libjingle", |
20 ] | 20 ] |
21 | 21 |
22 deps = [ | 22 deps = [ |
23 "//base", | 23 "//base", |
24 "//crypto", | 24 "//crypto", |
25 "//jingle:jingle_glue", | 25 "//jingle:jingle_glue", |
26 "//net", | 26 "//net", |
27 "//remoting/base", | 27 "//remoting/base", |
28 ] | 28 ] |
| 29 |
| 30 if (is_nacl) { |
| 31 sources -= [ |
| 32 "log_to_server.cc", |
| 33 "server_log_entry.cc", |
| 34 "xmpp_signal_strategy.cc", |
| 35 ] |
| 36 } |
29 } | 37 } |
30 | 38 |
31 source_set("test_support") { | 39 source_set("test_support") { |
32 testonly = true | 40 testonly = true |
33 | 41 |
34 sources = [ | 42 sources = [ |
35 "fake_signal_strategy.cc", | 43 "fake_signal_strategy.cc", |
36 "fake_signal_strategy.h", | 44 "fake_signal_strategy.h", |
37 "mock_signal_strategy.cc", | 45 "mock_signal_strategy.cc", |
38 "mock_signal_strategy.h", | 46 "mock_signal_strategy.h", |
(...skipping 19 matching lines...) Expand all Loading... |
58 "xmpp_signal_strategy_unittest.cc", | 66 "xmpp_signal_strategy_unittest.cc", |
59 "xmpp_stream_parser_unittest.cc", | 67 "xmpp_stream_parser_unittest.cc", |
60 ] | 68 ] |
61 | 69 |
62 deps = [ | 70 deps = [ |
63 ":test_support", | 71 ":test_support", |
64 "//testing/gmock", | 72 "//testing/gmock", |
65 "//testing/gtest", | 73 "//testing/gtest", |
66 ] | 74 ] |
67 } | 75 } |
OLD | NEW |