diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2020-09-22 21:39:23 -0700 |
---|---|---|
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2020-09-29 22:34:09 +0000 |
commit | 799b56163f06cc94afa309e3c408855df6555b99 (patch) | |
tree | 0b73f1655ef386e1b94fcc4218810bc506aa8c3e | |
parent | 8d3268f7f7ac1866034da12498bfc9c9af2d36c9 (diff) | |
download | pffft-799b56163f06cc94afa309e3c408855df6555b99.tar.gz |
Enable device builds for libpffft
Bug: 169202556
Test: Builds
Change-Id: I8eb3fdde07043779464301350af5a756f5c808f9
-rw-r--r-- | Android.bp | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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"], }, |