Policy clarified: No need to share a "distribution medium"
Including code built from restricted sources in a distribution medium does not require sharing the code for building the distribution medium. Test: m cts dist Test: m cts dist gts (requires cherry-pick to internal) Change-Id: I7fcd889b11a97f8deaf4de9d72fdadd09deebe30
This commit is contained in:
@@ -149,6 +149,9 @@ func listShare(stdout, stderr io.Writer, rootFS fs.FS, files ...string) error {
|
||||
// Group the resolutions by project.
|
||||
presolution := make(map[string]compliance.LicenseConditionSet)
|
||||
for _, target := range shareSource.AttachesTo() {
|
||||
if shareSource.IsPureAggregate(target) && !target.LicenseConditions().MatchesAnySet(compliance.ImpliesShared) {
|
||||
continue
|
||||
}
|
||||
rl := shareSource.Resolutions(target)
|
||||
sort.Sort(rl)
|
||||
for _, r := range rl {
|
||||
|
Reference in New Issue
Block a user