diff options
| author | Steven Knight <knight@baldmt.com> | 2004-08-17 22:18:29 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2004-08-17 22:18:29 (GMT) |
| commit | f7f7241f5bb9a93bf0aa9cf583b9ca19fc4f7e53 (patch) | |
| tree | 10f3b934ade0574bcd58fd15434d6e0200daaaa0 /src/engine/SCons/Node/FS.py | |
| parent | 483564c8512e0eaccadb2aebe03e7e928225063b (diff) | |
| download | SCons-f7f7241f5bb9a93bf0aa9cf583b9ca19fc4f7e53.zip SCons-f7f7241f5bb9a93bf0aa9cf583b9ca19fc4f7e53.tar.gz SCons-f7f7241f5bb9a93bf0aa9cf583b9ca19fc4f7e53.tar.bz2 | |
Put back --implicit-cache, having it use the --debug=explain info instead of its own dependencies. (Anthony Roach)
Diffstat (limited to 'src/engine/SCons/Node/FS.py')
| -rw-r--r-- | src/engine/SCons/Node/FS.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index aa332c2..b10657c 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -1447,7 +1447,7 @@ class File(Base): # in one build (SConstruct file) is a source in a different build. # See test/chained-build.py for the use case. entry = self.get_stored_info() - if not SCons.Node.Save_Explain_Info: + if not SCons.Node.Save_Explain_Info and not SCons.Node.implicit_cache: # If we're not saving explanation info, wipe out any that # might be in the already-stored entry. # @@ -1489,7 +1489,11 @@ class File(Base): return BuildInfo() def get_stored_implicit(self): - return self.dir.sconsign().get_implicit(self.name) + binfo = self.get_stored_info() + try: + return binfo.bimplicit + except AttributeError: + return None def get_found_includes(self, env, scanner, target): """Return the included implicit dependencies in this file. @@ -1769,7 +1773,7 @@ class File(Base): return csig - def current(self, calc=None): + def current(self, calc=None, scan=1): self.binfo = self.gen_binfo(calc) if self.always_build: return None |
