summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Haamed Gheibi <haamed@google.com> 2024-03-28 04:49:51 +0000
committer Haamed Gheibi <haamed@google.com> 2024-03-28 18:19:18 +0000
commit54af8e62d983f100cbc2e8d2049e965114648b95 (patch)
tree796b6b0bc54c7546cb81b3c855680a8e38d73c44
parentf875565c7f169e41a9007e4513289235322dee2b (diff)
Remove the mkdir of the parent Directories for protobufs.
Bug: 330794730 Change-Id: I7b221ffc9dde67c27186848727c4a698644507aa
-rw-r--r--python/python.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/python.go b/python/python.go
index d3cbd7695..2b1974eb8 100644
--- a/python/python.go
+++ b/python/python.go
@@ -545,7 +545,6 @@ func (p *PythonLibraryModule) createSrcsZip(ctx android.ModuleContext, pkgPath s
var stagedProtoSrcs android.Paths
for _, srcFile := range protoSrcs {
stagedProtoSrc := pkgPathStagingDir.Join(ctx, pkgPath, srcFile.Rel())
- rule.Command().Text("mkdir -p").Flag(filepath.Base(stagedProtoSrc.String()))
rule.Command().Text("cp -f").Input(srcFile).Output(stagedProtoSrc)
stagedProtoSrcs = append(stagedProtoSrcs, stagedProtoSrc)
}