Deprecate both USE_GOMA and FORCE_USE_GOMA flags am: 6d0034f49f am: 04f6efa716 am: 72fd2abc5c am: e21a8a1c00

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

Change-Id: I7f218f2d042cabcad930e683a6dc76314d8bebd1
This commit is contained in:
Kousik Kumar
2020-10-21 04:20:51 +00:00
committed by Automerger Merge Worker

View File

@@ -186,15 +186,9 @@ func NewConfig(ctx Context, args ...string) Config {
"EMPTY_NINJA_FILE", "EMPTY_NINJA_FILE",
) )
if ret.UseGoma() { if ret.UseGoma() || ret.ForceUseGoma() {
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("Goma for Android has been deprecated and replaced with RBE. See go/rbe_for_android for instructions on how to use RBE.")
ctx.Println() ctx.Fatalln("USE_GOMA / FORCE_USE_GOMA flag is no longer supported.")
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")
} }
// Tell python not to spam the source tree with .pyc files. // Tell python not to spam the source tree with .pyc files.