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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'libjingle_source': "source", | 7 'libjingle_source': "source", |
| 8 'webrtc_base': "../webrtc/base", |
8 }, | 9 }, |
9 'includes': [ | 10 'includes': [ |
10 '../../native_client/build/untrusted.gypi', | 11 '../../native_client/build/untrusted.gypi', |
11 ], | 12 ], |
12 'targets': [ | 13 'targets': [ |
13 { | 14 { |
14 'target_name': 'libjingle_nacl', | 15 'target_name': 'libjingle_nacl', |
15 'type': 'none', | 16 'type': 'none', |
16 'variables': { | 17 'variables': { |
17 'nlib_target': 'libjingle_nacl.a', | 18 'nlib_target': 'libjingle_nacl.a', |
(...skipping 11 matching lines...) Expand all Loading... |
29 'libjingle_p2p_constants_nacl', | 30 'libjingle_p2p_constants_nacl', |
30 ], | 31 ], |
31 'defines': [ | 32 'defines': [ |
32 'EXPAT_RELATIVE_PATH', | 33 'EXPAT_RELATIVE_PATH', |
33 'FEATURE_ENABLE_SSL', | 34 'FEATURE_ENABLE_SSL', |
34 'GTEST_RELATIVE_PATH', | 35 'GTEST_RELATIVE_PATH', |
35 'HAVE_OPENSSL_SSL_H', | 36 'HAVE_OPENSSL_SSL_H', |
36 'NO_MAIN_THREAD_WRAPPING', | 37 'NO_MAIN_THREAD_WRAPPING', |
37 'NO_SOUND_SYSTEM', | 38 'NO_SOUND_SYSTEM', |
38 'POSIX', | 39 'POSIX', |
| 40 'WEBRTC_POSIX', |
39 'SRTP_RELATIVE_PATH', | 41 'SRTP_RELATIVE_PATH', |
40 'SSL_USE_OPENSSL', | 42 'SSL_USE_OPENSSL', |
41 'USE_WEBRTC_DEV_BRANCH', | 43 'USE_WEBRTC_DEV_BRANCH', |
42 'timezone=_timezone', | 44 'timezone=_timezone', |
43 ], | 45 ], |
44 'configurations': { | 46 'configurations': { |
45 'Debug': { | 47 'Debug': { |
46 'defines': [ | 48 'defines': [ |
47 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of | 49 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of |
48 # _DEBUG and remove this define. See below as well. | 50 # _DEBUG and remove this define. See below as well. |
49 '_DEBUG', | 51 '_DEBUG', |
50 ], | 52 ], |
51 } | 53 } |
52 }, | 54 }, |
53 'include_dirs': [ | 55 'include_dirs': [ |
54 './<(libjingle_source)', | 56 './<(libjingle_source)', |
| 57 '../', |
55 ], | 58 ], |
56 'includes': ['libjingle_common.gypi', ], | 59 'includes': ['libjingle_common.gypi', ], |
| 60 'sources': [ |
| 61 '<(webrtc_base)/asyncfile.cc', |
| 62 '<(webrtc_base)/asyncfile.h', |
| 63 '<(webrtc_base)/asynchttprequest.cc', |
| 64 '<(webrtc_base)/asynchttprequest.h', |
| 65 '<(webrtc_base)/asyncpacketsocket.h', |
| 66 '<(webrtc_base)/asyncsocket.cc', |
| 67 '<(webrtc_base)/asyncsocket.h', |
| 68 '<(webrtc_base)/asynctcpsocket.cc', |
| 69 '<(webrtc_base)/asynctcpsocket.h', |
| 70 '<(webrtc_base)/asyncudpsocket.cc', |
| 71 '<(webrtc_base)/asyncudpsocket.h', |
| 72 '<(webrtc_base)/autodetectproxy.cc', |
| 73 '<(webrtc_base)/autodetectproxy.h', |
| 74 '<(webrtc_base)/base64.cc', |
| 75 '<(webrtc_base)/base64.h', |
| 76 '<(webrtc_base)/basicdefs.h', |
| 77 '<(webrtc_base)/bytebuffer.cc', |
| 78 '<(webrtc_base)/bytebuffer.h', |
| 79 '<(webrtc_base)/byteorder.h', |
| 80 '<(webrtc_base)/checks.cc', |
| 81 '<(webrtc_base)/checks.h', |
| 82 '<(webrtc_base)/common.cc', |
| 83 '<(webrtc_base)/common.h', |
| 84 '<(webrtc_base)/compile_assert.h', |
| 85 '<(webrtc_base)/cpumonitor.cc', |
| 86 '<(webrtc_base)/cpumonitor.h', |
| 87 '<(webrtc_base)/crc32.cc', |
| 88 '<(webrtc_base)/crc32.h', |
| 89 '<(webrtc_base)/criticalsection.h', |
| 90 '<(webrtc_base)/cryptstring.h', |
| 91 '<(webrtc_base)/diskcache.cc', |
| 92 '<(webrtc_base)/diskcache.h', |
| 93 '<(webrtc_base)/dscp.h', |
| 94 '<(webrtc_base)/event.cc', |
| 95 '<(webrtc_base)/event.h', |
| 96 '<(webrtc_base)/fileutils.cc', |
| 97 '<(webrtc_base)/fileutils.h', |
| 98 '<(webrtc_base)/firewallsocketserver.cc', |
| 99 '<(webrtc_base)/firewallsocketserver.h', |
| 100 '<(webrtc_base)/flags.cc', |
| 101 '<(webrtc_base)/flags.h', |
| 102 '<(webrtc_base)/helpers.cc', |
| 103 '<(webrtc_base)/helpers.h', |
| 104 '<(webrtc_base)/httpbase.cc', |
| 105 '<(webrtc_base)/httpbase.h', |
| 106 '<(webrtc_base)/httpclient.cc', |
| 107 '<(webrtc_base)/httpclient.h', |
| 108 '<(webrtc_base)/httpcommon-inl.h', |
| 109 '<(webrtc_base)/httpcommon.cc', |
| 110 '<(webrtc_base)/httpcommon.h', |
| 111 '<(webrtc_base)/httprequest.cc', |
| 112 '<(webrtc_base)/httprequest.h', |
| 113 '<(webrtc_base)/ipaddress.cc', |
| 114 '<(webrtc_base)/ipaddress.h', |
| 115 '<(webrtc_base)/linked_ptr.h', |
| 116 '<(webrtc_base)/logging.cc', |
| 117 '<(webrtc_base)/logging.h', |
| 118 '<(webrtc_base)/maccocoathreadhelper.h', |
| 119 '<(webrtc_base)/maccocoathreadhelper.mm', |
| 120 '<(webrtc_base)/macconversion.cc', |
| 121 '<(webrtc_base)/macconversion.h', |
| 122 '<(webrtc_base)/macutils.cc', |
| 123 '<(webrtc_base)/macutils.h', |
| 124 '<(webrtc_base)/md5.cc', |
| 125 '<(webrtc_base)/md5.h', |
| 126 '<(webrtc_base)/md5digest.h', |
| 127 '<(webrtc_base)/messagedigest.cc', |
| 128 '<(webrtc_base)/messagedigest.h', |
| 129 '<(webrtc_base)/messagehandler.cc', |
| 130 '<(webrtc_base)/messagehandler.h', |
| 131 '<(webrtc_base)/messagequeue.cc', |
| 132 '<(webrtc_base)/messagequeue.h', |
| 133 '<(webrtc_base)/move.h', |
| 134 '<(webrtc_base)/nethelpers.cc', |
| 135 '<(webrtc_base)/nethelpers.h', |
| 136 '<(webrtc_base)/network.cc', |
| 137 '<(webrtc_base)/network.h', |
| 138 '<(webrtc_base)/nssidentity.cc', |
| 139 '<(webrtc_base)/nssidentity.h', |
| 140 '<(webrtc_base)/nssstreamadapter.cc', |
| 141 '<(webrtc_base)/nssstreamadapter.h', |
| 142 '<(webrtc_base)/nullsocketserver.h', |
| 143 '<(webrtc_base)/openssladapter.cc', |
| 144 '<(webrtc_base)/openssldigest.cc', |
| 145 '<(webrtc_base)/opensslidentity.cc', |
| 146 '<(webrtc_base)/opensslstreamadapter.cc', |
| 147 '<(webrtc_base)/pathutils.cc', |
| 148 '<(webrtc_base)/pathutils.h', |
| 149 '<(webrtc_base)/physicalsocketserver.cc', |
| 150 '<(webrtc_base)/physicalsocketserver.h', |
| 151 '<(webrtc_base)/proxydetect.cc', |
| 152 '<(webrtc_base)/proxydetect.h', |
| 153 '<(webrtc_base)/proxyinfo.cc', |
| 154 '<(webrtc_base)/proxyinfo.h', |
| 155 '<(webrtc_base)/ratelimiter.cc', |
| 156 '<(webrtc_base)/ratelimiter.h', |
| 157 '<(webrtc_base)/ratetracker.cc', |
| 158 '<(webrtc_base)/ratetracker.h', |
| 159 '<(webrtc_base)/schanneladapter.cc', |
| 160 '<(webrtc_base)/schanneladapter.h', |
| 161 '<(webrtc_base)/scoped_autorelease_pool.h', |
| 162 '<(webrtc_base)/scoped_autorelease_pool.mm', |
| 163 '<(webrtc_base)/scoped_ptr.h', |
| 164 '<(webrtc_base)/sec_buffer.h', |
| 165 '<(webrtc_base)/sha1.cc', |
| 166 '<(webrtc_base)/sha1.h', |
| 167 '<(webrtc_base)/sha1digest.h', |
| 168 '<(webrtc_base)/signalthread.cc', |
| 169 '<(webrtc_base)/signalthread.h', |
| 170 '<(webrtc_base)/sigslot.h', |
| 171 '<(webrtc_base)/sigslotrepeater.h', |
| 172 '<(webrtc_base)/socket.h', |
| 173 '<(webrtc_base)/socketadapters.cc', |
| 174 '<(webrtc_base)/socketadapters.h', |
| 175 '<(webrtc_base)/socketaddress.cc', |
| 176 '<(webrtc_base)/socketaddress.h', |
| 177 '<(webrtc_base)/socketaddresspair.cc', |
| 178 '<(webrtc_base)/socketaddresspair.h', |
| 179 '<(webrtc_base)/socketfactory.h', |
| 180 '<(webrtc_base)/socketpool.cc', |
| 181 '<(webrtc_base)/socketpool.h', |
| 182 '<(webrtc_base)/socketserver.h', |
| 183 '<(webrtc_base)/socketstream.cc', |
| 184 '<(webrtc_base)/socketstream.h', |
| 185 '<(webrtc_base)/ssladapter.cc', |
| 186 '<(webrtc_base)/ssladapter.h', |
| 187 '<(webrtc_base)/sslfingerprint.cc', |
| 188 '<(webrtc_base)/sslfingerprint.h', |
| 189 '<(webrtc_base)/sslidentity.cc', |
| 190 '<(webrtc_base)/sslidentity.h', |
| 191 '<(webrtc_base)/sslsocketfactory.cc', |
| 192 '<(webrtc_base)/sslsocketfactory.h', |
| 193 '<(webrtc_base)/sslstreamadapter.cc', |
| 194 '<(webrtc_base)/sslstreamadapter.h', |
| 195 '<(webrtc_base)/sslstreamadapterhelper.cc', |
| 196 '<(webrtc_base)/sslstreamadapterhelper.h', |
| 197 '<(webrtc_base)/stream.cc', |
| 198 '<(webrtc_base)/stream.h', |
| 199 '<(webrtc_base)/stringencode.cc', |
| 200 '<(webrtc_base)/stringencode.h', |
| 201 '<(webrtc_base)/stringutils.cc', |
| 202 '<(webrtc_base)/stringutils.h', |
| 203 '<(webrtc_base)/task.cc', |
| 204 '<(webrtc_base)/task.h', |
| 205 '<(webrtc_base)/taskparent.cc', |
| 206 '<(webrtc_base)/taskparent.h', |
| 207 '<(webrtc_base)/taskrunner.cc', |
| 208 '<(webrtc_base)/taskrunner.h', |
| 209 '<(webrtc_base)/template_util.h', |
| 210 '<(webrtc_base)/thread.cc', |
| 211 '<(webrtc_base)/thread.h', |
| 212 '<(webrtc_base)/timeutils.cc', |
| 213 '<(webrtc_base)/timeutils.h', |
| 214 '<(webrtc_base)/timing.cc', |
| 215 '<(webrtc_base)/timing.h', |
| 216 '<(webrtc_base)/unixfilesystem.cc', |
| 217 '<(webrtc_base)/unixfilesystem.h', |
| 218 '<(webrtc_base)/urlencode.cc', |
| 219 '<(webrtc_base)/urlencode.h', |
| 220 '<(webrtc_base)/win32.cc', |
| 221 '<(webrtc_base)/win32.h', |
| 222 '<(webrtc_base)/win32filesystem.cc', |
| 223 '<(webrtc_base)/win32filesystem.h', |
| 224 '<(webrtc_base)/win32securityerrors.cc', |
| 225 '<(webrtc_base)/win32window.cc', |
| 226 '<(webrtc_base)/win32window.h', |
| 227 '<(webrtc_base)/winfirewall.cc', |
| 228 '<(webrtc_base)/winfirewall.h', |
| 229 '<(webrtc_base)/winping.cc', |
| 230 '<(webrtc_base)/winping.h', |
| 231 '<(webrtc_base)/worker.cc', |
| 232 '<(webrtc_base)/worker.h', |
| 233 ], |
57 'sources!': [ | 234 'sources!': [ |
58 # Compiled as part of libjingle_p2p_constants_nacl. | 235 # Compiled as part of libjingle_p2p_constants_nacl. |
59 '<(libjingle_source)/talk/p2p/base/constants.cc', | 236 '<(libjingle_source)/talk/p2p/base/constants.cc', |
60 '<(libjingle_source)/talk/p2p/base/constants.h', | 237 '<(libjingle_source)/talk/p2p/base/constants.h', |
61 ], | 238 ], |
| 239 'sources/': [ |
| 240 ['exclude', '/mac[a-z]+\\.(h|cc)$'], |
| 241 ['exclude', '/scoped_autorelease_pool\\.(h|mm)$'], |
| 242 ], |
| 243 'conditions': [ |
| 244 ['OS!="win"', { |
| 245 'sources/': [ |
| 246 ['exclude', '/win[a-z0-9]+\\.(h|cc)$'], |
| 247 ['exclude', '/schanneladapter\\.(h|cc)$'], |
| 248 ], |
| 249 }], |
| 250 ], |
62 'direct_dependent_settings': { | 251 'direct_dependent_settings': { |
63 'include_dirs': [ | 252 'include_dirs': [ |
64 './overrides', | 253 './overrides', |
65 './<(libjingle_source)', | 254 './<(libjingle_source)', |
66 '../../third_party/webrtc/overrides', | 255 '../../third_party/webrtc/overrides', |
67 '../../third_party', | 256 '../../third_party', |
68 '../../third_party/webrtc', | 257 '../../third_party/webrtc', |
69 ], | 258 ], |
70 'defines': [ | 259 'defines': [ |
71 'EXPAT_RELATIVE_PATH', | 260 'EXPAT_RELATIVE_PATH', |
72 'FEATURE_ENABLE_SSL', | 261 'FEATURE_ENABLE_SSL', |
73 'GTEST_RELATIVE_PATH', | 262 'GTEST_RELATIVE_PATH', |
74 'NO_MAIN_THREAD_WRAPPING', | 263 'NO_MAIN_THREAD_WRAPPING', |
75 'NO_SOUND_SYSTEM', | 264 'NO_SOUND_SYSTEM', |
76 'POSIX', | 265 'POSIX', |
| 266 'WEBRTC_POSIX', |
77 'SRTP_RELATIVE_PATH', | 267 'SRTP_RELATIVE_PATH', |
78 'SSL_USE_OPENSSL', | 268 'SSL_USE_OPENSSL', |
79 'USE_WEBRTC_DEV_BRANCH', | 269 'USE_WEBRTC_DEV_BRANCH', |
80 ], | 270 ], |
81 }, | 271 }, |
82 'export_dependent_settings': [ | 272 'export_dependent_settings': [ |
83 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr
usted', | 273 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr
usted', |
84 ], | 274 ], |
85 }, # end of target 'libjingle_nacl' | 275 }, # end of target 'libjingle_nacl' |
86 | 276 |
(...skipping 18 matching lines...) Expand all Loading... |
105 'include_dirs': [ | 295 'include_dirs': [ |
106 './<(libjingle_source)', | 296 './<(libjingle_source)', |
107 ], | 297 ], |
108 'sources': [ | 298 'sources': [ |
109 '<(libjingle_source)/talk/p2p/base/constants.cc', | 299 '<(libjingle_source)/talk/p2p/base/constants.cc', |
110 '<(libjingle_source)/talk/p2p/base/constants.h', | 300 '<(libjingle_source)/talk/p2p/base/constants.h', |
111 ], | 301 ], |
112 }, # end of target 'libjingle_p2p_constants_nacl' | 302 }, # end of target 'libjingle_p2p_constants_nacl' |
113 ], | 303 ], |
114 } | 304 } |
OLD | NEW |