Merge "Do not append .meta_lic to meta_lic" am: 9d83209f12 am: 0f12de8954 am: 9212d765d1

Original change: https://android-review.googlesource.com/c/platform/build/+/1944764

Change-Id: Iabdd828c0023f27d40cd3d954045952814bc1f1a
This commit is contained in:
Treehugger Robot
2022-01-11 07:01:50 +00:00
committed by Automerger Merge Worker

View File

@@ -80,7 +80,7 @@ func ReadLicenseGraph(rootFS fs.FS, stderr io.Writer, files []string) (*LicenseG
lg := newLicenseGraph() lg := newLicenseGraph()
for _, f := range files { for _, f := range files {
if strings.HasSuffix(f, ".meta_lic") { if strings.HasSuffix(f, "meta_lic") {
lg.rootFiles = append(lg.rootFiles, f) lg.rootFiles = append(lg.rootFiles, f)
} else { } else {
lg.rootFiles = append(lg.rootFiles, f+".meta_lic") lg.rootFiles = append(lg.rootFiles, f+".meta_lic")