diff options
author | Logan Chien <loganchien@google.com> | 2017-08-31 15:38:01 +0800 |
---|---|---|
committer | Logan Chien <loganchien@google.com> | 2017-09-12 14:34:44 +0800 |
commit | ee1d014f108d3578425ce594c636be211c50ecfb (patch) | |
tree | 090e2efe19c843ffd7475c70079c05bc9f643b7e /scrypt.config | |
parent | 629ed239a9d27f2b58697ef48d7a12c81e5d74cf (diff) | |
download | scrypt-ee1d014f108d3578425ce594c636be211c50ecfb.tar.gz |
Convert Android.mk to Android.bp
This commit converts Android.mk, android-config.mk, Scrypt.mk, and
Scrypt-config.mk files to an Android.bp file.
If BOARD_VNDK_VERSION is set to current, vendor modules won't be allowed
to link libscrypt_static. To make libscrypt_static available to vendor
modules, we have to set vendor_available to true. However,
vendor_available is an Android.bp feature, thus we have to convert
Android.mk to Android.bp first.
Bug: 65425184
Test: mm -j8 && adb sync && adb shell /data/nativetest/scrypt_test/scrypt_test
Test: mm -j8 && adb sync && \
adb shell /data/nativetest64/scrypt_test/scrypt_test
Change-Id: I8e901b0b1bec172d5e57f529ca76eae1c57def6a
Diffstat (limited to 'scrypt.config')
-rw-r--r-- | scrypt.config | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scrypt.config b/scrypt.config index bcb158d..8099182 100644 --- a/scrypt.config +++ b/scrypt.config @@ -34,8 +34,16 @@ lib \ scrypt_platform.h \ " -SCRYPT_INCLUDES="\ +SCRYPT_CFLAGS="\ +-DHAVE_CONFIG_H \ +-DUSE_OPENSSL_PBKDF2 \ +" + +SCRYPT_EXPORT_C_INCLUDE_DIRS="\ lib/crypto \ +" + +SCRYPT_INCLUDES="\ lib/util \ " |