summaryrefslogtreecommitdiffstats
path: root/xz-embedded/Android.mk
blob: 20dd88f47a573230231cbd22ca12dd7df8b2aad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013 The Android Open Source Project
#
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_embedded_sources)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
include $(BUILD_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := libxz-host
LOCAL_SRC_FILES := $(xz_embedded_sources)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
include $(BUILD_HOST_STATIC_LIBRARY)