Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9acd7c3d authored by Nicolas Geoffray's avatar Nicolas Geoffray Committed by Gerrit Code Review
Browse files

Merge "Support missing a shared library variant."

parents 22b08b4a 0b78766f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1266,9 +1266,12 @@ func orderStaticModuleDeps(module LinkableInterface, staticDeps []LinkableInterf
	allTransitiveDeps := make(map[android.Path][]android.Path, len(staticDeps))
	staticDepFiles := []android.Path{}
	for _, dep := range staticDeps {
		// The OutputFile may not be valid for a variant not present, and the AllowMissingDependencies flag is set.
		if dep.OutputFile().Valid() {
			allTransitiveDeps[dep.OutputFile().Path()] = dep.GetDepsInLinkOrder()
			staticDepFiles = append(staticDepFiles, dep.OutputFile().Path())
		}
	}
	sharedDepFiles := []android.Path{}
	for _, sharedDep := range sharedDeps {
		if sharedDep.HasStaticVariant() {