summaryrefslogtreecommitdiff
path: root/python/proto.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/proto.go')
-rw-r--r--python/proto.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/proto.go b/python/proto.go
index b3ffaa670..85ed1a517 100644
--- a/python/proto.go
+++ b/python/proto.go
@@ -35,12 +35,12 @@ func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.P
// into a srcszip.
zipCmd := rule.Command().
Tool(ctx.Config().HostToolPath(ctx, "soong_zip")).
- FlagWithOutput("-o ", srcsZipFile).
- FlagWithArg("-C ", outDir.String()).
- FlagWithArg("-D ", outDir.String())
+ FlagWithOutput("-o ", srcsZipFile)
if pkgPath != "" {
zipCmd.FlagWithArg("-P ", pkgPath)
}
+ zipCmd.FlagWithArg("-C ", outDir.String()).
+ FlagWithArg("-D ", outDir.String())
rule.Command().Text("rm -rf").Flag(outDir.String())