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

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

Merge "Enable referencing of aapt-generated proguard flags" am: 7fecde90 am: dd1a7fff

parents ba96176e dd1a7fff
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -977,6 +977,10 @@ func (a *AndroidApp) DepIsInSameApex(ctx android.BaseModuleContext, dep android.
// For OutputFileProducer interface
func (a *AndroidApp) OutputFiles(tag string) (android.Paths, error) {
	switch tag {
	// In some instances, it can be useful to reference the aapt-generated flags from another
	// target, e.g., system server implements services declared in the framework-res manifest.
	case ".aapt.proguardOptionsFile":
		return []android.Path{a.proguardOptionsFile}, nil
	case ".aapt.srcjar":
		return []android.Path{a.aaptSrcJar}, nil
	case ".export-package.apk":