Index: tools/android/loading/dependency_graph.py |
diff --git a/tools/android/loading/dependency_graph.py b/tools/android/loading/dependency_graph.py |
index 23285cca695d7f0b96120599215e5eec68cc9897..be2c5e0d04d331cbbfb027ac750e507cf21fedd7 100644 |
--- a/tools/android/loading/dependency_graph.py |
+++ b/tools/android/loading/dependency_graph.py |
@@ -46,6 +46,11 @@ class RequestDependencyGraph(object): |
self._first_request_node = self._nodes_by_id[self._requests[0].request_id] |
self._deps_graph = graph.DirectedGraph(self._nodes_by_id.values(), edges) |
+ @property |
+ def graph(self): |
+ """Return the Graph we're based on.""" |
+ return self._deps_graph |
+ |
def UpdateRequestsCost(self, request_id_to_cost): |
"""Updates the cost of the nodes identified by their request ID. |