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

Commit b46c2101 authored by Trevor Radcliffe's avatar Trevor Radcliffe Committed by Gerrit Code Review
Browse files

Merge "Use relative path instead of base for python proto" into main

parents 06a0b517 d3243d5e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -19,7 +19,8 @@ import (
)

func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.ProtoFlags) android.Path {
	srcsZipFile := android.PathForModuleGen(ctx, protoFile.Base()+".srcszip")
	// Using protoFile.Base() would generate duplicate source errors in some cases, so we use Rel() instead
	srcsZipFile := android.PathForModuleGen(ctx, protoFile.Rel()+".srcszip")

	outDir := srcsZipFile.ReplaceExtension(ctx, "tmp")
	depFile := srcsZipFile.ReplaceExtension(ctx, "srcszip.d")