summaryrefslogtreecommitdiff
path: root/python/proto.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/proto.go')
-rw-r--r--python/proto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/proto.go b/python/proto.go
index 85ed1a517..b71e047a5 100644
--- a/python/proto.go
+++ b/python/proto.go
@@ -34,7 +34,7 @@ func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.P
// Proto generated python files have an unknown package name in the path, so package the entire output directory
// into a srcszip.
zipCmd := rule.Command().
- Tool(ctx.Config().HostToolPath(ctx, "soong_zip")).
+ BuiltTool(ctx, "soong_zip").
FlagWithOutput("-o ", srcsZipFile)
if pkgPath != "" {
zipCmd.FlagWithArg("-P ", pkgPath)