1LOCAL_PATH := $(call my-dir) 2 3ifneq (true,$(TARGET_BUILD_PDK)) 4 5# Set RSTESTFORWARD_TARGETS 6include $(LOCAL_PATH)/RSTestForward/Targets.mk 7 8include $(call all-makefiles-under,$(LOCAL_PATH)) 9 10 11# RSUnbundledTests 12# Tests that run on older devices 13 14my_modules := \ 15 RSTestBackward \ 16 RSTest_Compat \ 17 18my_package_name := RSUnbundledTests 19 20include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk 21 22.PHONY: RSUnbundledTests 23RSUnbundledTests: $(my_package_zip) 24 25$(call dist-for-goals,RSUnbundledTests,$(my_package_zip):$(my_package_name).zip) 26 27 28# RSUnbundledTests19 29# Tests that run on older devices (API 19 and below) 30 31my_modules := \ 32 RSTestBackward19 \ 33 RSTest_Compat19 \ 34 35my_package_name := RSUnbundledTests19 36 37include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk 38 39$(call dist-for-goals,RSUnbundledTests,$(my_package_zip):$(my_package_name).zip) 40 41 42# RSTests 43# Tests that run on latest platform build 44 45ifneq ($(ENABLE_RSTESTS),) 46 47my_modules := \ 48 RSTest \ 49 RSTest_Compat \ 50 $(RSTESTFORWARD_TARGETS) \ 51 52my_package_name := RSTests 53 54include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk 55 56.PHONY: RSTests 57RSTests: $(my_package_zip) 58 59$(call dist-for-goals,RSTests,$(my_package_zip):$(my_package_name).zip) 60 61endif 62 63RSTESTFORWARD_TARGETS := 64 65endif 66