Changes analyzer to search for targets
Here's a list of the changes:
. I'm changing input file to be a JSON file. This allows for passing
in more information, such as the set of targets to search for.
. Changing output format to be JSON as well. This allows for more
structure in outputting other random data. I'm a bit iffy on whether
this is good, but it's requested by the recipes side of things which
. You can now specify a set of targets to search for in addition to
files. This is intended for things like 'unittests' so that only the
set of targets that are effected by the change get run.
To enable the new functionality you have to pass in a new switch. Once
I integrate these changes into the rest of the stack. I'll remove the
TEST=covered by tests
Review URL: https://codereview.chromium.org/420383002
git-svn-id: http://gyp.googlecode.com/svn/trunk@1956 78cadc50-ecff-11dd-a971-7dbc132099af
3 files changed