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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (enable_webrtc || !is_android) { | 8 if (enable_webrtc || !is_android) { |
9 jingle_includes = exec_script("//build/gypi_to_gn.py", | 9 jingle_includes = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("jingle.gypi") ], | 10 [ rebase_path("jingle.gypi") ], |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 public_deps = [ | 114 public_deps = [ |
115 ":jingle_glue", | 115 ":jingle_glue", |
116 ":notifier", | 116 ":notifier", |
117 ] | 117 ] |
118 deps = [ | 118 deps = [ |
119 "//base", | 119 "//base", |
120 "//testing/gmock", | 120 "//testing/gmock", |
121 ] | 121 ] |
122 } | 122 } |
123 | 123 |
124 # TODO(GYP): Delete this after we've converted everything to GN. | |
125 # The _run targets exist only for compatibility w/ GYP. | |
126 group("jingle_unittests_run") { | |
127 testonly = true | |
128 deps = [ | |
129 ":jingle_unittests", | |
130 ] | |
131 } | |
132 | |
133 # GYP version: jingle/jingle.gyp:jingle_unittests | 124 # GYP version: jingle/jingle.gyp:jingle_unittests |
134 test("jingle_unittests") { | 125 test("jingle_unittests") { |
135 sources = [ | 126 sources = [ |
136 "glue/chrome_async_socket_unittest.cc", | 127 "glue/chrome_async_socket_unittest.cc", |
137 "glue/fake_ssl_client_socket_unittest.cc", | 128 "glue/fake_ssl_client_socket_unittest.cc", |
138 "glue/jingle_glue_mock_objects.cc", | 129 "glue/jingle_glue_mock_objects.cc", |
139 "glue/jingle_glue_mock_objects.h", | 130 "glue/jingle_glue_mock_objects.h", |
140 "glue/logging_unittest.cc", | 131 "glue/logging_unittest.cc", |
141 "glue/mock_task.cc", | 132 "glue/mock_task.cc", |
142 "glue/mock_task.h", | 133 "glue/mock_task.h", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 ] | 198 ] |
208 deps = [ | 199 deps = [ |
209 "//base", | 200 "//base", |
210 "//net", | 201 "//net", |
211 ] | 202 ] |
212 } | 203 } |
213 | 204 |
214 source_set("notifier_test_util") { | 205 source_set("notifier_test_util") { |
215 } | 206 } |
216 } | 207 } |
OLD | NEW |