Merge "Reapply "Add soong installed files to general-tests.zip"" into main
This commit is contained in:
commit
68452cdcce
6 changed files with 9 additions and 4 deletions
|
@ -1123,6 +1123,7 @@ ifndef LOCAL_SOONG_MODULE_INFO_JSON
|
|||
$(LOCAL_JNI_SHARED_LIBRARIES)
|
||||
|
||||
endif
|
||||
ALL_MODULES.$(my_register_name).TEST_MODULE_CONFIG_BASE := $(LOCAL_TEST_MODULE_CONFIG_BASE)
|
||||
|
||||
##########################################################################
|
||||
## When compiling against API imported module, use API import stub
|
||||
|
|
|
@ -259,6 +259,7 @@ LOCAL_SOONG_EXPORT_PROGUARD_FLAGS :=
|
|||
LOCAL_SOONG_HEADER_JAR :=
|
||||
LOCAL_SOONG_INSTALL_PAIRS :=
|
||||
LOCAL_SOONG_INSTALL_SYMLINKS :=
|
||||
LOCAL_SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES:=
|
||||
LOCAL_SOONG_INSTALLED_MODULE :=
|
||||
LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR :=
|
||||
LOCAL_SOONG_LICENSE_METADATA :=
|
||||
|
@ -297,6 +298,7 @@ LOCAL_TEST_DATA:=
|
|||
LOCAL_TEST_DATA_BINS:=
|
||||
LOCAL_TEST_MAINLINE_MODULES:=
|
||||
LOCAL_TEST_MODULE_TO_PROGUARD_WITH:=
|
||||
LOCAL_TEST_MODULE_CONFIG_BASE:=
|
||||
LOCAL_TIDY:=
|
||||
LOCAL_TIDY_CHECKS:=
|
||||
LOCAL_TIDY_FLAGS:=
|
||||
|
|
|
@ -3596,6 +3596,7 @@ $(foreach suite, $(LOCAL_COMPATIBILITY_SUITE), \
|
|||
$$(foreach f,$$(my_compat_dist_config_$(suite)),$$(call word-colon,2,$$(f))) \
|
||||
$$(my_compat_dist_test_data_$(suite))) \
|
||||
$(eval COMPATIBILITY.$(suite).API_MAP_FILES += $$(my_compat_api_map_$(suite))) \
|
||||
$(eval COMPATIBILITY.$(suite).SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES += $(LOCAL_SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES)) \
|
||||
$(eval ALL_COMPATIBILITY_DIST_FILES += $$(my_compat_dist_$(suite))) \
|
||||
$(eval COMPATIBILITY.$(suite).MODULES += $$(my_register_name))) \
|
||||
$(eval $(my_all_targets) : \
|
||||
|
|
|
@ -27,9 +27,9 @@ $(device-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(device-tests-list-zip) $(devic
|
|||
$(device-tests-zip) : PRIVATE_device_tests_list := $(PRODUCT_OUT)/device-tests_list
|
||||
$(device-tests-zip) : PRIVATE_HOST_SHARED_LIBS := $(my_host_shared_lib_for_device_tests)
|
||||
$(device-tests-zip) : PRIVATE_device_host_shared_libs_zip := $(device_tests_host_shared_libs_zip)
|
||||
$(device-tests-zip) : $(COMPATIBILITY.device-tests.FILES) $(my_host_shared_lib_for_device_tests) $(SOONG_ZIP)
|
||||
$(device-tests-zip) : $(COMPATIBILITY.device-tests.FILES) $(COMPATIBILITY.device-tests.SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES) $(my_host_shared_lib_for_device_tests) $(SOONG_ZIP)
|
||||
rm -f $@-shared-libs.list
|
||||
echo $(sort $(COMPATIBILITY.device-tests.FILES)) | tr " " "\n" > $@.list
|
||||
echo $(sort $(COMPATIBILITY.device-tests.FILES) $(COMPATIBILITY.device-tests.SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES)) | tr " " "\n" > $@.list
|
||||
grep $(HOST_OUT_TESTCASES) $@.list > $@-host.list || true
|
||||
grep -e .*\\.config$$ $@-host.list > $@-host-test-configs.list || true
|
||||
$(hide) for shared_lib in $(PRIVATE_HOST_SHARED_LIBS); do \
|
||||
|
|
|
@ -47,11 +47,11 @@ $(general_tests_zip) : .KATI_IMPLICIT_OUTPUTS := $(general_tests_list_zip) $(gen
|
|||
$(general_tests_zip) : PRIVATE_TOOLS := $(general_tests_tools)
|
||||
$(general_tests_zip) : PRIVATE_INTERMEDIATES_DIR := $(intermediates_dir)
|
||||
$(general_tests_zip) : PRIVATE_general_tests_configs_zip := $(general_tests_configs_zip)
|
||||
$(general_tests_zip) : $(COMPATIBILITY.general-tests.FILES) $(general_tests_tools) $(SOONG_ZIP)
|
||||
$(general_tests_zip) : $(COMPATIBILITY.general-tests.FILES) $(COMPATIBILITY.general-tests.SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES) $(general_tests_tools) $(SOONG_ZIP)
|
||||
rm -rf $(PRIVATE_INTERMEDIATES_DIR)
|
||||
rm -f $@ $(PRIVATE_general_tests_list_zip)
|
||||
mkdir -p $(PRIVATE_INTERMEDIATES_DIR) $(PRIVATE_INTERMEDIATES_DIR)/tools
|
||||
echo $(sort $(COMPATIBILITY.general-tests.FILES)) | tr " " "\n" > $(PRIVATE_INTERMEDIATES_DIR)/list
|
||||
echo $(sort $(COMPATIBILITY.general-tests.FILES) $(COMPATIBILITY.general-tests.SOONG_INSTALLED_COMPATIBILITY_SUPPORT_FILES)) | tr " " "\n" > $(PRIVATE_INTERMEDIATES_DIR)/list
|
||||
find $(PRIVATE_KERNEL_LTP_HOST_OUT) >> $(PRIVATE_INTERMEDIATES_DIR)/list
|
||||
grep $(HOST_OUT_TESTCASES) $(PRIVATE_INTERMEDIATES_DIR)/list > $(PRIVATE_INTERMEDIATES_DIR)/host.list || true
|
||||
grep $(TARGET_OUT_TESTCASES) $(PRIVATE_INTERMEDIATES_DIR)/list > $(PRIVATE_INTERMEDIATES_DIR)/target.list || true
|
||||
|
|
|
@ -49,6 +49,7 @@ $(MODULE_INFO_JSON): $(SOONG_MODULE_INFO)
|
|||
$(call write-optional-json-list, "supported_variants", $(sort $(ALL_MODULES.$(m).SUPPORTED_VARIANTS))) \
|
||||
$(call write-optional-json-list, "host_dependencies", $(sort $(ALL_MODULES.$(m).HOST_REQUIRED_FROM_TARGET))) \
|
||||
$(call write-optional-json-list, "target_dependencies", $(sort $(ALL_MODULES.$(m).TARGET_REQUIRED_FROM_HOST))) \
|
||||
$(call write-optional-json-bool, "test_module_config_base", $(ALL_MODULES.$(m).TEST_MODULE_CONFIG_BASE)) \
|
||||
'}')'\n}\n' >> $@.tmp
|
||||
$(PRIVATE_MERGE_JSON_OBJECTS) -o $@ $(PRIVATE_SOONG_MODULE_INFO) $@.tmp
|
||||
rm $@.tmp
|
||||
|
|
Loading…
Reference in a new issue