aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-09-18 16:29:45 +0900
committerJiyong Park <jiyong@google.com>2020-09-18 16:30:28 +0900
commit94eba54edf21ad52dbd10472a1217354008477ff (patch)
tree0cd6e082b7e30a9f4838c3bf79878bf0e89f5bdf
parentc98c3a1663412b0851813c6f9fc65a07a13e2adb (diff)
downloadpffft-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.bp5
-rw-r--r--pffft_priv_impl.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 611260e..1bd09c0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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;
}