| 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 | 7 |
| 7 if (enable_webrtc || !is_android) { | 8 if (enable_webrtc || !is_android) { |
| 8 jingle_includes = exec_script("//build/gypi_to_gn.py", | 9 jingle_includes = exec_script("//build/gypi_to_gn.py", |
| 9 [ rebase_path("jingle.gypi") ], | 10 [ rebase_path("jingle.gypi") ], |
| 10 "scope", | 11 "scope", |
| 11 [ "jingle.gypi" ]) | 12 [ "jingle.gypi" ]) |
| 12 | 13 |
| 13 # GYP version: jingle/jingle.gyp:jingle_glue | 14 # GYP version: jingle/jingle.gyp:jingle_glue |
| 14 static_library("jingle_glue") { | 15 static_library("jingle_glue") { |
| 15 sources = jingle_includes.jingle_glue_sources | 16 sources = jingle_includes.jingle_glue_sources |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 "notifier/listener/fake_push_client_observer.h", | 104 "notifier/listener/fake_push_client_observer.h", |
| 104 ] | 105 ] |
| 105 deps = [ | 106 deps = [ |
| 106 ":notifier", | 107 ":notifier", |
| 107 "//base", | 108 "//base", |
| 108 "//testing/gmock", | 109 "//testing/gmock", |
| 109 ] | 110 ] |
| 110 } | 111 } |
| 111 | 112 |
| 112 # GYP version: jingle/jingle.gyp:jingle_unittests | 113 # GYP version: jingle/jingle.gyp:jingle_unittests |
| 113 # TODO(GYP): Convert to executable when its dependencies are linkable. | 114 test("jingle_unittests") { |
| 114 source_set("jingle_unittests") { | |
| 115 testonly = true | |
| 116 sources = [ | 115 sources = [ |
| 117 "glue/channel_socket_adapter_unittest.cc", | 116 "glue/channel_socket_adapter_unittest.cc", |
| 118 "glue/chrome_async_socket_unittest.cc", | 117 "glue/chrome_async_socket_unittest.cc", |
| 119 "glue/fake_ssl_client_socket_unittest.cc", | 118 "glue/fake_ssl_client_socket_unittest.cc", |
| 120 "glue/jingle_glue_mock_objects.cc", | 119 "glue/jingle_glue_mock_objects.cc", |
| 121 "glue/jingle_glue_mock_objects.h", | 120 "glue/jingle_glue_mock_objects.h", |
| 122 "glue/logging_unittest.cc", | 121 "glue/logging_unittest.cc", |
| 123 "glue/mock_task.cc", | 122 "glue/mock_task.cc", |
| 124 "glue/mock_task.h", | 123 "glue/mock_task.h", |
| 125 "glue/proxy_resolving_client_socket_unittest.cc", | 124 "glue/proxy_resolving_client_socket_unittest.cc", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 ] | 187 ] |
| 189 deps = [ | 188 deps = [ |
| 190 "//base", | 189 "//base", |
| 191 "//net", | 190 "//net", |
| 192 ] | 191 ] |
| 193 } | 192 } |
| 194 | 193 |
| 195 source_set("notifier_test_util") { | 194 source_set("notifier_test_util") { |
| 196 } | 195 } |
| 197 } | 196 } |
| OLD | NEW |