The rule syntax works nicely, but it assumes all inputs/outputs can be
generated via simple variable substitution. It would be nice if there was a
way to use a helper to extra the inputs/outputs from the files so each source
the rule matches gets full input/output listings.
A concrete example of this is the grd/grit rules in Chromium. Since the grd
syntax allows for the import of external files, the input list really needs to
be different for each file that is matched by the rule. Likewise, the process
generates headers and a collection of language output files, but to capture
that list, we really need a help to ask grit what the grd lists for output.
Original issue reported on code.google.com by thomasvl@chromium.org on 28 Jul 2010 at 12:07
Original issue reported on code.google.com by
thomasvl@chromium.org
on 28 Jul 2010 at 12:07