diff --git a/core/autogen_test_config.mk b/core/autogen_test_config.mk index bf87c9da32..a01d80fd18 100644 --- a/core/autogen_test_config.mk +++ b/core/autogen_test_config.mk @@ -26,7 +26,11 @@ ifeq (true,$(is_native)) ifeq ($(LOCAL_NATIVE_BENCHMARK),true) autogen_test_config_template := $(NATIVE_BENCHMARK_TEST_CONFIG_TEMPLATE) else -autogen_test_config_template := $(NATIVE_TEST_CONFIG_TEMPLATE) + ifeq ($(LOCAL_IS_HOST_MODULE),true) + autogen_test_config_template := $(NATIVE_HOST_TEST_CONFIG_TEMPLATE) + else + autogen_test_config_template := $(NATIVE_TEST_CONFIG_TEMPLATE) + endif endif # Auto generating test config file for native test $(autogen_test_config_file): PRIVATE_MODULE_NAME := $(LOCAL_MODULE) diff --git a/core/config.mk b/core/config.mk index b5ae2d54ba..9245ee96a9 100644 --- a/core/config.mk +++ b/core/config.mk @@ -171,6 +171,7 @@ INSTRUMENTATION_TEST_CONFIG_TEMPLATE := $(BUILD_SYSTEM)/instrumentation_test_con NATIVE_BENCHMARK_TEST_CONFIG_TEMPLATE := $(BUILD_SYSTEM)/native_benchmark_test_config_template.xml NATIVE_TEST_CONFIG_TEMPLATE := $(BUILD_SYSTEM)/native_test_config_template.xml EMPTY_TEST_CONFIG := $(BUILD_SYSTEM)/empty_test_config.xml +NATIVE_HOST_TEST_CONFIG_TEMPLATE := $(BUILD_SYSTEM)/native_host_test_config_template.xml # Tool to generate TradeFed test config file automatically. AUTOGEN_TEST_CONFIG_SCRIPT := build/make/tools/auto_gen_test_config.py diff --git a/core/native_host_test_config_template.xml b/core/native_host_test_config_template.xml new file mode 100644 index 0000000000..c0fcd1af6f --- /dev/null +++ b/core/native_host_test_config_template.xml @@ -0,0 +1,23 @@ + + + + + +