Update the SDK version of Scrypt
It's relying on posix_memalign, which is only available as of SDK
version 17 (the ndk headers say 16, but I'm told that's a bug
that'll be fixed soon).
Originally complained about by the static analyzer (and, presumably,
clang):
external/scrypt/lib/crypto/crypto_scrypt-neon.c:228:15: warning:
implicit declaration of function 'posix_memalign' is invalid in C99
[-Wimplicit-function-declaration]
Bug: None
Test: Builds on internal master without complaining about
posix_memalign being implicitly declared.
Change-Id: I5d9ecd79e0fb2372c92076bbf86e334132fb088f
diff --git a/Android.bp b/Android.bp
index 34c0718..b396340 100644
--- a/Android.bp
+++ b/Android.bp
@@ -20,7 +20,7 @@
name: "libscrypt_static",
defaults: ["libscrypt_sources"],
shared_libs: ["libcrypto"],
- sdk_version: "9",
+ sdk_version: "17",
host_supported: true,
vendor_available: true,
}