Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: build/secondary/third_party/libsrtp/BUILD.gn

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 declare_args() { 5 declare_args() {
6 use_system_libsrtp = false 6 use_system_libsrtp = false
7 } 7 }
8 8
9 config("libsrtp_config") { 9 config("libsrtp_config") {
10 defines = [ 10 defines = [
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 # includes 84 # includes
85 "srtp/include/ekt.h", 85 "srtp/include/ekt.h",
86 "srtp/include/getopt_s.h", 86 "srtp/include/getopt_s.h",
87 "srtp/include/rtp.h", 87 "srtp/include/rtp.h",
88 "srtp/include/rtp_priv.h", 88 "srtp/include/rtp_priv.h",
89 "srtp/include/srtp.h", 89 "srtp/include/srtp.h",
90 "srtp/include/srtp_priv.h", 90 "srtp/include/srtp_priv.h",
91 "srtp/include/ut_sim.h", 91 "srtp/include/ut_sim.h",
92 92
93 # headers 93 # headers
94 "srtp/crypto/include/aes.h",
94 "srtp/crypto/include/aes_cbc.h", 95 "srtp/crypto/include/aes_cbc.h",
95 "srtp/crypto/include/aes.h",
96 "srtp/crypto/include/aes_icm.h", 96 "srtp/crypto/include/aes_icm.h",
97 "srtp/crypto/include/alloc.h", 97 "srtp/crypto/include/alloc.h",
98 "srtp/crypto/include/auth.h", 98 "srtp/crypto/include/auth.h",
99 "srtp/crypto/include/cipher.h", 99 "srtp/crypto/include/cipher.h",
100 "srtp/crypto/include/cryptoalg.h",
101 "srtp/crypto/include/crypto.h", 100 "srtp/crypto/include/crypto.h",
102 "srtp/crypto/include/crypto_kernel.h", 101 "srtp/crypto/include/crypto_kernel.h",
103 "srtp/crypto/include/crypto_math.h", 102 "srtp/crypto/include/crypto_math.h",
104 "srtp/crypto/include/crypto_types.h", 103 "srtp/crypto/include/crypto_types.h",
104 "srtp/crypto/include/cryptoalg.h",
105 "srtp/crypto/include/datatypes.h", 105 "srtp/crypto/include/datatypes.h",
106 "srtp/crypto/include/err.h", 106 "srtp/crypto/include/err.h",
107 "srtp/crypto/include/gf2_8.h", 107 "srtp/crypto/include/gf2_8.h",
108 "srtp/crypto/include/hmac.h", 108 "srtp/crypto/include/hmac.h",
109 "srtp/crypto/include/integers.h", 109 "srtp/crypto/include/integers.h",
110 "srtp/crypto/include/kernel_compat.h", 110 "srtp/crypto/include/kernel_compat.h",
111 "srtp/crypto/include/key.h", 111 "srtp/crypto/include/key.h",
112 "srtp/crypto/include/null_auth.h", 112 "srtp/crypto/include/null_auth.h",
113 "srtp/crypto/include/null_cipher.h", 113 "srtp/crypto/include/null_cipher.h",
114 "srtp/crypto/include/prng.h", 114 "srtp/crypto/include/prng.h",
115 "srtp/crypto/include/rand_source.h", 115 "srtp/crypto/include/rand_source.h",
116 "srtp/crypto/include/rdb.h", 116 "srtp/crypto/include/rdb.h",
117 "srtp/crypto/include/rdbx.h", 117 "srtp/crypto/include/rdbx.h",
118 "srtp/crypto/include/sha1.h", 118 "srtp/crypto/include/sha1.h",
119 "srtp/crypto/include/stat.h", 119 "srtp/crypto/include/stat.h",
120 "srtp/crypto/include/xfm.h", 120 "srtp/crypto/include/xfm.h",
121 121
122 # sources 122 # sources
123 "srtp/srtp/ekt.c",
124 "srtp/srtp/srtp.c",
125 "srtp/crypto/cipher/aes.c", 123 "srtp/crypto/cipher/aes.c",
126 "srtp/crypto/cipher/aes_cbc.c", 124 "srtp/crypto/cipher/aes_cbc.c",
127 "srtp/crypto/cipher/aes_icm.c", 125 "srtp/crypto/cipher/aes_icm.c",
128 "srtp/crypto/cipher/cipher.c", 126 "srtp/crypto/cipher/cipher.c",
129 "srtp/crypto/cipher/null_cipher.c", 127 "srtp/crypto/cipher/null_cipher.c",
130 "srtp/crypto/hash/auth.c", 128 "srtp/crypto/hash/auth.c",
131 "srtp/crypto/hash/hmac.c", 129 "srtp/crypto/hash/hmac.c",
132 "srtp/crypto/hash/null_auth.c", 130 "srtp/crypto/hash/null_auth.c",
133 "srtp/crypto/hash/sha1.c", 131 "srtp/crypto/hash/sha1.c",
134 "srtp/crypto/kernel/alloc.c", 132 "srtp/crypto/kernel/alloc.c",
135 "srtp/crypto/kernel/crypto_kernel.c", 133 "srtp/crypto/kernel/crypto_kernel.c",
136 "srtp/crypto/kernel/err.c", 134 "srtp/crypto/kernel/err.c",
137 "srtp/crypto/kernel/key.c", 135 "srtp/crypto/kernel/key.c",
138 "srtp/crypto/math/datatypes.c", 136 "srtp/crypto/math/datatypes.c",
139 "srtp/crypto/math/gf2_8.c", 137 "srtp/crypto/math/gf2_8.c",
140 "srtp/crypto/math/stat.c", 138 "srtp/crypto/math/stat.c",
141 "srtp/crypto/replay/rdb.c", 139 "srtp/crypto/replay/rdb.c",
142 "srtp/crypto/replay/rdbx.c", 140 "srtp/crypto/replay/rdbx.c",
143 "srtp/crypto/replay/ut_sim.c", 141 "srtp/crypto/replay/ut_sim.c",
144 "srtp/crypto/rng/ctr_prng.c", 142 "srtp/crypto/rng/ctr_prng.c",
145 "srtp/crypto/rng/prng.c", 143 "srtp/crypto/rng/prng.c",
146 "srtp/crypto/rng/rand_source.c", 144 "srtp/crypto/rng/rand_source.c",
145 "srtp/srtp/ekt.c",
146 "srtp/srtp/srtp.c",
147 ] 147 ]
148 148
149 if (is_clang) { 149 if (is_clang) {
150 cflags = [ "-Wno-implicit-function-declaration" ] 150 cflags = [ "-Wno-implicit-function-declaration" ]
151 } 151 }
152 } 152 }
153 153
154 # TODO(GYP): A bunch of these tests don't compile (in gyp either). They're 154 # TODO(GYP): A bunch of these tests don't compile (in gyp either). They're
155 # not very broken, so could probably be made to work if it's useful. 155 # not very broken, so could probably be made to work if it's useful.
156 if (!is_win) { 156 if (!is_win) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 ] 207 ]
208 } 208 }
209 209
210 executable("rtpw") { 210 executable("rtpw") {
211 configs -= [ "//build/config/compiler:chromium_code" ] 211 configs -= [ "//build/config/compiler:chromium_code" ]
212 configs += [ "//build/config/compiler:no_chromium_code" ] 212 configs += [ "//build/config/compiler:no_chromium_code" ]
213 deps = [ 213 deps = [
214 ":libsrtp", 214 ":libsrtp",
215 ] 215 ]
216 sources = [ 216 sources = [
217 "srtp/crypto/include/datatypes.h",
217 "srtp/include/getopt_s.h", 218 "srtp/include/getopt_s.h",
218 "srtp/include/rtp.h", 219 "srtp/include/rtp.h",
219 "srtp/include/srtp.h", 220 "srtp/include/srtp.h",
220 "srtp/crypto/include/datatypes.h",
221 "srtp/test/getopt_s.c", 221 "srtp/test/getopt_s.c",
222 "srtp/test/rtp.c", 222 "srtp/test/rtp.c",
223 "srtp/test/rtpw.c", 223 "srtp/test/rtpw.c",
224 ] 224 ]
225 if (is_android) { 225 if (is_android) {
226 defines = [ "HAVE_SYS_SOCKET_H" ] 226 defines = [ "HAVE_SYS_SOCKET_H" ]
227 } 227 }
228 if (is_clang) { 228 if (is_clang) {
229 cflags = [ "-Wno-implicit-function-declaration" ] 229 cflags = [ "-Wno-implicit-function-declaration" ]
230 } 230 }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ":srtp_test_stat_driver", 330 ":srtp_test_stat_driver",
331 ":srtp_test_sha1_driver", 331 ":srtp_test_sha1_driver",
332 ":srtp_test_kernel_driver", 332 ":srtp_test_kernel_driver",
333 ":srtp_test_aes_calc", 333 ":srtp_test_aes_calc",
334 ":srtp_test_rand_gen", 334 ":srtp_test_rand_gen",
335 ":srtp_test_env", 335 ":srtp_test_env",
336 ] 336 ]
337 } 337 }
338 } 338 }
339 } 339 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698