summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2020-04-28 01:00:44 -0700
committerDan Willemsen <dwillemsen@google.com>2020-04-28 01:08:49 -0700
commite8727501ca24faa99af449915cc101d2dda5dae4 (patch)
treee45e7b963cbac6a19291fd6439c622eeb7955bd1 /Android.mk
parentb9c89bb3fa1d184c0a740f7b80ebdf8356fbdf9b (diff)
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
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index d3627e118ae3..d8532489a786 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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)