Andreas Huber | c5a5f74 | 2019-09-16 14:22:23 -0700 | [diff] [blame] | 1 | cc_library_static { |
| 2 | host_supported: true, |
Andreas Huber | a9778f7 | 2019-08-20 09:26:33 -0700 | [diff] [blame] | 3 | name: "libsrtp2", |
| 4 | srcs: [ |
| 5 | "crypto/cipher/aes.c", |
| 6 | "crypto/cipher/aes_icm.c", |
| 7 | "crypto/cipher/cipher.c", |
| 8 | "crypto/cipher/null_cipher.c", |
| 9 | "crypto/hash/auth.c", |
| 10 | "crypto/hash/hmac.c", |
| 11 | "crypto/hash/null_auth.c", |
| 12 | "crypto/hash/sha1.c", |
| 13 | "crypto/kernel/alloc.c", |
| 14 | "crypto/kernel/crypto_kernel.c", |
| 15 | "crypto/kernel/err.c", |
| 16 | "crypto/kernel/key.c", |
| 17 | "crypto/math/datatypes.c", |
| 18 | "crypto/math/stat.c", |
| 19 | "crypto/replay/rdb.c", |
| 20 | "crypto/replay/rdbx.c", |
| 21 | "crypto/replay/ut_sim.c", |
| 22 | "srtp/ekt.c", |
| 23 | "srtp/srtp.c", |
| 24 | ], |
| 25 | local_include_dirs: [ |
| 26 | "crypto/include", |
| 27 | "include", |
| 28 | ], |
| 29 | cflags: [ |
| 30 | "-Wno-unused-parameter", |
| 31 | "-Wno-implicit-function-declaration", |
| 32 | "-DHAVE_CONFIG_H", |
| 33 | ], |
| 34 | export_include_dirs: [ |
| 35 | "exported_include", |
| 36 | ], |
| 37 | } |