Make apex modules support tagged dists

Bug: 172951145
Test: m dist my_dist_target (with patch in bug)
Change-Id: I0da4568a49ea48efbf864614a7e7c647f251a7ce
This commit is contained in:
Anton Hansson
2020-11-11 12:33:14 +00:00
parent 82d5b6726b
commit 82d502a7b2
2 changed files with 8 additions and 0 deletions

View File

@@ -1477,6 +1477,8 @@ type apexBundle struct {
lintReports android.Paths
payloadFsType fsType
distFiles android.TaggedDistFiles
}
func addDependenciesForNativeModules(ctx android.BottomUpMutatorContext,
@@ -2522,6 +2524,8 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
a.buildApexDependencyInfo(ctx)
a.buildLintReports(ctx)
a.distFiles = a.GenerateTaggedDistFiles(ctx)
}
// Enforce that Java deps of the apex are using stable SDKs to compile