提交 e53b4102 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

libsrtp 2.3.0 (issue #353 in Windows):

- Modernize our libsrtp.gyp based on new BUILD.gn in Chromium.
- libsrtp.gyp: Don't include "test" and other targets.
- Assume HAVE_INTTYPES_H and HAVE_INT8_T, etc. in Windows.
上级 04c516ef
gyp stuff for libsrtp taken from Chromium project:
https://chromium.googlesource.com/chromium/deps/libsrtp/+/master/
# libsrtp dependency for mediasoup
Here we provide our own `libsrtp.gyp` for mediasoup which is inspired by the corresponding file in Chromium sources. However, Chromium has migrated from GYP to GN:
* https://chromium.googlesource.com/chromium/deps/libsrtp/+/master/BUILD.gn
## IMPORTANT
When the `libsrtp` dependency is updated to a new version, we must update according the `config/config.h` file which defines C macros with the new version.
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
// This is a stub config.h for libSRTP. It doesn't define anything besides // This is a stub config.h for libSRTP. It doesn't define anything besides
// version number strings because the build is configured by libsrtp.gyp. // version number strings because the build is configured by libsrtp.gyp.
#define PACKAGE_STRING "libsrtp 2.0.0" #define PACKAGE_STRING "libsrtp 2.3.0"
#define PACKAGE_VERSION "2.0.0" #define PACKAGE_VERSION "2.3.0"
#if defined(_MSC_VER) && !defined(__cplusplus) #if defined(_MSC_VER) && !defined(__cplusplus)
// Microsoft provides "inline" only for C++ code // Microsoft provides "inline" only for C++ code
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论