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

Commit de332788 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Install prebuilt_etc modules to out/soong" am: 544446ca

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

Change-Id: Idca635fd62303c1cb1b2f31e486bebe40e47c98d
parents 14ca2fcf 544446ca
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -214,6 +214,13 @@ func (p *PrebuiltEtc) GenerateAndroidBuildActions(ctx android.ModuleContext) {
		Output: p.outputFilePath,
		Input:  p.sourceFilePath,
	})

	if p.Installable() {
		installPath := ctx.InstallFile(p.installDirPath, p.outputFilePath.Base(), p.outputFilePath)
		for _, sl := range p.properties.Symlinks {
			ctx.InstallSymlink(p.installDirPath, sl, installPath)
		}
	}
}

func (p *PrebuiltEtc) AndroidMkEntries() []android.AndroidMkEntries {