aboutsummaryrefslogtreecommitdiff
path: root/suspend
diff options
context:
space:
mode:
authorkejun.zhou <kejun.zhou@linaro.org>2012-05-31 14:49:27 +0800
committerhongbo.zhang <hongbo.zhang@linaro.com>2012-11-28 17:10:26 +0800
commitc0352d49bea35700d4d7fb940978f4722aad1e87 (patch)
treeb3293284db97b6bed638c4383a4472f92682a771 /suspend
parent4a252ac2ad79531d4fd76f318a2a92029a0180b7 (diff)
Add Android.mk for pm-qa in Android system.
Signed-off-by: kejun.zhou <kejun.zhou@linaro.org>
Diffstat (limited to 'suspend')
-rw-r--r--suspend/Android.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/suspend/Android.mk b/suspend/Android.mk
new file mode 100644
index 0000000..41cdd99
--- /dev/null
+++ b/suspend/Android.mk
@@ -0,0 +1,17 @@
+include $(call all-subdir-makefiles)
+LOCAL_PATH:= $(call my-dir)
+
+module_name = suspend
+
+define $(module_name)_add_executable
+ include $(CLEAR_VARS)
+ LOCAL_MODULE_TAGS := optional
+ LOCAL_MODULE_CLASS := tests
+ LOCAL_MODULE := $1.sh
+ LOCAL_SRC_FILES := $1.sh
+ LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)/pm-qa/$(module_name)
+ include $(BUILD_PREBUILT)
+endef
+
+test_num := 01 02 03 04 05 06
+$(foreach item,$(test_num),$(eval $(call $(module_name)_add_executable, $(module_name)_$(item))))