aboutsummaryrefslogtreecommitdiff
path: root/libregex/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libregex/Android.mk')
-rw-r--r--libregex/Android.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/libregex/Android.mk b/libregex/Android.mk
new file mode 100644
index 0000000..3303869
--- /dev/null
+++ b/libregex/Android.mk
@@ -0,0 +1,20 @@
+LOCAL_PATH:= $(call my-dir)
+
+# Build libregex on host
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ op_regex.cpp \
+ demangle_symbol.cpp \
+ demangle_java_symbol.cpp
+
+LOCAL_C_INCLUDES := \
+ external/oprofile \
+ external/oprofile/libutil++
+
+LOCAL_CFLAGS := -fexceptions -DANDROID_HOST
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := libop_regex
+
+include $(BUILD_HOST_STATIC_LIBRARY)
+