goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set.

During the development of goma client, we sometimes need to use goma
compiler_proxy, which has already been running.

Test: NOSTART_GOMA=1 USE_GOMA=1 m.

Change-Id: Ifa969c40871325fd43ee6443ddbe3b18fde62c5a
This commit is contained in:
Yoshisato Yanagisawa 2016-09-13 12:53:08 +09:00
parent fbfff3129e
commit a2ca270502
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ ifneq ($(filter-out false,$(USE_GOMA)),)
# gomacc can start goma client's daemon process automatically, but
# it is safer and faster to start up it beforehand. We run this as a
# background process so this won't slow down the build.
$(shell ( $(goma_ctl) ensure_start ) &> /dev/null &)
ifndef NOSTART_GOMA
$(shell ( $(goma_ctl) ensure_start ) &> /dev/null &)
endif
goma_ctl :=
goma_dir :=