summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-05-17 17:35:04 -0700
committerElliott Hughes <enh@google.com>2012-05-17 17:35:04 -0700
commitd6f70187df96e4f1968adbe9b52035dc474b7590 (patch)
treeb2f06d1d236810767e06751e5a34ebb9fda3b8ee
parentcaf5670525abbd6b98e11bb98c620932cf795624 (diff)
downloadgcc-demangle-d6f70187df96e4f1968adbe9b52035dc474b7590.tar.gz
Change-Id: Ia47ed7553c8788aaa0cd51aca9a9fa1ca60bffc9
-rw-r--r--Android.mk28
1 files changed, 24 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index e01bdcf..2d11071 100644
--- a/Android.mk
+++ b/Android.mk
@@ -13,12 +13,11 @@
# limitations under the License.
LOCAL_PATH:= $(call my-dir)
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := cp-demangle.c
-
LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3
-
LOCAL_MODULE := libgccdemangle
LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false
@@ -27,13 +26,34 @@ include $(BUILD_SHARED_LIBRARY)
##########################
-#LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := cp-demangle.c
+LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3
+LOCAL_MODULE := libgccdemangle
+LOCAL_MODULE_TAGS := optional
+LOCAL_PRELINK_MODULE := false
+
+include $(BUILD_HOST_SHARED_LIBRARY)
+
+##########################
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := test.c
LOCAL_SHARED_LIBRARIES := libgccdemangle
-
LOCAL_MODULE := gccdemangle_test
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
+
+##########################
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := test.c
+LOCAL_SHARED_LIBRARIES := libgccdemangle
+LOCAL_MODULE := gccdemangle_test
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_HOST_EXECUTABLE)