mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ee8fbbd417
We need to checksum the rule as string command of the sourcecode of the python function. This is stored in the 'ruledeps' envariable on the waf Task. See exec_rule() in wafadmin/TaskGen.py. dep_vars = getattr(self, 'dep_vars', ['ruledeps']) if dep_vars: tsk.dep_vars = dep_vars if isinstance(self.rule, str): tsk.env.ruledeps = self.rule else: # only works if the function is in a global module such as a waf tool tsk.env.ruledeps = Utils.h_fun(self.rule) If there's no 'dep_vars' it defaults to ['ruledeps']. As we pass our own 'dep_vars' we need to explicitly add 'ruledeps'. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
configure_file.py | ||
gccdeps.py | ||
generic_cc.py | ||
hpuxcc.py | ||
irixcc.py | ||
nothreads.py | ||
pkgconfig.py | ||
README | ||
samba3.py | ||
samba_abi.py | ||
samba_autoconf.py | ||
samba_autoproto.py | ||
samba_bundled.py | ||
samba_conftests.py | ||
samba_cross.py | ||
samba_deps.py | ||
samba_dist.py | ||
samba_headers.py | ||
samba_install.py | ||
samba_optimisation.py | ||
samba_patterns.py | ||
samba_pidl.py | ||
samba_python.py | ||
samba_third_party.py | ||
samba_utils.py | ||
samba_version.py | ||
samba_wildcard.py | ||
stale_files.py | ||
symbols.py | ||
tru64cc.py | ||
wafsamba.py | ||
wscript |
This is a set of waf 'tools' to help make building the Samba components easier, by having common functions in one place. This gives us a more consistent build, and ensures that our project rules are obeyed TODO: see http://wiki.samba.org/index.php/Waf