summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:23 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:23 -0800
commitf062c26c3f3a2e17d8d0a1280503efe008ce3d89 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /Android.mk
parentda44bf784a2b6acb5df7f40b32c0d4b563fba3ed (diff)
downloadexpat-f062c26c3f3a2e17d8d0a1280503efe008ce3d89.tar.gz
auto import from //depot/cupcake/@135843
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk57
1 files changed, 0 insertions, 57 deletions
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 08cd0e7e..00000000
--- a/Android.mk
+++ /dev/null
@@ -1,57 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-
-# We need to build this for both the device (as a shared library)
-# and the host (as a static library for tools to use).
-
-common_SRC_FILES := \
- lib/xmlparse.c \
- lib/xmlrole.c \
- lib/xmltok.c
-
-common_CFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H
-
-common_C_INCLUDES += \
- $(LOCAL_PATH)/lib
-
-common_COPY_HEADERS_TO := libexpat
-common_COPY_HEADERS := \
- lib/expat.h \
- lib/expat_external.h
-
-# For the host
-# =====================================================
-
-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_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO)
-LOCAL_COPY_HEADERS := $(common_COPY_HEADERS)
-
-include $(BUILD_HOST_STATIC_LIBRARY)
-
-
-# For the device
-# =====================================================
-
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := $(common_SRC_FILES)
-LOCAL_CFLAGS += $(common_CFLAGS)
-LOCAL_C_INCLUDES += $(common_C_INCLUDES)
-
-LOCAL_MODULE:= libexpat
-
-LOCAL_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO)
-LOCAL_COPY_HEADERS := $(common_COPY_HEADERS)
-
-include $(BUILD_SHARED_LIBRARY)
-