Always use Neon.
This library cannot be built without Neon. The NDK sysroot build
generates non-Neon artifacts but also needs to build this library to
perform ABI checking. This is only the implementation and not a
component distributed with the NDK, so it's not important that this be
built non-Neon.
Test: build/soong/scripts/build-ndk-prebuilts.sh
Bug: http://b/156513478
Change-Id: If3ff6be7ad53cbdcc32ac8a0baa2f98f78c646ad
diff --git a/Android.bp b/Android.bp
index 5e0d28f..02e2d11 100644
--- a/Android.bp
+++ b/Android.bp
@@ -128,7 +128,7 @@
"simd/arm/jidctred-neon.c",
"simd/arm/jquanti-neon.c",
],
- cflags: ["-DNEON_INTRINSICS"],
+ cflags: ["-DNEON_INTRINSICS", "-mfpu=neon"],
local_include_dirs: ["simd/arm"],
},
arm64: {