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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 static_library("notifier_test_util") { | 96 static_library("notifier_test_util") { |
97 testonly = true | 97 testonly = true |
98 sources = [ | 98 sources = [ |
99 "notifier/base/fake_base_task.cc", | 99 "notifier/base/fake_base_task.cc", |
100 "notifier/base/fake_base_task.h", | 100 "notifier/base/fake_base_task.h", |
101 "notifier/listener/fake_push_client.cc", | 101 "notifier/listener/fake_push_client.cc", |
102 "notifier/listener/fake_push_client.h", | 102 "notifier/listener/fake_push_client.h", |
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 public_deps = [ |
| 107 ":jingle_glue", |
| 108 ":notifier", |
| 109 ] |
106 deps = [ | 110 deps = [ |
107 ":notifier", | |
108 "//base", | 111 "//base", |
109 "//testing/gmock", | 112 "//testing/gmock", |
110 ] | 113 ] |
111 } | 114 } |
112 | 115 |
113 # TODO(GYP): Delete this after we've converted everything to GN. | 116 # TODO(GYP): Delete this after we've converted everything to GN. |
114 # The _run targets exist only for compatibility w/ GYP. | 117 # The _run targets exist only for compatibility w/ GYP. |
115 group("jingle_unittests_run") { | 118 group("jingle_unittests_run") { |
116 testonly = true | 119 testonly = true |
117 deps = [ | 120 deps = [ |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 ] | 199 ] |
197 deps = [ | 200 deps = [ |
198 "//base", | 201 "//base", |
199 "//net", | 202 "//net", |
200 ] | 203 ] |
201 } | 204 } |
202 | 205 |
203 source_set("notifier_test_util") { | 206 source_set("notifier_test_util") { |
204 } | 207 } |
205 } | 208 } |
OLD | NEW |