Use relaxed check for prebuilt src
The source stub.so might not exist during Soong analysis in Multi-tree. This will be provided by the build orchestrator in the combined ninja execution. Test: TH Change-Id: I1de4b322fa8e456071630bf86c5fbaab063d44ba
This commit is contained in:
@@ -148,8 +148,9 @@ func (d *apiLibraryDecorator) link(ctx ModuleContext, flags Flags, deps PathDeps
|
||||
|
||||
var in android.Path
|
||||
|
||||
// src might not exist during the beginning of soong analysis in Multi-tree
|
||||
if src := String(d.properties.Src); src != "" {
|
||||
in = android.PathForModuleSrc(ctx, src)
|
||||
in = android.MaybeExistentPathForSource(ctx, ctx.ModuleDir(), src)
|
||||
}
|
||||
|
||||
// LLNDK variant
|
||||
|
Reference in New Issue
Block a user