Check USE_GOMA consistently

Currently, the only way to properly disable goma is to unset USE_GOMA.
If you set USE_GOMA=false, we won't turn on goma, but we'll pass -j500
to ninja.

Test: USE_GOMA={x,false} m -j48 showcommands (inspect)
Change-Id: I6b327d08ebadbe614a3bf7646fd597054bbfaaa2
This commit is contained in:
Dan Willemsen 2016-08-27 18:29:08 -07:00
parent c6bada8acd
commit 937cef48eb
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ endif
# proceeding with undefined behavior.
NINJA_EXTRA_ARGS += -w dupbuild=err
ifdef USE_GOMA
ifneq ($(filter-out false,$(USE_GOMA)),)
KATI_MAKEPARALLEL := $(MAKEPARALLEL)
# Ninja runs remote jobs (i.e., commands which contain gomacc) with
# this parallelism. Note the parallelism of all other jobs is still