Only include the "tools" and "testcases" subdirectories in android-cts.zip.
Without this, we can end up packaging log files from previous CTS runs in the zip file. If the names of those log files contain whitespace characters, it can result in a build failure. Change-Id: Id96d1915a03b6a715acfdc212c9b2d6f28045baa
This commit is contained in:
@@ -55,7 +55,7 @@ $(compatibility_zip): $(test_artifacts) $(test_tools) $(test_suite_prebuilt_tool
|
|||||||
# Copy tools
|
# Copy tools
|
||||||
$(hide) cp $(PRIVATE_TOOLS) $(PRIVATE_OUT_DIR)/tools
|
$(hide) cp $(PRIVATE_TOOLS) $(PRIVATE_OUT_DIR)/tools
|
||||||
$(if $(PRIVATE_DYNAMIC_CONFIG),$(hide) cp $(PRIVATE_DYNAMIC_CONFIG) $(PRIVATE_OUT_DIR)/testcases/$(PRIVATE_SUITE_NAME).dynamic)
|
$(if $(PRIVATE_DYNAMIC_CONFIG),$(hide) cp $(PRIVATE_DYNAMIC_CONFIG) $(PRIVATE_OUT_DIR)/testcases/$(PRIVATE_SUITE_NAME).dynamic)
|
||||||
$(hide) find $(dir $@)/$(PRIVATE_NAME) | sort >$@.list
|
$(hide) find $(PRIVATE_OUT_DIR)/tools $(PRIVATE_OUT_DIR)/testcases | sort >$@.list
|
||||||
$(hide) $(SOONG_ZIP) -d -o $@ -C $(dir $@) -l $@.list
|
$(hide) $(SOONG_ZIP) -d -o $@ -C $(dir $@) -l $@.list
|
||||||
|
|
||||||
# Reset all input variables
|
# Reset all input variables
|
||||||
|
Reference in New Issue
Block a user