summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xz-embedded/Android.mk10
-rw-r--r--xz-embedded/xz_config.h6
2 files changed, 11 insertions, 5 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)
diff --git a/xz-embedded/xz_config.h b/xz-embedded/xz_config.h
index eb9dac1..8b88c52 100644
--- a/xz-embedded/xz_config.h
+++ b/xz-embedded/xz_config.h
@@ -14,11 +14,11 @@
/* #define XZ_USE_CRC64 */
/* Uncomment as needed to enable BCJ filter decoders. */
-/* #define XZ_DEC_X86 */
+#define XZ_DEC_X86
/* #define XZ_DEC_POWERPC */
/* #define XZ_DEC_IA64 */
-/* #define XZ_DEC_ARM */
-/* #define XZ_DEC_ARMTHUMB */
+#define XZ_DEC_ARM
+#define XZ_DEC_ARMTHUMB
/* #define XZ_DEC_SPARC */
/*