Add overlay files to layoutlib res.zip
This adds resource overlay files to the res.zip file created by layoutlib_data.mk. This also updates the script generating the corresponding SBOM file. Bug: 335355919 Test: m layoutlib Change-Id: I2427be23720324eb03bd428d220b8777e3bf49bb
This commit is contained in:
@@ -80,7 +80,8 @@ def main():
|
||||
|
||||
resource_file_spdxids = []
|
||||
for file in layoutlib_sbom[sbom_writers.PropNames.FILES]:
|
||||
if file[sbom_writers.PropNames.FILE_NAME].startswith('data/res/'):
|
||||
file_path = file[sbom_writers.PropNames.FILE_NAME]
|
||||
if file_path.startswith('data/res/') or file_path.startswith('data/overlays/'):
|
||||
resource_file_spdxids.append(file[sbom_writers.PropNames.SPDXID])
|
||||
|
||||
doc.relationships = [
|
||||
|
Reference in New Issue
Block a user