summaryrefslogtreecommitdiff
path: root/android-config.mk
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2013-06-11 16:36:54 -0700
committerKenny Root <kroot@google.com>2013-06-12 11:44:41 -0700
commit5fd6d3161cc7407718c7e230f94db421543273b8 (patch)
tree8571d4956103987a70096c55d1bf785c9b69d738 /android-config.mk
parent6647e7567bfbcccf0952ff79da8b2ab809f2ed0e (diff)
downloadscrypt-5fd6d3161cc7407718c7e230f94db421543273b8.tar.gz
Import initial version of scrypt library
Change-Id: Idcc14fed4878763ad26855cd99c5e6093ab5b3dd
Diffstat (limited to 'android-config.mk')
-rw-r--r--android-config.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/android-config.mk b/android-config.mk
new file mode 100644
index 0000000..326e113
--- /dev/null
+++ b/android-config.mk
@@ -0,0 +1,16 @@
+#
+# These flags represent the build-time configuration of scrypt for Android
+#
+# The value of $(scrypt_cflags) was pruned from the Makefile generated
+# by running ./configure from import_scrypt.sh.
+#
+# This script performs minor but required patching for the Android build.
+#
+
+LOCAL_CFLAGS += $(scrypt_cflags)
+
+# Add in flags to let config.h be read properly
+LOCAL_CFLAGS += "-DHAVE_CONFIG_H"
+
+# Add clang here when it works on host
+# LOCAL_CLANG := true