build: tools: Add json collection of installed files with hashes.
Adds installed-files.json in addition to installed-files.txt Further sorts the file list to be ordered within the same size bucket. Test: manual, cross-checked checksums with sha256sum utility checked build outputs. Bug: 19988819 Merged-in: Ifb632eb4df65ec48645c8f93e36bae44ccc52ba8 Change-Id: Ifb632eb4df65ec48645c8f93e36bae44ccc52ba8 Signed-off-by: Sasha Levitskiy <sanek@google.com>
This commit is contained in:
@@ -1139,7 +1139,8 @@ $(INSTALLED_FILES_FILE): $(FULL_SYSTEMIMAGE_DEPS)
|
||||
@echo Installed file list: $@
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -f $@
|
||||
$(hide) build/tools/fileslist.py $(TARGET_OUT) > $@
|
||||
$(hide) build/tools/fileslist.py $(TARGET_OUT) > $(@:.txt=.json)
|
||||
$(hide) build/tools/fileslist_util.py -c $(@:.txt=.json) > $@
|
||||
|
||||
.PHONY: installed-file-list
|
||||
installed-file-list: $(INSTALLED_FILES_FILE)
|
||||
@@ -1575,7 +1576,8 @@ $(INSTALLED_FILES_FILE_VENDOR) : $(INTERNAL_VENDORIMAGE_FILES)
|
||||
@echo Installed file list: $@
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -f $@
|
||||
$(hide) build/tools/fileslist.py $(TARGET_OUT_VENDOR) > $@
|
||||
$(hide) build/tools/fileslist.py $(TARGET_OUT_VENDOR) > $(@:.txt=.json)
|
||||
$(hide) build/tools/fileslist_util.py -c $(@:.txt=.json) > $@
|
||||
|
||||
vendorimage_intermediates := \
|
||||
$(call intermediates-dir-for,PACKAGING,vendor)
|
||||
|
Reference in New Issue
Block a user