aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-09-22 04:53:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-22 04:53:32 +0000
commit5b345833bdebb37af4f5495bd3f13a587a5d9260 (patch)
tree0cd6e082b7e30a9f4838c3bf79878bf0e89f5bdf
parenta6a00d3728da4846f01df92a068f6a703e82dbf1 (diff)
parentb23b68281e039a3eabbc3ca95b557cfeaef0b358 (diff)
downloadpffft-5b345833bdebb37af4f5495bd3f13a587a5d9260.tar.gz
Support linux_bionic_arm64 target. am: 94eba54edf am: 65a8defdd6 am: 50045cc2ff am: b104401591 am: b23b68281e
Original change: https://android-review.googlesource.com/c/platform/external/pffft/+/1429906 Change-Id: Icb7b4204ef54e3bcdf39740c297a312469330fd1
-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;
}