summaryrefslogtreecommitdiff
path: root/python/proto.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/proto.go')
-rw-r--r--python/proto.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/proto.go b/python/proto.go
index 53ebb5895..400e72c99 100644
--- a/python/proto.go
+++ b/python/proto.go
@@ -18,7 +18,7 @@ import (
"android/soong/android"
)
-func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.ProtoFlags, pkgPath string) android.Path {
+func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.ProtoFlags) android.Path {
srcsZipFile := android.PathForModuleGen(ctx, protoFile.Base()+".srcszip")
outDir := srcsZipFile.ReplaceExtension(ctx, "tmp")
@@ -36,9 +36,6 @@ func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.P
zipCmd := rule.Command().
BuiltTool("soong_zip").
FlagWithOutput("-o ", srcsZipFile)
- if pkgPath != "" {
- zipCmd.FlagWithArg("-P ", pkgPath)
- }
zipCmd.FlagWithArg("-C ", outDir.String()).
FlagWithArg("-D ", outDir.String())