diff options
author | Jiyong Park <jiyong@google.com> | 2020-09-18 16:29:45 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-09-18 16:30:28 +0900 |
commit | 94eba54edf21ad52dbd10472a1217354008477ff (patch) | |
tree | 0cd6e082b7e30a9f4838c3bf79878bf0e89f5bdf | |
parent | c98c3a1663412b0851813c6f9fc65a07a13e2adb (diff) | |
download | pffft-94eba54edf21ad52dbd10472a1217354008477ff.tar.gz |
Support linux_bionic_arm64 target.
SIMD is disabled because we cannot sure if the arm host supports neon or
not.
Also, fixed a -Wunused-parameter error which is enforced for the new
target.
Bug: 159685774
Test: HOST_CROSS_OS=linux_bionic HOST_CROSS_ARCH=arm64 m \
out/soong/host/linux_bionic-arm64/bin/webRTC
Change-Id: I7cc502f8a178120c27d9813e2fff3bc3b0f03af2
-rw-r--r-- | Android.bp | 5 | ||||
-rw-r--r-- | pffft_priv_impl.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -9,4 +9,9 @@ cc_library_static { host_supported: true, device_supported: false, visibility: ["//external/webrtc:__subpackages__"], + target: { + linux_bionic_arm64: { + cflags: ["-DPFFFT_SIMD_DISABLE"], + }, + }, } diff --git a/pffft_priv_impl.h b/pffft_priv_impl.h index 36cae59..8d87561 100644 --- a/pffft_priv_impl.h +++ b/pffft_priv_impl.h @@ -2182,6 +2182,7 @@ void FUNC_VALIDATE_SIMD_A() int FUNC_VALIDATE_SIMD_EX(FILE * DbgOut) { + (void)DbgOut; return -1; } |