Make the WholeStatic/Static/Shared libs properties configurable
So that you can use selects with them. Bug: 342006386 Bug: 358377461 Test: m nothing --no-skip-soong-tests Change-Id: I5a8350f670d51b7da411ad5c3cdbf5f2d6cdd63b
This commit is contained in:
@@ -393,8 +393,8 @@ func (b *bindgenDecorator) SourceProviderDeps(ctx DepsContext, deps Deps) Deps {
|
||||
deps.StaticLibs = append(deps.StaticLibs, String(b.Properties.Static_inline_library))
|
||||
}
|
||||
|
||||
deps.SharedLibs = append(deps.SharedLibs, b.ClangProperties.Shared_libs...)
|
||||
deps.StaticLibs = append(deps.StaticLibs, b.ClangProperties.Static_libs...)
|
||||
deps.HeaderLibs = append(deps.HeaderLibs, b.ClangProperties.Header_libs...)
|
||||
deps.SharedLibs = append(deps.SharedLibs, b.ClangProperties.Shared_libs.GetOrDefault(ctx, nil)...)
|
||||
deps.StaticLibs = append(deps.StaticLibs, b.ClangProperties.Static_libs.GetOrDefault(ctx, nil)...)
|
||||
deps.HeaderLibs = append(deps.HeaderLibs, b.ClangProperties.Header_libs.GetOrDefault(ctx, nil)...)
|
||||
return deps
|
||||
}
|
||||
|
Reference in New Issue
Block a user