Make isolate_driver.py process build.ninja and extract dependencies. (bis)
commitb6e07d160a29b1da442d0ada33859fa21ed11912
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 Apr 2014 14:35:35 +0000 (11 14:35 +0000)
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 Apr 2014 14:35:35 +0000 (11 14:35 +0000)
tree4913e9901ae0fa8a1c812bb72da5811771100e7e
parentba8b94c2080bff6886903c903ab495482663ae5b
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
tools/isolate_driver.py