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

Commit 04f6efa7 authored by Kousik Kumar's avatar Kousik Kumar Committed by Automerger Merge Worker
Browse files

Deprecate both USE_GOMA and FORCE_USE_GOMA flags am: 6d0034f4

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

Change-Id: If52cdcd09678cc154257b22b869f6ebabd8557f0
parents e32b3847 6d0034f4
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -154,15 +154,9 @@ func NewConfig(ctx Context, args ...string) Config {
		"EMPTY_NINJA_FILE",
	)

	if ret.UseGoma() {
		ctx.Println("Goma for Android is being deprecated and replaced with RBE. See go/rbe_for_android for instructions on how to use RBE.")
		ctx.Println()
		ctx.Println("See go/goma_android_exceptions for exceptions.")
		ctx.Fatalln("USE_GOMA flag is no longer supported.")
	}

	if ret.ForceUseGoma() {
		ret.environ.Set("USE_GOMA", "true")
	if ret.UseGoma() || ret.ForceUseGoma() {
		ctx.Println("Goma for Android has been deprecated and replaced with RBE. See go/rbe_for_android for instructions on how to use RBE.")
		ctx.Fatalln("USE_GOMA / FORCE_USE_GOMA flag is no longer supported.")
	}

	// Tell python not to spam the source tree with .pyc files.