aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2020-10-01 08:19:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-10-01 08:19:36 +0000
commit16dd68da79033f2edb71963853ba9ec0f4295821 (patch)
tree0b73f1655ef386e1b94fcc4218810bc506aa8c3e
parent7bce0ec9b2c8e32ad820fdd999934691915819ff (diff)
parent7b316df25dc0dc688bb663d86283223c0cb97a64 (diff)
downloadpffft-16dd68da79033f2edb71963853ba9ec0f4295821.tar.gz
Enable device builds for libpffft am: 799b56163f am: 9a2f7db0f1 am: 945ea3c4c5 am: 7b316df25d
Original change: https://android-review.googlesource.com/c/platform/external/pffft/+/1435111 Change-Id: I4fe93759d5c7e560dd975fd2e331020deaef98b4
-rw-r--r--Android.bp9
1 files changed, 8 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index dad90bb..d953669 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,7 @@
cc_library_static {
name: "libpffft",
+ // vendor needed for libpreprocessing effects.
+ vendor: true,
srcs: [
"pffft.c",
"pffft_common.c",
@@ -7,9 +9,14 @@ cc_library_static {
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"],
},