When parallelism is being handled by ninja, pass --ninja to makeparallel
to have it translate -j with no number to default ninja parallelism, and
-k to -k0.
Bug:
24199503
Change-Id: Ic1be7572f93b33e4a71ed23e9e73dea1d4255703
ifdef KATI_REMOTE_NUM_JOBS_FLAG
KATI_MAKEPARALLEL := $(MAKEPARALLEL)
else
-NINJA_MAKEPARALLEL := $(MAKEPARALLEL)
+NINJA_MAKEPARALLEL := $(MAKEPARALLEL) --ninja
endif
ifeq (,$(filter generateonly,$(ORIGINAL_MAKECMDGOALS)))