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 | 6 |
7 if (enable_webrtc || !is_android) { | 7 if (enable_webrtc || !is_android) { |
8 jingle_includes = exec_script("//build/gypi_to_gn.py", | 8 jingle_includes = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("jingle.gypi") ], | 9 [ rebase_path("jingle.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 deps = [ | 101 deps = [ |
102 ":notifier", | 102 ":notifier", |
103 "//base", | 103 "//base", |
104 "//testing/gmock", | 104 "//testing/gmock", |
105 ] | 105 ] |
106 } | 106 } |
107 | 107 |
108 # GYP version: jingle/jingle.gyp:jingle_unittests | 108 # GYP version: jingle/jingle.gyp:jingle_unittests |
109 # TODO(GYP): Convert to executable when its dependencies are linkable. | 109 # TODO(GYP): Convert to executable when its dependencies are linkable. |
110 source_set("jingle_unittests") { | 110 source_set("jingle_unittests") { |
| 111 testonly = true |
111 sources = [ | 112 sources = [ |
112 "glue/channel_socket_adapter_unittest.cc", | 113 "glue/channel_socket_adapter_unittest.cc", |
113 "glue/chrome_async_socket_unittest.cc", | 114 "glue/chrome_async_socket_unittest.cc", |
114 "glue/fake_ssl_client_socket_unittest.cc", | 115 "glue/fake_ssl_client_socket_unittest.cc", |
115 "glue/jingle_glue_mock_objects.cc", | 116 "glue/jingle_glue_mock_objects.cc", |
116 "glue/jingle_glue_mock_objects.h", | 117 "glue/jingle_glue_mock_objects.h", |
117 "glue/logging_unittest.cc", | 118 "glue/logging_unittest.cc", |
118 "glue/mock_task.cc", | 119 "glue/mock_task.cc", |
119 "glue/mock_task.h", | 120 "glue/mock_task.h", |
120 "glue/proxy_resolving_client_socket_unittest.cc", | 121 "glue/proxy_resolving_client_socket_unittest.cc", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 "notifier/base/notifier_options.h", | 180 "notifier/base/notifier_options.h", |
180 ] | 181 ] |
181 deps = [ | 182 deps = [ |
182 "//base", | 183 "//base", |
183 "//net" | 184 "//net" |
184 ] | 185 ] |
185 } | 186 } |
186 | 187 |
187 source_set("notifier_test_util") { } | 188 source_set("notifier_test_util") { } |
188 } | 189 } |
OLD | NEW |