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