| 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") ], |
| 11 "scope", | 11 "scope", |
| 12 [ "jingle.gypi" ]) | 12 [ "jingle.gypi" ]) |
| 13 | 13 |
| 14 # GYP version: jingle/jingle.gyp:jingle_glue | 14 # GYP version: jingle/jingle.gyp:jingle_glue |
| 15 static_library("jingle_glue") { | 15 static_library("jingle_glue") { |
| 16 sources = jingle_includes.jingle_glue_sources | 16 sources = jingle_includes.jingle_glue_sources |
| 17 public_deps = [ | 17 public_deps = [ |
| 18 "//third_party/libjingle", | 18 "//third_party/libjingle", |
| 19 ] | 19 ] |
| 20 deps = [ | 20 deps = [ |
| 21 "//base", | 21 "//base", |
| 22 "//base/third_party/dynamic_annotations", | 22 "//base/third_party/dynamic_annotations", |
| 23 "//net", | 23 "//net", |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 27 |
| 28 if (is_nacl) { |
| 29 sources -= [ |
| 30 "glue/chrome_async_socket.cc", |
| 31 "glue/proxy_resolving_client_socket.cc", |
| 32 "glue/xmpp_client_socket_factory.cc", |
| 33 ] |
| 34 } |
| 27 } | 35 } |
| 28 | 36 |
| 29 # A library for sending and receiving peer-issued notifications. | 37 # A library for sending and receiving peer-issued notifications. |
| 30 # GYP version: jingle/jingle.gyp:notifier | 38 # GYP version: jingle/jingle.gyp:notifier |
| 31 static_library("notifier") { | 39 static_library("notifier") { |
| 32 sources = [ | 40 sources = [ |
| 33 "notifier/base/const_communicator.h", | 41 "notifier/base/const_communicator.h", |
| 34 "notifier/base/gaia_constants.cc", | 42 "notifier/base/gaia_constants.cc", |
| 35 "notifier/base/gaia_constants.h", | 43 "notifier/base/gaia_constants.h", |
| 36 "notifier/base/gaia_token_pre_xmpp_auth.cc", | 44 "notifier/base/gaia_token_pre_xmpp_auth.cc", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 ] | 207 ] |
| 200 deps = [ | 208 deps = [ |
| 201 "//base", | 209 "//base", |
| 202 "//net", | 210 "//net", |
| 203 ] | 211 ] |
| 204 } | 212 } |
| 205 | 213 |
| 206 source_set("notifier_test_util") { | 214 source_set("notifier_test_util") { |
| 207 } | 215 } |
| 208 } | 216 } |
| OLD | NEW |