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

libsrtp.gyp: add back conditions to define CPU_CISC:

- Otherwise aes.c does not define internal functions.
上级 e53b4102
...@@ -51,6 +51,22 @@ ...@@ -51,6 +51,22 @@
'HAVE_WINSOCK2_H', 'HAVE_WINSOCK2_H',
], ],
}], }],
[ 'target_arch == "x64" or target_arch == "ia32"', {
'defines': [
'CPU_CISC',
],
}],
[ 'target_arch == "arm" or target_arch == "arm64" \
or target_arch == "mipsel" or target_arch == "mips64el"', {
'defines': [
# TODO(leozwang): CPU_RISC doesn't work properly on android/arm and
# mips platforms for unknown reasons, need to investigate the root
# cause of it. CPU_RISC is used for optimization only, and CPU_CISC
# should just work just fine, it has been tested on android/arm with
# srtp test applications and libjingle.
'CPU_CISC',
],
}],
], ],
'include_dirs': [ 'include_dirs': [
'./config', './config',
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论