Pass DepsContext to dependency methods
Pass a DepsContext that embeds android.BottomUpMutatorContext instead of android.BaseContext so that dependency methods can directly add dependencies. Test: m -j Change-Id: Id4c157975d3d6f03efd99785d217bef486a76139
This commit is contained in:
@@ -351,7 +351,7 @@ func (library *libraryDecorator) linkerInit(ctx BaseModuleContext) {
|
||||
library.relocationPacker.packingInit(ctx)
|
||||
}
|
||||
|
||||
func (library *libraryDecorator) linkerDeps(ctx BaseModuleContext, deps Deps) Deps {
|
||||
func (library *libraryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
|
||||
deps = library.baseLinker.linkerDeps(ctx, deps)
|
||||
|
||||
if library.static() {
|
||||
|
Reference in New Issue
Block a user