summaryrefslogtreecommitdiffstats
path: root/test/test-platform
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2012-05-04 16:55:10 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:09 +0100
commit391afd47f41dd36d14c7dd60fcfa2ece9bd90442 (patch)
treea88604b43b6ad0bdac4bc3c5d0ca12c75ec662ca /test/test-platform
parent8bd2757c16afd5e31bf38c93ce09ba833bba8052 (diff)
downloadexternal_parameter-framework-391afd47f41dd36d14c7dd60fcfa2ece9bd90442.zip
external_parameter-framework-391afd47f41dd36d14c7dd60fcfa2ece9bd90442.tar.gz
external_parameter-framework-391afd47f41dd36d14c7dd60fcfa2ece9bd90442.tar.bz2
PFW: Make test-platform run on android
BZ: 34880 For routing testing purpose, the PFW test program : test-platform needs to run on the target. Change-Id: Iab8d8baf42a5db99550e1cba921f80fdb0a69374 Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: http://android.intel.com:8080/47500 Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com> Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'test/test-platform')
-rw-r--r--test/test-platform/Android.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/test-platform/Android.mk b/test/test-platform/Android.mk
new file mode 100644
index 0000000..cf8ed39
--- /dev/null
+++ b/test/test-platform/Android.mk
@@ -0,0 +1,38 @@
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_PATH :=
+
+
+LOCAL_SRC_FILES:= \
+ main.cpp \
+ TestPlatform.cpp
+
+
+LOCAL_MODULE:= test-platform
+
+LOCAL_MODULE_TAGS := optional
+
+TARGET_ERROR_FLAGS += -Wno-non-virtual-dtor
+
+LOCAL_C_INCLUDES += \
+ external/stlport/stlport/ \
+ bionic/libstdc++ \
+ bionic/
+
+LOCAL_C_INCLUDES += \
+ $(LOCAL_PATH)/../../parameter \
+ $(LOCAL_PATH)/../../remote-processor/
+
+LOCAL_SHARED_LIBRARIES := \
+ libparameter \
+ libremote-processor
+
+LOCAL_STATIC_LIBRARIES :=
+
+LOCAL_LDLIBS +=
+LOCAL_LDFLAGS +=
+
+include $(BUILD_EXECUTABLE)
+