Fix vendor/google/build/ninja_config.mk

This needs to be included between PARSE_TIME_MAKE_GOALS and KATI_GOALS

Test: m -j <target-from-internal>
Change-Id: I7284f05336b921d40f04ff5811a47bd0d17a066f
This commit is contained in:
Dan Willemsen 2016-11-10 19:41:27 -08:00
parent 0f185d7c3b
commit 1ff5fa11c4
2 changed files with 2 additions and 1 deletions

View File

@ -859,7 +859,6 @@ dont_bother_goals := clean clobber dataclean installclean \
ifndef KATI
include $(BUILD_SYSTEM)/ninja_config.mk
-include vendor/google/build/ninja_config.mk
include $(BUILD_SYSTEM)/soong_config.mk
endif

View File

@ -60,6 +60,8 @@ PARSE_TIME_MAKE_GOALS := \
win_sdk \
winsdk-tools
include $(wildcard vendor/*/build/ninja_config.mk)
# Any Android goals that need to be built.
ANDROID_GOALS := $(filter-out $(KATI_OUTPUT_PATTERNS) $(CKATI) $(MAKEPARALLEL),\
$(sort $(ORIGINAL_MAKECMDGOALS) $(MAKECMDGOALS)))