Merge changes from topic "refactor-packagingbase"

* changes:
  Move GatherPackagingSpecs out of CopyDepsToZip
  Keep 'partition' in PackagingSpec
This commit is contained in:
Ram Muthiah
2022-03-29 13:45:22 +00:00
committed by Gerrit Code Review
5 changed files with 23 additions and 12 deletions

View File

@@ -3163,6 +3163,7 @@ func (m *moduleContext) packageFile(fullInstallPath InstallPath, srcPath Path, e
symlinkTarget: "",
executable: executable,
effectiveLicenseFiles: &licenseFiles,
partition: fullInstallPath.partition,
}
m.packagingSpecs = append(m.packagingSpecs, spec)
return spec
@@ -3280,6 +3281,7 @@ func (m *moduleContext) InstallSymlink(installPath InstallPath, name string, src
srcPath: nil,
symlinkTarget: relPath,
executable: false,
partition: fullInstallPath.partition,
})
return fullInstallPath
@@ -3320,6 +3322,7 @@ func (m *moduleContext) InstallAbsoluteSymlink(installPath InstallPath, name str
srcPath: nil,
symlinkTarget: absPath,
executable: false,
partition: fullInstallPath.partition,
})
return fullInstallPath