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

Commit 4deab28f authored by Spandan Das's avatar Spandan Das
Browse files

Create a SetBuildFromTextStub method

This will be useful for writing unit tests

Test: go build ./android
Change-Id: If27a050c0cfd0492e0cd3a422ac33f40b7a0a6d5
parent e339a2d9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1894,3 +1894,7 @@ func (c *config) ApiSurfacesDir(s ApiSurface, version string) string {
func (c *config) BuildFromTextStub() bool {
	return c.buildFromTextStub
}

func (c *config) SetBuildFromTextStub(b bool) {
	c.buildFromTextStub = b
}