diff options
author | 2025-01-15 00:27:02 +0000 | |
---|---|---|
committer | 2025-01-15 20:54:38 +0000 | |
commit | 2da9d9abca8e1a355f8b9fcbb3ae550bfb40a8b6 (patch) | |
tree | 4f1bb3e56679ae539a4afbac1143281a39804c34 /genrule | |
parent | c41eae5e45123a48fd3ec9a3723fdf7adbb6f148 (diff) |
Convert dex2oatPathFromDep to use ModuleProxy.
Bug: 377723687
Test: Unit tests and compare the ninja and mk files generated.
Change-Id: I99ffe88179991da8e5963605bf76666c8945d290
Diffstat (limited to 'genrule')
-rw-r--r-- | genrule/genrule.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index 9a8524bc7..65f74ce0f 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -349,7 +349,7 @@ func (g *Module) generateCommonBuildActions(ctx android.ModuleContext) { // replaced the dependency. module := android.PrebuiltGetPreferred(ctx, proxy) tool := ctx.OtherModuleName(module) - if h, ok := android.OtherModuleProvider(ctx, module, android.HostToolProviderKey); ok { + if h, ok := android.OtherModuleProvider(ctx, module, android.HostToolProviderInfoProvider); ok { // A HostToolProvider provides the path to a tool, which will be copied // into the sandbox. if !android.OtherModuleProviderOrDefault(ctx, module, android.CommonModuleInfoKey).Enabled { |