Add a tagged output for app's exportPackage

This allows the android stubs to depend on framework-res' exportPackage
without special-casing inside the build system.

Bug: 161214753
Test: depending on this output in a followup CL
Change-Id: I8c5d17540d2624974983d73e56ba17898505dba8
This commit is contained in:
Anton Hansson 2020-08-13 19:37:22 +01:00
parent 29737cfc94
commit 092aca410f
1 changed files with 2 additions and 0 deletions

View File

@ -965,6 +965,8 @@ func (a *AndroidApp) OutputFiles(tag string) (android.Paths, error) {
switch tag {
case ".aapt.srcjar":
return []android.Path{a.aaptSrcJar}, nil
case ".export-package.apk":
return []android.Path{a.exportPackage}, nil
}
return a.Library.OutputFiles(tag)
}