aboutsummaryrefslogtreecommitdiff
path: root/include/Android.mk
blob: 550a861fbb18df741ab287b371b6fd3af1c1aec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include $(call all-subdir-makefiles)
LOCAL_PATH:= $(call my-dir)

module_name = include

define $(module_name)_etc_add_executable
    include $(CLEAR_VARS)
    LOCAL_MODULE_TAGS := optional 
    LOCAL_MODULE_CLASS := tests
    LOCAL_MODULE := $1.sh
    systemtarball: $1.sh
    systemimage: $1.sh
    LOCAL_SRC_FILES := $1.sh
    LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/pm-qa/$(module_name)
    include $(BUILD_PREBUILT)
endef

test_names := functions suspend_functions
$(foreach item,$(test_names),$(eval $(call $(module_name)_etc_add_executable, $(item))))