| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 | 7 |
| 8 # From third_party/libjingle/libjingle.gyp's target_defaults. | 8 # From third_party/libjingle/libjingle.gyp's target_defaults. |
| 9 config("jingle_unexported_configs") { | 9 config("jingle_unexported_configs") { |
| 10 defines = [ | 10 defines = [ |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 config("jingle_all_dependent_configs") { | 110 config("jingle_all_dependent_configs") { |
| 111 if (is_debug) { | 111 if (is_debug) { |
| 112 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of | 112 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of |
| 113 # _DEBUG and remove this define. See GYP file as well. | 113 # _DEBUG and remove this define. See GYP file as well. |
| 114 defines = [ "_DEBUG" ] | 114 defines = [ "_DEBUG" ] |
| 115 } | 115 } |
| 116 } | 116 } |
| 117 | 117 |
| 118 # From third_party/libjingle/libjingle.gyp's target_defaults. | 118 # From third_party/libjingle/libjingle.gyp's target_defaults. |
| 119 group("jingle_deps") { | 119 group("jingle_deps") { |
| 120 public_deps = [ |
| 121 "//third_party/expat", |
| 122 ] |
| 120 deps = [ | 123 deps = [ |
| 121 "//base", | 124 "//base", |
| 122 "//net", | 125 "//net", |
| 123 "//third_party/expat", | |
| 124 "//crypto:platform", | 126 "//crypto:platform", |
| 125 ] | 127 ] |
| 126 forward_dependent_configs_from = [ | |
| 127 "//third_party/expat", | |
| 128 ] | |
| 129 } | 128 } |
| 130 | 129 |
| 131 # GYP version: third_party/libjingle.gyp:libjingle | 130 # GYP version: third_party/libjingle.gyp:libjingle |
| 132 static_library("libjingle") { | 131 static_library("libjingle") { |
| 133 sources = [ | 132 sources = [ |
| 134 # List from third_party/libjingle/libjingle_common.gypi | 133 # List from third_party/libjingle/libjingle_common.gypi |
| 135 "source/talk/p2p/base/asyncstuntcpsocket.cc", | 134 "source/talk/p2p/base/asyncstuntcpsocket.cc", |
| 136 "source/talk/p2p/base/asyncstuntcpsocket.h", | 135 "source/talk/p2p/base/asyncstuntcpsocket.h", |
| 137 "source/talk/p2p/base/basicpacketsocketfactory.cc", | 136 "source/talk/p2p/base/basicpacketsocketfactory.cc", |
| 138 "source/talk/p2p/base/basicpacketsocketfactory.h", | 137 "source/talk/p2p/base/basicpacketsocketfactory.h", |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 ":libjingle_webrtc_common", | 549 ":libjingle_webrtc_common", |
| 551 "//third_party/webrtc", | 550 "//third_party/webrtc", |
| 552 "//third_party/webrtc/system_wrappers", | 551 "//third_party/webrtc/system_wrappers", |
| 553 "//third_party/webrtc/voice_engine", | 552 "//third_party/webrtc/voice_engine", |
| 554 ] | 553 ] |
| 555 } | 554 } |
| 556 | 555 |
| 557 } # enable_webrtc | 556 } # enable_webrtc |
| 558 | 557 |
| 559 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 558 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
| OLD | NEW |