diff options
author | Alexander Bokovoy <ab@samba.org> | 2012-04-13 17:53:04 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2012-04-13 18:34:39 +0200 |
commit | 1a8405c320f115d584a9094bf5878b8cf6d58893 (patch) | |
tree | d362fcfec3c7f49c91e709c01623b901d66c09c3 /buildtools/wafadmin | |
parent | b8dea7e82d0acb9e55e8bfe9a089c250d7380102 (diff) | |
download | samba-1a8405c320f115d584a9094bf5878b8cf6d58893.tar.gz samba-1a8405c320f115d584a9094bf5878b8cf6d58893.tar.bz2 samba-1a8405c320f115d584a9094bf5878b8cf6d58893.zip |
wafsamba: add support for separate rules in stages
bld.process_separate_rule(rule) and conf.process_separate_rule(rule)
will cause WAF to import wscript_<stage>_<rule> script into current
context.
Files wscript_<configure|build>_<rule> should exist in the current
directory.
This can be used to provide rules specific for alternative
implementations of certain libraries
Autobuild-User: Alexander Bokovoy <ab@samba.org>
Autobuild-Date: Fri Apr 13 18:34:39 CEST 2012 on sn-devel-104
Diffstat (limited to 'buildtools/wafadmin')
-rw-r--r-- | buildtools/wafadmin/Utils.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/buildtools/wafadmin/Utils.py b/buildtools/wafadmin/Utils.py index 080d928214..41dad570eb 100644 --- a/buildtools/wafadmin/Utils.py +++ b/buildtools/wafadmin/Utils.py @@ -111,9 +111,6 @@ class WscriptError(WafError): return (frame[0], frame[1]) return (None, None) -class WscriptCheckSkipped(WscriptError): - pass - indicator = is_win32 and '\x1b[A\x1b[K%s%s%s\r' or '\x1b[K%s%s%s\r' try: @@ -648,8 +645,6 @@ class Context(object): try: try: exec(compile(txt, file_path, 'exec'), dc) - except WscriptCheckSkipped: - pass except Exception: exc_type, exc_value, tb = sys.exc_info() raise WscriptError("".join(traceback.format_exception(exc_type, exc_value, tb)), base) |