diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2015-02-25 14:12:30 -0800 |
---|---|---|
committer | Mohamad Ayyash <mkayyash@google.com> | 2015-02-25 14:22:50 -0800 |
commit | 49f9b96255588932ee6d0c33e4c546d7475e5898 (patch) | |
tree | 45ca3548fc7cbe815422214506604f19868ab4c1 | |
parent | 6a8d8f0d33b12adbbab08d2780ebcc81a978a7f4 (diff) | |
download | android_external_lz4-49f9b96255588932ee6d0c33e4c546d7475e5898.tar.gz android_external_lz4-49f9b96255588932ee6d0c33e4c546d7475e5898.tar.bz2 android_external_lz4-49f9b96255588932ee6d0c33e4c546d7475e5898.zip |
lz4: Add Android.mk file to build as a host static library
Change-Id: If9b3cbe3d20ba486aeb1529a07770ee82af66723
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
-rw-r--r-- | Android.mk | 5 | ||||
-rw-r--r-- | lib/Android.mk | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..d81662e --- /dev/null +++ b/Android.mk @@ -0,0 +1,5 @@ +# Copyright (C) 2015 The Android Open Source Project + +LOCAL_PATH:= $(call my-dir) + +include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/lib/Android.mk b/lib/Android.mk new file mode 100644 index 0000000..6817b20 --- /dev/null +++ b/lib/Android.mk @@ -0,0 +1,10 @@ +# Copyright (C) 2015 The Android Open Source Project + +LOCAL_PATH:= $(call my-dir) + +liblz4_src_files := lz4.c lz4hc.c lz4frame.c xxhash.c + +include $(CLEAR_VARS) +LOCAL_MODULE := liblz4 +LOCAL_SRC_FILES := $(liblz4_src_files) +include $(BUILD_HOST_STATIC_LIBRARY) |