aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2020-10-01 07:40:49 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-10-01 07:40:49 +0000
commit945ea3c4c52b1d828081ed9a19665a2485f81875 (patch)
tree0b73f1655ef386e1b94fcc4218810bc506aa8c3e
parentebdae0d96758a92b92c3ce6c2b04f0e29397d69e (diff)
parent9a2f7db0f12cc932abfb40aa248e4a925ec67523 (diff)
downloadpffft-945ea3c4c52b1d828081ed9a19665a2485f81875.tar.gz
Enable device builds for libpffft am: 799b56163f am: 9a2f7db0f1
Original change: https://android-review.googlesource.com/c/platform/external/pffft/+/1435111 Change-Id: Iad7af7debd870117a5b130b2be63129fbd3bb31d
-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"],
},