summaryrefslogtreecommitdiff
path: root/genrule
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-09-09 16:44:10 -0700
committer Colin Cross <ccross@android.com> 2024-09-11 21:16:25 -0700
commit1496fb167548823625efd5e67ba6e3fd098ec1b9 (patch)
tree15199e2417b738068244fae54d714fd1d42e7a88 /genrule
parent8996dbc91c48ecb98904c864d6f51579ff79997f (diff)
Wrap blueprint_go_binary and bootstrap_go_package into android.Modules
Depending on a blueprint_go_binary from a Soong module requires hacks that allow Soong to support both blueprint.Module and android.Module. Wrap the blueprint Go module types with ones that implement android.Module, and delete all the related hacks. Bug: 319288033 Test: m checkbuild Flag: EXEMPT refactor Change-Id: I9b62b450de09bd10288333fbc66aa71c867ae0b3
Diffstat (limited to 'genrule')
-rw-r--r--genrule/genrule.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go
index fd72d3c15..a48038bac 100644
--- a/genrule/genrule.go
+++ b/genrule/genrule.go
@@ -25,7 +25,6 @@ import (
"strings"
"github.com/google/blueprint"
- "github.com/google/blueprint/bootstrap"
"github.com/google/blueprint/proptools"
"android/soong/android"
@@ -365,11 +364,6 @@ func (g *Module) generateCommonBuildActions(ctx android.ModuleContext) {
tools = append(tools, path.Path())
addLocationLabel(tag.label, toolLocation{android.Paths{path.Path()}})
}
- case bootstrap.GoBinaryTool:
- // A GoBinaryTool provides the install path to a tool, which will be copied.
- p := android.PathForGoBinary(ctx, t)
- tools = append(tools, p)
- addLocationLabel(tag.label, toolLocation{android.Paths{p}})
default:
ctx.ModuleErrorf("%q is not a host tool provider", tool)
return