OSDN Git Service

Use goma when USE_GOMA=true is set
authorShinichiro Hamaji <hamaji@google.com>
Mon, 17 Aug 2015 08:38:24 +0000 (17:38 +0900)
committerShinichiro Hamaji <hamaji@google.com>
Thu, 20 Aug 2015 05:33:44 +0000 (14:33 +0900)
commitee482fd521a0b3c7c33539c7b1a8d552c18832c3
treed415f748ea88d2bca58caf4d2755240a9cdac6ea
parente7d6f04d32c26e1355a1a01008941477c1432611
Use goma when USE_GOMA=true is set

With USE_GOMA, the path to gomacc in $GOMA_DIR or $HOME/goma
will be appended to CC_WRAPPER and CXX_WRAPPER.

Note this works only with USE_NINJA. Unlike ninja, GNU make
cannot change the parallelism depending on targets. Specifying
-j500 to GNU make would mean you may run 500 local jobs in
parallel, but with -j32 goma will just slow down the build.

Change-Id: I0f571454fd2a5b525ee29b445f7ab8715927ca00
core/config.mk
core/goma.mk [new file with mode: 0644]
core/ninja.mk