From 6720fe35f86b69713c92e1839bc89203f5236c4c Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Tue, 3 Apr 2018 15:33:13 -0700 Subject: 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 --- Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 34c0718..b396340 100644 --- a/Android.bp +++ b/Android.bp @@ -20,7 +20,7 @@ cc_library_static { name: "libscrypt_static", defaults: ["libscrypt_sources"], shared_libs: ["libcrypto"], - sdk_version: "9", + sdk_version: "17", host_supported: true, vendor_available: true, } -- cgit v1.2.3