1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# 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"', {
'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/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:
|