OSDN Git Service

Make USE_NINJA=true the default
authorColin Cross <ccross@android.com>
Fri, 18 Sep 2015 22:09:06 +0000 (15:09 -0700)
committerColin Cross <ccross@android.com>
Fri, 18 Sep 2015 22:10:21 +0000 (15:10 -0700)
Build with kati + ninja by default, unless specifically disabled with
USE_NINJA=false in the environment or on the make command line.

Bug: 23565895
Change-Id: I1fa9f5c6eb4d4ed3f5b81454f89d19fd2f1f6abb

core/main.mk

index 6baf6c4..f860f54 100644 (file)
@@ -92,7 +92,7 @@ include $(BUILD_SYSTEM)/help.mk
 # and host information.
 include $(BUILD_SYSTEM)/config.mk
 
-ifeq ($(USE_NINJA),true)
+ifneq ($(USE_NINJA),false)
 # Mark this is a ninja build.
 $(shell mkdir -p $(OUT_DIR) && touch $(OUT_DIR)/ninja_build)
 include build/core/ninja.mk