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

Commit 38db1b09 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Don't install rust modules that are never installable"

parents 0096079b bf8147ab
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -619,6 +619,10 @@ func (mod *Module) CoverageFiles() android.Paths {
}

func (mod *Module) installable(apexInfo android.ApexInfo) bool {
	if !mod.EverInstallable() {
		return false
	}

	// The apex variant is not installable because it is included in the APEX and won't appear
	// in the system partition as a standalone file.
	if !apexInfo.IsForPlatform() {