| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 defines = [ | 27 defines = [ |
| 28 "FEATURE_ENABLE_SSL", | 28 "FEATURE_ENABLE_SSL", |
| 29 "FEATURE_ENABLE_VOICEMAIL", | 29 "FEATURE_ENABLE_VOICEMAIL", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 source_set("rtc_xmpp") { | 33 source_set("rtc_xmpp") { |
| 34 cflags = [] | 34 cflags = [] |
| 35 sources = [ | 35 sources = [ |
| 36 "asyncsocket.h", | 36 "asyncsocket.h", |
| 37 "chatroommodule.h", | |
| 38 "chatroommoduleimpl.cc", | |
| 39 "constants.cc", | 37 "constants.cc", |
| 40 "constants.h", | 38 "constants.h", |
| 41 "discoitemsquerytask.cc", | |
| 42 "discoitemsquerytask.h", | |
| 43 "hangoutpubsubclient.cc", | |
| 44 "hangoutpubsubclient.h", | |
| 45 "iqtask.cc", | |
| 46 "iqtask.h", | |
| 47 "jid.cc", | 39 "jid.cc", |
| 48 "jid.h", | 40 "jid.h", |
| 49 "module.h", | |
| 50 "moduleimpl.cc", | |
| 51 "moduleimpl.h", | |
| 52 "mucroomconfigtask.cc", | |
| 53 "mucroomconfigtask.h", | |
| 54 "mucroomdiscoverytask.cc", | |
| 55 "mucroomdiscoverytask.h", | |
| 56 "mucroomlookuptask.cc", | |
| 57 "mucroomlookuptask.h", | |
| 58 "mucroomuniquehangoutidtask.cc", | |
| 59 "mucroomuniquehangoutidtask.h", | |
| 60 "pingtask.cc", | |
| 61 "pingtask.h", | |
| 62 "plainsaslhandler.h", | 41 "plainsaslhandler.h", |
| 63 "presenceouttask.cc", | |
| 64 "presenceouttask.h", | |
| 65 "presencereceivetask.cc", | |
| 66 "presencereceivetask.h", | |
| 67 "presencestatus.cc", | |
| 68 "presencestatus.h", | |
| 69 "prexmppauth.h", | 42 "prexmppauth.h", |
| 70 "pubsub_task.cc", | |
| 71 "pubsub_task.h", | |
| 72 "pubsubclient.cc", | |
| 73 "pubsubclient.h", | |
| 74 "pubsubstateclient.cc", | |
| 75 "pubsubstateclient.h", | |
| 76 "pubsubtasks.cc", | |
| 77 "pubsubtasks.h", | |
| 78 "receivetask.cc", | |
| 79 "receivetask.h", | |
| 80 "rostermodule.h", | |
| 81 "rostermoduleimpl.cc", | |
| 82 "rostermoduleimpl.h", | |
| 83 "saslcookiemechanism.h", | 43 "saslcookiemechanism.h", |
| 84 "saslhandler.h", | 44 "saslhandler.h", |
| 85 "saslmechanism.cc", | 45 "saslmechanism.cc", |
| 86 "saslmechanism.h", | 46 "saslmechanism.h", |
| 87 "saslplainmechanism.h", | 47 "saslplainmechanism.h", |
| 88 "xmppauth.cc", | |
| 89 "xmppauth.h", | |
| 90 "xmppclient.cc", | 48 "xmppclient.cc", |
| 91 "xmppclient.h", | 49 "xmppclient.h", |
| 92 "xmppclientsettings.h", | 50 "xmppclientsettings.h", |
| 93 "xmppengine.h", | 51 "xmppengine.h", |
| 94 "xmppengineimpl.cc", | 52 "xmppengineimpl.cc", |
| 95 "xmppengineimpl.h", | 53 "xmppengineimpl.h", |
| 96 "xmppengineimpl_iq.cc", | 54 "xmppengineimpl_iq.cc", |
| 97 "xmpplogintask.cc", | 55 "xmpplogintask.cc", |
| 98 "xmpplogintask.h", | 56 "xmpplogintask.h", |
| 99 "xmpppump.cc", | |
| 100 "xmpppump.h", | |
| 101 "xmppsocket.cc", | |
| 102 "xmppsocket.h", | |
| 103 "xmppstanzaparser.cc", | 57 "xmppstanzaparser.cc", |
| 104 "xmppstanzaparser.h", | 58 "xmppstanzaparser.h", |
| 105 "xmpptask.cc", | 59 "xmpptask.cc", |
| 106 "xmpptask.h", | 60 "xmpptask.h", |
| 107 "xmppthread.cc", | |
| 108 "xmppthread.h", | |
| 109 ] | 61 ] |
| 110 | 62 |
| 111 defines = [ "FEATURE_ENABLE_SSL" ] | 63 defines = [ "FEATURE_ENABLE_SSL" ] |
| 112 | 64 |
| 113 deps = [ | 65 deps = [ |
| 114 "../../base:rtc_base", | 66 "../../base:rtc_base", |
| 115 "../xmllite", | 67 "../xmllite", |
| 116 ] | 68 ] |
| 117 | 69 |
| 118 if (rtc_build_expat) { | 70 if (rtc_build_expat) { |
| 119 deps += [ "//third_party/expat" ] | 71 deps += [ "//third_party/expat" ] |
| 120 public_deps = [ | 72 public_deps = [ |
| 121 "//third_party/expat", | 73 "//third_party/expat", |
| 122 ] | 74 ] |
| 123 } | 75 } |
| 124 | 76 |
| 125 configs += [ | 77 configs += [ |
| 126 "../..:common_config", | 78 "../..:common_config", |
| 127 ":xmpp_warnings_config", | 79 ":xmpp_warnings_config", |
| 128 ] | 80 ] |
| 129 | 81 |
| 130 public_configs = [ | 82 public_configs = [ |
| 131 "../..:common_inherited_config", | 83 "../..:common_inherited_config", |
| 132 ":xmpp_inherited_config", | 84 ":xmpp_inherited_config", |
| 133 ] | 85 ] |
| 134 | 86 |
| 135 if (!build_with_chromium) { | 87 if (build_with_chromium) { |
| 88 if (is_nacl) { |
| 89 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
| 90 } |
| 91 } else { |
| 92 sources += [ |
| 93 "chatroommodule.h", |
| 94 "chatroommoduleimpl.cc", |
| 95 "discoitemsquerytask.cc", |
| 96 "discoitemsquerytask.h", |
| 97 "hangoutpubsubclient.cc", |
| 98 "hangoutpubsubclient.h", |
| 99 "iqtask.cc", |
| 100 "iqtask.h", |
| 101 "module.h", |
| 102 "moduleimpl.cc", |
| 103 "moduleimpl.h", |
| 104 "mucroomconfigtask.cc", |
| 105 "mucroomconfigtask.h", |
| 106 "mucroomdiscoverytask.cc", |
| 107 "mucroomdiscoverytask.h", |
| 108 "mucroomlookuptask.cc", |
| 109 "mucroomlookuptask.h", |
| 110 "mucroomuniquehangoutidtask.cc", |
| 111 "mucroomuniquehangoutidtask.h", |
| 112 "pingtask.cc", |
| 113 "pingtask.h", |
| 114 "presenceouttask.cc", |
| 115 "presenceouttask.h", |
| 116 "presencereceivetask.cc", |
| 117 "presencereceivetask.h", |
| 118 "presencestatus.cc", |
| 119 "presencestatus.h", |
| 120 "pubsub_task.cc", |
| 121 "pubsub_task.h", |
| 122 "pubsubclient.cc", |
| 123 "pubsubclient.h", |
| 124 "pubsubstateclient.cc", |
| 125 "pubsubstateclient.h", |
| 126 "pubsubtasks.cc", |
| 127 "pubsubtasks.h", |
| 128 "receivetask.cc", |
| 129 "receivetask.h", |
| 130 "rostermodule.h", |
| 131 "rostermoduleimpl.cc", |
| 132 "rostermoduleimpl.h", |
| 133 "xmppauth.cc", |
| 134 "xmppauth.h", |
| 135 "xmpppump.cc", |
| 136 "xmpppump.h", |
| 137 "xmppsocket.cc", |
| 138 "xmppsocket.h", |
| 139 "xmppthread.cc", |
| 140 "xmppthread.h", |
| 141 ] |
| 142 |
| 136 defines += [ | 143 defines += [ |
| 137 "FEATURE_ENABLE_VOICEMAIL", | 144 "FEATURE_ENABLE_VOICEMAIL", |
| 138 "FEATURE_ENABLE_PSTN", | 145 "FEATURE_ENABLE_PSTN", |
| 139 ] | 146 ] |
| 140 | 147 |
| 141 if (is_clang) { | 148 if (is_clang) { |
| 142 # Suppress warnings from Chrome's Clang plugins. | 149 # Suppress warnings from Chrome's Clang plugins. |
| 143 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 150 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 144 configs -= [ "//build/config/clang:find_bad_constructs" ] | 151 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 145 } | 152 } |
| 146 } | 153 } |
| 147 | 154 |
| 148 if (is_posix && is_debug) { | 155 if (is_posix && is_debug) { |
| 149 # The Chromium build/common.gypi defines this for all posix | 156 # The Chromium build/common.gypi defines this for all posix |
| 150 # _except_ for ios & mac. We want it there as well, e.g. | 157 # _except_ for ios & mac. We want it there as well, e.g. |
| 151 # because ASSERT and friends trigger off of it. | 158 # because ASSERT and friends trigger off of it. |
| 152 defines += [ "_DEBUG" ] | 159 defines += [ "_DEBUG" ] |
| 153 } | 160 } |
| 154 } | 161 } |
| OLD | NEW |