diff options
author | Elliott Hughes <enh@google.com> | 2011-07-13 17:40:06 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-05-03 15:58:51 -0700 |
commit | 85d7cece2e1f73b30c9b8f396cfeb7bf20e94659 (patch) | |
tree | 5871200b66fc040b15f912fd66d51e1b153ae4e9 | |
parent | 28304159f2fea1f702929883c634e52755d6e74b (diff) | |
download | expat-85d7cece2e1f73b30c9b8f396cfeb7bf20e94659.tar.gz |
Make a libexpat.so for the host too.
(cherry picked from commit d05e49b92ad51d34f044f7bb47b91355833d1543)
Change-Id: Ic5024521193faba36b740cc438f73f114f739745
-rw-r--r-- | Android.mk | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -39,6 +39,24 @@ LOCAL_COPY_HEADERS := $(common_COPY_HEADERS) include $(BUILD_HOST_STATIC_LIBRARY) +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(common_SRC_FILES) +LOCAL_CFLAGS += $(common_CFLAGS) +LOCAL_C_INCLUDES += $(common_C_INCLUDES) + +ifeq ($(HOST_OS),darwin) + LOCAL_CFLAGS += -fno-common +endif + +LOCAL_MODULE:= libexpat +LOCAL_MODULE_TAGS := optional +LOCAL_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO) +LOCAL_COPY_HEADERS := $(common_COPY_HEADERS) + +include $(BUILD_HOST_SHARED_LIBRARY) + + # For the device # ===================================================== |