Merge "Remove exportable modules when generating snapshots targeting older platform" into main

This commit is contained in:
Jihoon Kang
2024-06-10 20:46:09 +00:00
committed by Gerrit Code Review
5 changed files with 209 additions and 11 deletions

View File

@@ -2180,7 +2180,7 @@ func (al *ApiLibrary) DepsMutator(ctx android.BottomUpMutatorContext) {
// Map where key is the api scope name and value is the int value
// representing the order of the api scope, narrowest to the widest
var scopeOrderMap = allApiScopes.MapToIndex(
var scopeOrderMap = AllApiScopes.MapToIndex(
func(s *apiScope) string { return s.name })
func (al *ApiLibrary) sortApiFilesByApiScope(ctx android.ModuleContext, srcFilesInfo []JavaApiImportInfo) []JavaApiImportInfo {