diff options
-rw-r--r-- | Android.bp | 16 | ||||
-rw-r--r-- | pffft_priv_impl.h | 1 |
2 files changed, 15 insertions, 2 deletions
@@ -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; } |