Merge "Fix ALLOW_MISSING_DEPENDENCIES builds for prebuilt JNI libraries"
This commit is contained in:
@@ -801,6 +801,8 @@ func collectAppDeps(ctx android.ModuleContext, app appDepsInterface,
|
||||
unstrippedFile: dep.UnstrippedOutputFile(),
|
||||
partition: dep.Partition(),
|
||||
})
|
||||
} else if ctx.Config().AllowMissingDependencies() {
|
||||
ctx.AddMissingDependencies([]string{otherName})
|
||||
} else {
|
||||
ctx.ModuleErrorf("dependency %q missing output file", otherName)
|
||||
}
|
||||
|
Reference in New Issue
Block a user