summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Executor.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-04-01 22:58:50 (GMT)
committerSteven Knight <knight@baldmt.com>2005-04-01 22:58:50 (GMT)
commitc378212a5904028315760269a52272a3eb025dca (patch)
tree57e7a2d7d0628b81827df9b05e1cfeafff1c0b04 /src/engine/SCons/Executor.py
parentb4e1ccf877aecd44b8d865a06c57dd950e3344ae (diff)
downloadSCons-c378212a5904028315760269a52272a3eb025dca.zip
SCons-c378212a5904028315760269a52272a3eb025dca.tar.gz
SCons-c378212a5904028315760269a52272a3eb025dca.tar.bz2
Store source file and dependency paths relative to the target's directory, not relative to the top-level SConstruct directory.
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r--src/engine/SCons/Executor.py23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py
index ef460ef..afe817a 100644
--- a/src/engine/SCons/Executor.py
+++ b/src/engine/SCons/Executor.py
@@ -196,19 +196,16 @@ class Executor:
"""
return filter(lambda s: s.missing(), self.sources)
- def get_source_binfo(self, calc, ignore=[]):
- """
- Return three lists, one of the source files, one of their
- calculated signatures, and one of their strings (path names).
- __cacheable__
- """
+ def get_unignored_sources(self, ignore):
+ """__cacheable__"""
sourcelist = self.sources
if ignore:
sourcelist = filter(lambda s, i=ignore: not s in i, sourcelist)
- calc_signature = lambda node, calc=calc: node.calc_signature(calc)
- return (sourcelist,
- map(calc_signature, sourcelist),
- map(str, sourcelist))
+ return sourcelist
+
+ def process_sources(self, func, ignore=[]):
+ """__cacheable__"""
+ return map(func, self.get_unignored_sources(ignore))
@@ -235,8 +232,10 @@ class Null:
pass
def get_missing_sources(self):
return []
- def get_source_binfo(self, calc, ignore=[]):
- return ([], [], [])
+ def get_unignored_sources(self, ignore=[]):
+ return []
+ def process_sources(self, func, ignore=[]):
+ return []