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