droidstubs depend on the combined last api filegroup modules
This change creates a "combined" filegroup module, which will contain all api files of the subset api scopes in the followup change. In this change, the "combined" filegroup is identical to the currently existing last api filegroup module in that it only contains the api file / removed api file of the specific api scope. This change also passes the "combined" filegroup to the droidstubs module generated from the sdk_library modules, but this currently does not lead to any functional changes as the "combined" filegroup is identical to the currently existing last api filegroup. Test: m nothing --no-skip-soong-tests Bug: 321827591 Change-Id: If73a7229f2f970f7e74cd010a8b4808dc9018344
This commit is contained in:
@@ -1672,12 +1672,16 @@ func latestPrebuiltApiModuleName(name string, apiScope *apiScope) string {
|
||||
return PrebuiltApiModuleName(name, apiScope.name, "latest")
|
||||
}
|
||||
|
||||
func latestPrebuiltApiCombinedModuleName(name string, apiScope *apiScope) string {
|
||||
return PrebuiltApiCombinedModuleName(name, apiScope.name, "latest")
|
||||
}
|
||||
|
||||
func (module *SdkLibrary) latestApiFilegroupName(apiScope *apiScope) string {
|
||||
return ":" + module.latestApiModuleName(apiScope)
|
||||
}
|
||||
|
||||
func (module *SdkLibrary) latestApiModuleName(apiScope *apiScope) string {
|
||||
return latestPrebuiltApiModuleName(module.distStem(), apiScope)
|
||||
return latestPrebuiltApiCombinedModuleName(module.distStem(), apiScope)
|
||||
}
|
||||
|
||||
func (module *SdkLibrary) latestRemovedApiFilegroupName(apiScope *apiScope) string {
|
||||
@@ -1685,7 +1689,7 @@ func (module *SdkLibrary) latestRemovedApiFilegroupName(apiScope *apiScope) stri
|
||||
}
|
||||
|
||||
func (module *SdkLibrary) latestRemovedApiModuleName(apiScope *apiScope) string {
|
||||
return latestPrebuiltApiModuleName(module.distStem()+"-removed", apiScope)
|
||||
return latestPrebuiltApiCombinedModuleName(module.distStem()+"-removed", apiScope)
|
||||
}
|
||||
|
||||
func (module *SdkLibrary) latestIncompatibilitiesFilegroupName(apiScope *apiScope) string {
|
||||
|
Reference in New Issue
Block a user