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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "notifier/listener/fake_push_client_observer.cc", | 103 "notifier/listener/fake_push_client_observer.cc", |
104 "notifier/listener/fake_push_client_observer.h", | 104 "notifier/listener/fake_push_client_observer.h", |
105 ] | 105 ] |
106 deps = [ | 106 deps = [ |
107 ":notifier", | 107 ":notifier", |
108 "//base", | 108 "//base", |
109 "//testing/gmock", | 109 "//testing/gmock", |
110 ] | 110 ] |
111 } | 111 } |
112 | 112 |
| 113 # TODO(GYP): Delete this after we've converted everything to GN. |
| 114 # The _run targets exist only for compatibility w/ GYP. |
| 115 group("jingle_unittests_run") { |
| 116 testonly = true |
| 117 deps = [ |
| 118 ":jingle_unittests", |
| 119 ] |
| 120 } |
| 121 |
113 # GYP version: jingle/jingle.gyp:jingle_unittests | 122 # GYP version: jingle/jingle.gyp:jingle_unittests |
114 test("jingle_unittests") { | 123 test("jingle_unittests") { |
115 sources = [ | 124 sources = [ |
116 "glue/chrome_async_socket_unittest.cc", | 125 "glue/chrome_async_socket_unittest.cc", |
117 "glue/fake_ssl_client_socket_unittest.cc", | 126 "glue/fake_ssl_client_socket_unittest.cc", |
118 "glue/jingle_glue_mock_objects.cc", | 127 "glue/jingle_glue_mock_objects.cc", |
119 "glue/jingle_glue_mock_objects.h", | 128 "glue/jingle_glue_mock_objects.h", |
120 "glue/logging_unittest.cc", | 129 "glue/logging_unittest.cc", |
121 "glue/mock_task.cc", | 130 "glue/mock_task.cc", |
122 "glue/mock_task.h", | 131 "glue/mock_task.h", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 ] | 196 ] |
188 deps = [ | 197 deps = [ |
189 "//base", | 198 "//base", |
190 "//net", | 199 "//net", |
191 ] | 200 ] |
192 } | 201 } |
193 | 202 |
194 source_set("notifier_test_util") { | 203 source_set("notifier_test_util") { |
195 } | 204 } |
196 } | 205 } |
OLD | NEW |