Skip to content
Snippets Groups Projects
Commit bb518210 authored by sergeyu@chromium.org's avatar sergeyu@chromium.org
Browse files

Add libsrtp in DEPS, gyp file for libsrtp.

BUG=53986
TEST=none

Review URL: http://codereview.chromium.org/3382013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60142 0039d316-1c4b-4281-b951-d872f2087c98
parent 604c253e
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,9 @@ deps = { ...@@ -175,6 +175,9 @@ deps = {
"src/third_party/speex": "src/third_party/speex":
"/trunk/deps/third_party/speex@56515", "/trunk/deps/third_party/speex@56515",
"src/third_party/libsrtp/src":
"/trunk/deps/third_party/libsrtp@60080",
} }
......
...@@ -298,6 +298,7 @@ ...@@ -298,6 +298,7 @@
'../jingle/jingle.gyp:notifier', '../jingle/jingle.gyp:notifier',
'../third_party/libjingle/libjingle.gyp:libjingle', '../third_party/libjingle/libjingle.gyp:libjingle',
'../third_party/libjingle/libjingle.gyp:libjingle_p2p', '../third_party/libjingle/libjingle.gyp:libjingle_p2p',
'../third_party/libsrtp/libsrtp.gyp:libsrtp',
], ],
'export_dependent_settings': [ 'export_dependent_settings': [
'../third_party/libjingle/libjingle.gyp:libjingle', '../third_party/libjingle/libjingle.gyp:libjingle',
......
Name: libsrtp
URL: http://srtp.sourceforge.net
License File: src/LICENSE
Chromoting uses libSRTP to encrypt video stream.
See source/README.chromium for about current revision.
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is a stub config.h for libSRTP. It doesn't define anything because
// build is configured by libsrtp.gyp.
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'target_defaults': {
'defines': [
'HAVE_STDLIB_H',
'HAVE_STRING_H',
],
'include_dirs': [
'./config',
'./src/include',
'./src/crypto/include',
],
'conditions': [
['target_arch=="x64"', {
'defines': [
'CPU_CISC',
'SIZEOF_UNSIGNED_LONG=8',
'SIZEOF_UNSIGNED_LONG_LONG=8',
],
}],
['target_arch=="ia32"', {
'defines': [
'CPU_CISC',
'SIZEOF_UNSIGNED_LONG=4',
'SIZEOF_UNSIGNED_LONG_LONG=8',
],
}],
['target_arch=="arm"', {
'defines': [
'CPU_RISC',
'SIZEOF_UNSIGNED_LONG=4',
'SIZEOF_UNSIGNED_LONG_LONG=8',
],
}],
['OS!="win" and target_arch=="ia32"', {
'defines': [
'HAVE_X86',
],
}],
['OS!="win"', {
'defines': [
'HAVE_STDINT_H',
'HAVE_INTTYPES_H',
],
}],
['OS=="win"', {
'defines': [
'HAVE_WINSOCK2_H',
'inline=__inline',
],
}],
],
},
'targets': [
{
'target_name': 'libsrtp',
'type': '<(library)',
'sources': [
'src/srtp/ekt.c',
'src/srtp/srtp.c',
'src/tables/aes_tables.c',
'src/crypto/cipher/aes_icm.c',
'src/crypto/cipher/null_cipher.c',
'src/crypto/cipher/aes_cbc.c',
'src/crypto/cipher/cipher.c',
'src/crypto/cipher/aes.c',
'src/crypto/math/datatypes.c',
'src/crypto/math/gf2_8.c',
'src/crypto/math/stat.c',
'src/crypto/replay/rdbx.c',
'src/crypto/replay/ut_sim.c',
'src/crypto/replay/rdb.c',
'src/crypto/kernel/alloc.c',
'src/crypto/kernel/key.c',
'src/crypto/kernel/err.c',
'src/crypto/kernel/crypto_kernel.c',
'src/crypto/rng/rand_source.c',
'src/crypto/rng/prng.c',
'src/crypto/rng/ctr_prng.c',
'src/crypto/ae_xfm/xfm.c',
'src/crypto/hash/sha1.c',
'src/crypto/hash/hmac.c',
'src/crypto/hash/null_auth.c',
'src/crypto/hash/auth.c',
],
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment