Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54af8e62 authored by Haamed Gheibi's avatar Haamed Gheibi
Browse files

Remove the mkdir of the parent Directories for protobufs.

Bug: 330794730
Change-Id: I7b221ffc9dde67c27186848727c4a698644507aa
parent f875565c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)
			}