OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 if (enable_webrtc || !is_android) { | 9 if (enable_webrtc || !is_android) { |
10 static_library("jingle_glue") { | 10 static_library("jingle_glue") { |
11 sources = [ | 11 sources = [ |
12 "glue/chrome_async_socket.cc", | 12 "glue/chrome_async_socket.cc", |
13 "glue/chrome_async_socket.h", | 13 "glue/chrome_async_socket.h", |
14 "glue/fake_ssl_client_socket.cc", | 14 "glue/fake_ssl_client_socket.cc", |
15 "glue/fake_ssl_client_socket.h", | 15 "glue/fake_ssl_client_socket.h", |
16 "glue/proxy_resolving_client_socket.cc", | 16 "glue/proxy_resolving_client_socket.cc", |
17 "glue/proxy_resolving_client_socket.h", | 17 "glue/proxy_resolving_client_socket.h", |
18 "glue/resolving_client_socket_factory.h", | 18 "glue/resolving_client_socket_factory.h", |
19 "glue/task_pump.cc", | 19 "glue/task_pump.cc", |
20 "glue/task_pump.h", | 20 "glue/task_pump.h", |
21 "glue/thread_wrapper.cc", | 21 "glue/thread_wrapper.cc", |
22 "glue/thread_wrapper.h", | 22 "glue/thread_wrapper.h", |
23 "glue/utils.cc", | 23 "glue/utils.cc", |
24 "glue/utils.h", | 24 "glue/utils.h", |
25 "glue/xmpp_client_socket_factory.cc", | 25 "glue/xmpp_client_socket_factory.cc", |
26 "glue/xmpp_client_socket_factory.h", | 26 "glue/xmpp_client_socket_factory.h", |
27 ] | 27 ] |
28 public_deps = [ | 28 public_deps = [ |
29 "//third_party/libjingle", | 29 "//third_party/webrtc_overrides", |
30 ] | 30 ] |
31 deps = [ | 31 deps = [ |
32 "//base", | 32 "//base", |
33 "//base/third_party/dynamic_annotations", | 33 "//base/third_party/dynamic_annotations", |
34 "//net", | 34 "//net", |
35 ] | 35 ] |
36 | 36 |
37 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 37 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
38 | 38 |
39 if (is_nacl) { | 39 if (is_nacl) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 "notifier/listener/send_ping_task.cc", | 92 "notifier/listener/send_ping_task.cc", |
93 "notifier/listener/send_ping_task.h", | 93 "notifier/listener/send_ping_task.h", |
94 "notifier/listener/xml_element_util.cc", | 94 "notifier/listener/xml_element_util.cc", |
95 "notifier/listener/xml_element_util.h", | 95 "notifier/listener/xml_element_util.h", |
96 "notifier/listener/xmpp_push_client.cc", | 96 "notifier/listener/xmpp_push_client.cc", |
97 "notifier/listener/xmpp_push_client.h", | 97 "notifier/listener/xmpp_push_client.h", |
98 ] | 98 ] |
99 defines = [ "_CRT_SECURE_NO_WARNINGS" ] | 99 defines = [ "_CRT_SECURE_NO_WARNINGS" ] |
100 | 100 |
101 public_deps = [ | 101 public_deps = [ |
102 "//third_party/libjingle", | |
103 "//third_party/libjingle_xmpp", | 102 "//third_party/libjingle_xmpp", |
| 103 "//third_party/webrtc_overrides", |
104 ] | 104 ] |
105 deps = [ | 105 deps = [ |
106 ":jingle_glue", | 106 ":jingle_glue", |
107 "//base", | 107 "//base", |
108 "//net", | 108 "//net", |
109 "//third_party/expat", | 109 "//third_party/expat", |
110 "//url", | 110 "//url", |
111 ] | 111 ] |
112 } | 112 } |
113 | 113 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 # EXPECT_DEBUG_DEATH() uses features not enabled. | 164 # EXPECT_DEBUG_DEATH() uses features not enabled. |
165 # Should we -std=c++0x or -std=gnu++0x? | 165 # Should we -std=c++0x or -std=gnu++0x? |
166 "glue/chrome_async_socket_unittest.cc", | 166 "glue/chrome_async_socket_unittest.cc", |
167 "notifier/base/xmpp_connection_unittest.cc", | 167 "notifier/base/xmpp_connection_unittest.cc", |
168 ] | 168 ] |
169 } | 169 } |
170 | 170 |
171 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 171 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
172 | 172 |
173 public_deps = [ | 173 public_deps = [ |
174 "//third_party/libjingle", | |
175 "//third_party/libjingle_xmpp", | 174 "//third_party/libjingle_xmpp", |
| 175 "//third_party/webrtc_overrides", |
176 ] | 176 ] |
177 deps = [ | 177 deps = [ |
178 ":jingle_glue", | 178 ":jingle_glue", |
179 ":notifier", | 179 ":notifier", |
180 ":notifier_test_util", | 180 ":notifier_test_util", |
181 "//base", | 181 "//base", |
182 "//base/test:run_all_unittests", | 182 "//base/test:run_all_unittests", |
183 "//base/test:test_support", | 183 "//base/test:test_support", |
184 "//net", | 184 "//net", |
185 "//net:test_support", | 185 "//net:test_support", |
(...skipping 21 matching lines...) Expand all Loading... |
207 ] | 207 ] |
208 deps = [ | 208 deps = [ |
209 "//base", | 209 "//base", |
210 "//net", | 210 "//net", |
211 ] | 211 ] |
212 } | 212 } |
213 | 213 |
214 source_set("notifier_test_util") { | 214 source_set("notifier_test_util") { |
215 } | 215 } |
216 } | 216 } |
OLD | NEW |