diff options
author | Dan Albert <danalbert@google.com> | 2021-06-01 16:56:02 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2021-06-01 16:56:02 -0700 |
commit | 1e1fb3d684ee79ab869581e9bf06e43be39f5138 (patch) | |
tree | de2f5d8f52ffe0d0f9a70ea3e22fae6caf7e3c82 | |
parent | 9e24a0d95edc48ef21e36f43b772e0caa7975154 (diff) | |
download | libyuv-1e1fb3d684ee79ab869581e9bf06e43be39f5138.tar.gz |
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
-rw-r--r-- | files/Android.bp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/files/Android.bp b/files/Android.bp index c1aa8c67..20b8c234 100644 --- a/files/Android.bp +++ b/files/Android.bp @@ -86,6 +86,12 @@ cc_library { "-DHAVE_JPEG", ], + arch: { + arm: { + cflags: ["-mfpu=neon"], + }, + }, + shared_libs: ["libjpeg"], export_include_dirs: ["include"], |