aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp16
-rw-r--r--pffft_priv_impl.h1
2 files changed, 15 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 611260e..d953669 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,12 +1,24 @@
cc_library_static {
name: "libpffft",
+ // vendor needed for libpreprocessing effects.
+ vendor: true,
srcs: [
"pffft.c",
- "pffft_common.c",
+ "pffft_common.c",
],
local_include_dirs: ["."],
export_include_dirs: ["."],
host_supported: true,
- device_supported: false,
visibility: ["//external/webrtc:__subpackages__"],
+ cflags: [
+ "-Wno-#pragma-messages",
+ ],
+ arch: {
+ arm: {
+ cflags: ["-DPFFFT_ENABLE_NEON"],
+ },
+ arm64: {
+ cflags: ["-DPFFFT_ENABLE_NEON"],
+ },
+ },
}
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;
}