aboutsummaryrefslogtreecommitdiff
path: root/test/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'test/Android.mk')
-rw-r--r--test/Android.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/Android.mk b/test/Android.mk
new file mode 100644
index 0000000..accde21
--- /dev/null
+++ b/test/Android.mk
@@ -0,0 +1,28 @@
+LOCAL_PATH := $(call my-dir)
+ifeq ($(HOST_OS), linux)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libxmlrpc++-tests-helloserver
+
+LOCAL_CPPFLAGS := -Wall -fexceptions
+LOCAL_C_INCLUDES = $(LOCAL_PATH)/../src
+LOCAL_SHARED_LIBRARIES := libxmlrpc++
+
+xmlrpc_test_files := $(LOCAL_PATH)/HelloServer.cpp
+LOCAL_SRC_FILES := \
+ $(xmlrpc_test_files:$(LOCAL_PATH)/%=%)
+include $(BUILD_EXECUTABLE)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libxmlrpc++-tests-helloclient
+
+LOCAL_CPPFLAGS := -Wall -fexceptions
+LOCAL_C_INCLUDES = $(LOCAL_PATH)/../src
+LOCAL_SHARED_LIBRARIES := libxmlrpc++
+
+xmlrpc_test_files := $(LOCAL_PATH)/HelloClient.cpp
+LOCAL_SRC_FILES := \
+ $(xmlrpc_test_files:$(LOCAL_PATH)/%=%)
+include $(BUILD_EXECUTABLE)
+
+endif # HOST_OS == linux