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

module_name = thermal

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

test_num := sanity 01 02 03 04 05 06
$(foreach item,$(test_num),$(eval $(call $(module_name)_add_executable, $(module_name)_$(item))))