aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-09-22 03:10:44 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-22 03:10:44 +0000
commit50045cc2ff1ad1bc60af009ae9b66df1779c3269 (patch)
tree0cd6e082b7e30a9f4838c3bf79878bf0e89f5bdf
parentc98c3a1663412b0851813c6f9fc65a07a13e2adb (diff)
parent65a8defdd60e50d277ecd4275ac436d36df80233 (diff)
downloadpffft-50045cc2ff1ad1bc60af009ae9b66df1779c3269.tar.gz
Support linux_bionic_arm64 target. am: 94eba54edf am: 65a8defdd6
Original change: https://android-review.googlesource.com/c/platform/external/pffft/+/1429906 Change-Id: I7c2e0643b6f0d856816fcb0dea6aabcaae7c87fb
-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;
}