OSDN Git Service

Use makeparallel to propagate -j flag to ninja or kati
authorColin Cross <ccross@android.com>
Sun, 6 Sep 2015 07:35:21 +0000 (00:35 -0700)
committerColin Cross <ccross@android.com>
Mon, 14 Sep 2015 21:41:00 +0000 (14:41 -0700)
commitf7ca64faa0f8385384e4831afe60d044d6de451d
tree9dd62313ef4f90071df2bd277012c378558bbf03
parenta55544875a65b33468ef662b3a3b8bbd2ab2b5d8
Use makeparallel to propagate -j flag to ninja or kati

When USE_NINJA=true is set, use makeparallel to claim all jobs from make and
pass them to ninja with -j.  If USE_GOMA is set, pass the -j flag to
kati instead so the parallelism can be set in the local_pool instead.

Change-Id: I6e4f957c65683b74533ecb6d33e25de858922823
core/ninja.mk