summaryrefslogtreecommitdiff
path: root/crypto-perf/Android.mk
diff options
context:
space:
mode:
authorSrinath Sridharan <srinathsr@google.com>2016-03-10 10:22:30 -0800
committerSrinath Sridharan <srinathsr@google.com>2016-03-10 13:29:26 -0800
commit9627638747d7418dc3be9617a99a33c688e3bf87 (patch)
treebbd420c46c63c8c881bc51ead9ef0aed8c87df73 /crypto-perf/Android.mk
parentde1e5fc187f1fa6037f65a3d59805b23b8836660 (diff)
downloadextras-9627638747d7418dc3be9617a99a33c688e3bf87.tar.gz
Crypto performance benchmark
This reverts commit 39087e3740095e1851b0fcf1988c1c0881a208b6. And adds the respective fix. Change-Id: I1f70211c77f892c6252cf5e05e5e52d6c63e2293
Diffstat (limited to 'crypto-perf/Android.mk')
-rw-r--r--crypto-perf/Android.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/crypto-perf/Android.mk b/crypto-perf/Android.mk
new file mode 100644
index 00000000..291aca12
--- /dev/null
+++ b/crypto-perf/Android.mk
@@ -0,0 +1,13 @@
+LOCAL_PATH := $(call my-dir)
+ifeq ($(TARGET_ARCH),arm64)
+include $(CLEAR_VARS)
+
+LOCAL_CFLAGS := -O0 -march=armv8-a+crypto
+LOCAL_SRC_FILES := crypto.cpp
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+LOCAL_MODULE_TAGS := debug
+LOCAL_MODULE := crypto
+
+include $(BUILD_EXECUTABLE)
+endif