OSDN Git Service

Use the same build.ninja for normal make targets
authorShinichiro Hamaji <hamaji@google.com>
Fri, 4 Sep 2015 05:38:37 +0000 (14:38 +0900)
committerShinichiro Hamaji <hamaji@google.com>
Wed, 9 Sep 2015 06:48:10 +0000 (15:48 +0900)
commitd762bcae259ca9e53f3ca4e784b2dab78c2f6c35
treef9dffc5e524a1ff68094dd21d1c5e7394d323d22
parente711afb154333407fe42e8ffe36bf76448d4f80f
Use the same build.ninja for normal make targets

$(PARSE_TIME_MAKE_GOALS) is a list of known goals which affect
parsing of make (e.g., there is $(filter XXX,$(MAKECMDGOALS))).
If the make targets contain one of them, we keep using a
different build.ninja for each combination of make targets.
Otherwise, we use the same build.ninja which has all phony
targets.

Also load vendor/google/build/ninja_config.mk so it can add
Google-specific goals to $(PARSE_TIME_MAKE_GOALS).

Bug: 23685536
Change-Id: I3da5c76fa7644a05a55c374a754212f4fb794818
core/ninja.mk