commit | 573a2fd4fc057728c28f9f33c462f15bafc90427 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@google.com> | Wed Dec 17 14:16:51 2014 -0800 |
committer | Colin Cross <ccross@google.com> | Fri Jan 23 13:41:49 2015 -0800 |
tree | 2dc55a8e80e6ad34650cab63880a2b3e5de99884 | |
parent | fea2b75e2d9b9c0d0308c3d40ce409971e2363a4 [diff] |
Store a sorted module list Walk the dependency tree once in order to create a list of modules such that that any module is guaranteed to be later in the list than any of its dependencies. Allows easily walking the tree in child-first or parent-first order by walking the list in forward or reverse order. Change-Id: I8f2013ebf700d1bc4c41b7898742a426f032ea2f