Add a version.txt file to compatibility suite zips
This will avoid having to tag jar file with a manifest implementation version. Test: make cts, check the zip Bug: 111834256 Change-Id: Id809217cefb36b4779fdf41c02f5809ba22d03a1
This commit is contained in:
parent
d578232c95
commit
7a10601e7c
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ $(compatibility_zip): PRIVATE_DYNAMIC_CONFIG := $(test_suite_dynamic_config)
|
|||
$(compatibility_zip): $(test_artifacts) $(test_tools) $(test_suite_prebuilt_tools) $(test_suite_dynamic_config) $(SOONG_ZIP) | $(ADB) $(ACP)
|
||||
# Make dir structure
|
||||
$(hide) mkdir -p $(PRIVATE_OUT_DIR)/tools $(PRIVATE_OUT_DIR)/testcases
|
||||
$(hide) echo $(BUILD_NUMBER_FROM_FILE) > $(PRIVATE_OUT_DIR)/tools/version.txt
|
||||
# Copy tools
|
||||
$(hide) $(ACP) -fp $(PRIVATE_TOOLS) $(PRIVATE_OUT_DIR)/tools
|
||||
$(if $(PRIVATE_DYNAMIC_CONFIG),$(hide) $(ACP) -fp $(PRIVATE_DYNAMIC_CONFIG) $(PRIVATE_OUT_DIR)/testcases/$(PRIVATE_SUITE_NAME).dynamic)
|
||||
|
|
Loading…
Reference in a new issue