summaryrefslogtreecommitdiffstats
path: root/build/test_host_java_library.mk
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2015-05-18 20:19:01 -0700
committerGuang Zhu <guangzhu@google.com>2015-05-19 14:58:03 -0700
commit76be1e50f5b03f3d51fda0a1656bafea2df6bfc8 (patch)
treed430a4c8912c14c8d074dc0876acc55ddf1357a9 /build/test_host_java_library.mk
parent38bdf246551608dbe9b9cdd0c36f3af0370b502b (diff)
downloadplatform_cts-76be1e50f5b03f3d51fda0a1656bafea2df6bfc8.tar.gz
platform_cts-76be1e50f5b03f3d51fda0a1656bafea2df6bfc8.tar.bz2
platform_cts-76be1e50f5b03f3d51fda0a1656bafea2df6bfc8.zip
enable module test config for the rest of CTS package types
Change-Id: I15f1aa554b75c7fd65da13d20af8fcc30aead787
Diffstat (limited to 'build/test_host_java_library.mk')
-rw-r--r--build/test_host_java_library.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/test_host_java_library.mk b/build/test_host_java_library.mk
index 7e86ac915c6..7fdefb5567f 100644
--- a/build/test_host_java_library.mk
+++ b/build/test_host_java_library.mk
@@ -18,6 +18,7 @@
#
include $(BUILD_HOST_JAVA_LIBRARY)
+include $(BUILD_CTS_MODULE_TEST_CONFIG)
cts_library_jar := $(CTS_TESTCASES_OUT)/$(LOCAL_MODULE).jar
$(cts_library_jar): $(LOCAL_BUILT_MODULE)
@@ -33,6 +34,7 @@ $(cts_library_xml): PRIVATE_TEST_PACKAGE := $(LOCAL_CTS_TEST_PACKAGE)
$(cts_library_xml): PRIVATE_LIBRARY := $(LOCAL_MODULE)
$(cts_library_xml): PRIVATE_JAR_PATH := $(LOCAL_MODULE).jar
$(cts_library_xml): $(cts_library_jar)
+$(cts_library_xml): $(cts_module_test_config)
$(cts_library_xml): $(CTS_EXPECTATIONS) $(CTS_UNSUPPORTED_ABIS) $(CTS_JAVA_TEST_SCANNER_DOCLET) $(CTS_JAVA_TEST_SCANNER) $(CTS_XML_GENERATOR)
$(hide) echo Generating test description for host library $(PRIVATE_LIBRARY)
$(hide) mkdir -p $(CTS_TESTCASES_OUT)
@@ -48,4 +50,4 @@ $(cts_library_xml): $(CTS_EXPECTATIONS) $(CTS_UNSUPPORTED_ABIS) $(CTS_JAVA_TEST_
-o $@
# Have the module name depend on the cts files; so the cts files get generated when you run mm/mmm/mma/mmma.
-$(my_register_name) : $(cts_library_jar) $(cts_library_xml)
+$(my_register_name) : $(cts_library_jar) $(cts_library_xml) $(cts_module_test_config)