Revert "Enable -sha256
feature to some Soong built zip files"
This reverts commit fae06b15ce
.
Reason for revert: Some labs are still not upgraded to the latest version, causing presubmit test flaky.
Bug: 268608699
Bug: 259513199
Change-Id: I05f0fef27afdbbd5350e77616074059b7bf1da42
This commit is contained in:
parent
fae06b15ce
commit
7d8eeec0dd
3 changed files with 4 additions and 5 deletions
|
@ -87,8 +87,7 @@ $(general_tests_zip) : $(COMPATIBILITY.general-tests.FILES) $(general_tests_tool
|
|||
$(SOONG_ZIP) -d -o $@ \
|
||||
-P host -C $(PRIVATE_INTERMEDIATES_DIR) -D $(PRIVATE_INTERMEDIATES_DIR)/tools \
|
||||
-P host -C $(HOST_OUT) -l $(PRIVATE_INTERMEDIATES_DIR)/host.list \
|
||||
-P target -C $(PRODUCT_OUT) -l $(PRIVATE_INTERMEDIATES_DIR)/target.list \
|
||||
-sha256
|
||||
-P target -C $(PRODUCT_OUT) -l $(PRIVATE_INTERMEDIATES_DIR)/target.list
|
||||
$(SOONG_ZIP) -d -o $(PRIVATE_general_tests_configs_zip) \
|
||||
-P host -C $(HOST_OUT) -l $(PRIVATE_INTERMEDIATES_DIR)/host-test-configs.list \
|
||||
-P target -C $(PRODUCT_OUT) -l $(PRIVATE_INTERMEDIATES_DIR)/target-test-configs.list
|
||||
|
|
|
@ -41,7 +41,7 @@ $(host_unit_tests_zip) : $(COMPATIBILITY.host-unit-tests.FILES) $(my_host_shared
|
|||
grep $(TARGET_OUT_TESTCASES) $@.list > $@-target.list || true
|
||||
$(hide) $(SOONG_ZIP) -d -o $@ -P host -C $(HOST_OUT) -l $@-host.list \
|
||||
-P target -C $(PRODUCT_OUT) -l $@-target.list \
|
||||
-P host/testcases -C $(HOST_OUT) -l $@-host-libs.list -sha256
|
||||
-P host/testcases -C $(HOST_OUT) -l $@-host-libs.list
|
||||
rm -f $@.list $@-host.list $@-target.list $@-host-libs.list
|
||||
|
||||
host-unit-tests: $(host_unit_tests_zip)
|
||||
|
|
|
@ -51,7 +51,7 @@ $(test_suite_jdk): PRIVATE_JDK_DIR := $(test_suite_jdk_dir)
|
|||
$(test_suite_jdk): PRIVATE_SUBDIR := $(test_suite_subdir)
|
||||
$(test_suite_jdk): $(shell find $(test_suite_jdk_dir) -type f | sort)
|
||||
$(test_suite_jdk): $(SOONG_ZIP)
|
||||
$(SOONG_ZIP) -o $@ -P $(PRIVATE_SUBDIR)/jdk -C $(PRIVATE_JDK_DIR) -D $(PRIVATE_JDK_DIR) -sha256
|
||||
$(SOONG_ZIP) -o $@ -P $(PRIVATE_SUBDIR)/jdk -C $(PRIVATE_JDK_DIR) -D $(PRIVATE_JDK_DIR)
|
||||
|
||||
$(call declare-license-metadata,$(test_suite_jdk),SPDX-license-identifier-GPL-2.0-with-classpath-exception,permissive,\
|
||||
$(test_suite_jdk_dir)/legal/java.base/LICENSE,JDK,prebuilts/jdk/$(notdir $(patsubst %/,%,$(dir $(test_suite_jdk_dir)))))
|
||||
|
@ -123,7 +123,7 @@ $(compatibility_zip): $(compatibility_zip_deps) | $(ADB) $(ACP)
|
|||
cp $(PRIVATE_TOOLS) $(PRIVATE_OUT_DIR)/tools
|
||||
$(if $(PRIVATE_DYNAMIC_CONFIG),$(hide) cp $(PRIVATE_DYNAMIC_CONFIG) $(PRIVATE_OUT_DIR)/testcases/$(PRIVATE_SUITE_NAME).dynamic)
|
||||
find $(PRIVATE_RESOURCES) | sort >$@.list
|
||||
$(SOONG_ZIP) -d -o $@.tmp -C $(dir $@) -l $@.list -sha256
|
||||
$(SOONG_ZIP) -d -o $@.tmp -C $(dir $@) -l $@.list
|
||||
$(MERGE_ZIPS) $@ $@.tmp $(PRIVATE_JDK)
|
||||
rm -f $@.tmp
|
||||
# Build a list of tests
|
||||
|
|
Loading…
Reference in a new issue