Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5729190 authored by Dan Pasanen's avatar Dan Pasanen Committed by Gerrit Code Review
Browse files

ninja: use host's ninja if it exists

* For whatever reason mainline ninja improves my build significantly

* Allow users to bust out of using whatever binary is provided with the
  build system and use their own copy if they have it installed

Change-Id: I14dbb7b9d8a028d1b0f16e136a8310584df329be
parent a18fb139
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
NINJA ?= prebuilts/ninja/$(HOST_PREBUILT_TAG)/ninja
NINJA ?= $(shell which ninja)
ifeq ($(NINJA),)
  NINJA := prebuilts/ninja/$(HOST_PREBUILT_TAG)/ninja
endif

ifeq ($(USE_SOONG),true)
USE_SOONG_FOR_KATI := true