soong: generator: Update for AP4A
Change-Id: I57d820cd25fa8fa4557f671510c39bfe9923845d
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
diff --git a/build/soong/generator/generator.go b/build/soong/generator/generator.go
index 3cdbe05..5385c76 100644
--- a/build/soong/generator/generator.go
+++ b/build/soong/generator/generator.go
@@ -20,7 +20,6 @@
"strings"
"github.com/google/blueprint"
- "github.com/google/blueprint/bootstrap"
"github.com/google/blueprint/proptools"
"android/soong/android"
@@ -161,13 +160,6 @@
break
}
path = t.HostToolPath()
- } else if t, ok := module.(bootstrap.GoBinaryTool); ok {
- if s, err := filepath.Rel(android.PathForOutput(ctx).String(), t.InstallPath()); err == nil {
- path = android.OptionalPathForPath(android.PathForOutput(ctx, s))
- } else {
- ctx.ModuleErrorf("cannot find path for %q: %v", tool, err)
- break
- }
} else {
ctx.ModuleErrorf("%q is not a host tool provider", tool)
break