Make isolate_driver.py process build.ninja and extract dependencies. (bis)
This uses a few assumption:
- This basically breaks non-ninja build for component builds. This never worked
anyway.
- This assumes the file format of .ninja files. This will likely be quite
obvious when this breaks.
- It makes some assumptions about the build steps, for example '.so.TOC' ->
'.so'.
On the other hand, it creates a deterministic dependency tree, which is awesome.
Technically it would work as well for non-component builds but I don't want to
go this far yet. But in the end, that's the goal that nobody has to enter the
binary dependencies in the .isolate files.
Was reverted in r263072, second try. Added a check to ensure the files added
exist and have the +x bit set.
TBR=vadimsh@chromium.org
BUG=360223,333473
Review URL: https://codereview.chromium.org/
234433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263240 0039d316-1c4b-4281-b951-d872f2087c98