Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 21718:b5bbf03bc17a
Improve makefile generator, exporting files into shared dir (JBS:GRAAL-52)
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Thu, 04 Jun 2015 03:21:58 +0200 |
parents | a3315bce5192 |
children | 0c60e14e7796 |
comparison
equal
deleted
inserted
replaced
21717:a3315bce5192 | 21718:b5bbf03bc17a |
---|---|
140 def __str__(self): | 140 def __str__(self): |
141 return self.name | 141 return self.name |
142 | 142 |
143 def add_update_listener(self, listener): | 143 def add_update_listener(self, listener): |
144 self.update_listeners.add(listener) | 144 self.update_listeners.add(listener) |
145 | 145 |
146 def get_dist_deps(self, includeSelf=True, transitive=False): | 146 def get_dist_deps(self, includeSelf=True, transitive=False): |
147 deps = set() | 147 deps = set() |
148 if includeSelf: | 148 if includeSelf: |
149 deps.add(self) | 149 deps.add(self) |
150 deps.update([distribution(name) for name in self.distDependencies]) | 150 deps.update([distribution(name) for name in self.distDependencies]) |
151 if transitive: | 151 if transitive: |
152 for depName in self.distDependencies: | 152 for depName in self.distDependencies: |
153 deps.update(distribution(depName).get_dist_deps(False, False)) | 153 deps.update(distribution(depName).get_dist_deps(False, False)) |