OSDN Git Service

Make multiple rules to generate a file an error
authorColin Cross <ccross@android.com>
Wed, 23 Sep 2015 20:52:22 +0000 (13:52 -0700)
committerDan Willemsen <dwillemsen@google.com>
Tue, 23 Feb 2016 23:40:11 +0000 (15:40 -0800)
commita65f1aee843e7f8c9ed564d0dd08b497a4a3561a
tree41fe0168496ed082b311b57657c6d1de44c28da6
parentde4078449fd9764d1a63469d6efb0d90b9265ff9
Make multiple rules to generate a file an error

Pass -w dupbuild=err to ninja to make defining multiple rules to build a
file an error instead of a warning.  Proceeding with the build would
result in undefined behavior, and nobody notices the warning.

Change-Id: Iadac88f8835121a8685bff835acba638100bb654
core/ninja.mk