Merge "Remove workaround for modules with missing BCP fragments, as they are present now."
This commit is contained in:
@@ -1194,13 +1194,6 @@ func retrieveClassesJarsFromModule(module android.Module) android.Paths {
|
|||||||
// deferReportingMissingBootDexJar returns true if a missing boot dex jar should not be reported by
|
// deferReportingMissingBootDexJar returns true if a missing boot dex jar should not be reported by
|
||||||
// Soong but should instead only be reported in ninja if the file is actually built.
|
// Soong but should instead only be reported in ninja if the file is actually built.
|
||||||
func deferReportingMissingBootDexJar(ctx android.ModuleContext, module android.Module) bool {
|
func deferReportingMissingBootDexJar(ctx android.ModuleContext, module android.Module) bool {
|
||||||
// TODO(b/179354495): Remove this workaround when it is unnecessary.
|
|
||||||
// Prebuilt modules like framework-wifi do not yet provide dex implementation jars. So,
|
|
||||||
// create a fake one that will cause a build error only if it is used.
|
|
||||||
if ctx.Config().AlwaysUsePrebuiltSdks() {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
// Any missing dependency should be allowed.
|
// Any missing dependency should be allowed.
|
||||||
if ctx.Config().AllowMissingDependencies() {
|
if ctx.Config().AllowMissingDependencies() {
|
||||||
return true
|
return true
|
||||||
|
Reference in New Issue
Block a user