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 | 6 |
7 if (enable_webrtc || !is_android) { | 7 if (enable_webrtc || !is_android) { |
8 jingle_includes = exec_script("//build/gypi_to_gn.py", | 8 jingle_includes = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("jingle.gypi") ], | 9 [ rebase_path("jingle.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 "notifier/listener/push_notifications_send_update_task.h", | 68 "notifier/listener/push_notifications_send_update_task.h", |
69 "notifier/listener/push_notifications_subscribe_task.cc", | 69 "notifier/listener/push_notifications_subscribe_task.cc", |
70 "notifier/listener/push_notifications_subscribe_task.h", | 70 "notifier/listener/push_notifications_subscribe_task.h", |
71 "notifier/listener/send_ping_task.cc", | 71 "notifier/listener/send_ping_task.cc", |
72 "notifier/listener/send_ping_task.h", | 72 "notifier/listener/send_ping_task.h", |
73 "notifier/listener/xml_element_util.cc", | 73 "notifier/listener/xml_element_util.cc", |
74 "notifier/listener/xml_element_util.h", | 74 "notifier/listener/xml_element_util.h", |
75 "notifier/listener/xmpp_push_client.cc", | 75 "notifier/listener/xmpp_push_client.cc", |
76 "notifier/listener/xmpp_push_client.h", | 76 "notifier/listener/xmpp_push_client.h", |
77 ] | 77 ] |
78 defines = [ | 78 defines = [ "_CRT_SECURE_NO_WARNINGS" ] |
79 "_CRT_SECURE_NO_WARNINGS", | |
80 ] | |
81 | 79 |
82 public_deps = [ | 80 public_deps = [ |
83 "//third_party/libjingle", | 81 "//third_party/libjingle", |
84 ] | 82 ] |
85 deps = [ | 83 deps = [ |
86 "//base", | 84 "//base", |
87 "//net", | 85 "//net", |
88 "//third_party/expat", | 86 "//third_party/expat", |
89 "//url", | 87 "//url", |
90 ":jingle_glue", | 88 ":jingle_glue", |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 "//base/test:test_support", | 161 "//base/test:test_support", |
164 "//net", | 162 "//net", |
165 "//net:test_support", | 163 "//net:test_support", |
166 "//testing/gmock", | 164 "//testing/gmock", |
167 "//testing/gtest", | 165 "//testing/gtest", |
168 ] | 166 ] |
169 } | 167 } |
170 } else { | 168 } else { |
171 # !enable_webrtc and is_android | 169 # !enable_webrtc and is_android |
172 # Stub targets as Android doesn't use libjingle when webrtc is disabled. | 170 # Stub targets as Android doesn't use libjingle when webrtc is disabled. |
173 source_set("jingle_glue") { } | 171 source_set("jingle_glue") { |
| 172 } |
174 | 173 |
175 source_set("jingle_glue_test_util") { } | 174 source_set("jingle_glue_test_util") { |
| 175 } |
176 | 176 |
177 # GYP version: jingle/jingle.gyp:notifier | 177 # GYP version: jingle/jingle.gyp:notifier |
178 static_library("notifier") { | 178 static_library("notifier") { |
179 sources = [ | 179 sources = [ |
180 "notifier/base/gaia_constants.cc", | 180 "notifier/base/gaia_constants.cc", |
181 "notifier/base/gaia_constants.h", | 181 "notifier/base/gaia_constants.h", |
182 "notifier/base/notification_method.h", | 182 "notifier/base/notification_method.h", |
183 "notifier/base/notification_method.cc", | 183 "notifier/base/notification_method.cc", |
184 "notifier/base/notifier_options.cc", | 184 "notifier/base/notifier_options.cc", |
185 "notifier/base/notifier_options.h", | 185 "notifier/base/notifier_options.h", |
186 ] | 186 ] |
187 deps = [ | 187 deps = [ |
188 "//base", | 188 "//base", |
189 "//net" | 189 "//net", |
190 ] | 190 ] |
191 } | 191 } |
192 | 192 |
193 source_set("notifier_test_util") { } | 193 source_set("notifier_test_util") { |
| 194 } |
194 } | 195 } |
OLD | NEW |