allweax / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Ninja generator ignores the 'default_target' flag. #295

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It was recently discovered that the Ninja generator ignores the 
'default_target' flag.

This is an issue for Chrome on Android, which sets the value to 'All', while 
the 'all' target itself currently fails to build. As a consequence, invoking 
ninja without a target would result in a failed build.

The issue doesn't appear when using the Make-based build (i.e. the generated 
top-level Makefile correctly uses 'All' as the default target).

This bug is to track the issue. I'm actually preparing a patch for this.

Original issue reported on code.google.com by di...@google.com on 7 Sep 2012 at 3:34