Skip to content
Snippets Groups Projects
Commit e8727501 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Fix unzip timestamps

ninja: Missing `restat`? An output file is older than the most recent input:
 output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/activity_actions.txt
  input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip
ninja: Missing `restat`? An output file is older than the most recent input:
 output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/broadcast_actions.txt
  input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip
ninja: Missing `restat`? An output file is older than the most recent input:
 output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/categories.txt
  input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip
ninja: Missing `restat`? An output file is older than the most recent input:
 output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/features.txt
  input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip
ninja: Missing `restat`? An output file is older than the most recent input:
 output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/service_actions.txt
  input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip
ninja: Missing `restat`? An output file is older than the most recent input:
 output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/widgets.txt
  input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip

Which was caused by unzip setting the timestamps of the output files to 2008.

Test: m out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/activity_actions.txt
Change-Id: Ie62b0f52eb9aae11db7899c363780daf7d2c0e95
parent b9c89bb3
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ $(SDK_METADATA): .KATI_IMPLICIT_OUTPUTS := $(filter-out $(SDK_METADATA),$(SDK_ME
$(SDK_METADATA): $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/framework-doc-stubs-metadata.zip
rm -rf $(SDK_METADATA_DIR)
mkdir -p $(SDK_METADATA_DIR)
unzip -qo $< -d $(SDK_METADATA_DIR)
unzip -DDqo $< -d $(SDK_METADATA_DIR)
.PHONY: framework-doc-stubs
framework-doc-stubs: $(SDK_METADATA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment