summaryrefslogtreecommitdiffstats
path: root/xz-embedded/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'xz-embedded/Android.mk')
-rw-r--r--xz-embedded/Android.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/xz-embedded/Android.mk b/xz-embedded/Android.mk
index 6782b24..20dd88f 100644
--- a/xz-embedded/Android.mk
+++ b/xz-embedded/Android.mk
@@ -2,14 +2,20 @@
#
LOCAL_PATH := $(call my-dir)
+xz_embedded_sources := \
+ xz_crc32.c \
+ xz_dec_bcj.c \
+ xz_dec_lzma2.c \
+ xz_dec_stream.c
+
include $(CLEAR_VARS)
LOCAL_MODULE := libxz
-LOCAL_SRC_FILES := xz_crc32.c xz_dec_lzma2.c xz_dec_stream.c
+LOCAL_SRC_FILES := $(xz_embedded_sources)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libxz-host
-LOCAL_SRC_FILES := xz_crc32.c xz_dec_lzma2.c xz_dec_stream.c
+LOCAL_SRC_FILES := $(xz_embedded_sources)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
include $(BUILD_HOST_STATIC_LIBRARY)