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

Commit b133ff32 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Implement String() method for CodegenMode." am: 3b923430

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1560230

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I719a8d91208b14f6609af749b59927eacf0a5077
parents 54eddb09 3b923430
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -67,6 +67,17 @@ const (
	QueryView
)

func (mode CodegenMode) String() string {
	switch mode {
	case Bp2Build:
		return "Bp2Build"
	case QueryView:
		return "QueryView"
	default:
		return fmt.Sprintf("%d", mode)
	}
}

func (ctx CodegenContext) AddNinjaFileDeps(...string) {}
func (ctx CodegenContext) Config() android.Config     { return ctx.config }
func (ctx CodegenContext) Context() android.Context   { return ctx.context }