Enhanced DefineGroup that uses the new OOP implementation. This maintains backward compatibility while using the new system internally.
(name, src, depend, **parameters)
| 54 | _original_DefineGroup = DefineGroup |
| 55 | |
| 56 | def DefineGroup(name, src, depend, **parameters): |
| 57 | """ |
| 58 | Enhanced DefineGroup that uses the new OOP implementation. |
| 59 | |
| 60 | This maintains backward compatibility while using the new system internally. |
| 61 | """ |
| 62 | # Get environment from global Env |
| 63 | global Env |
| 64 | if Env and hasattr(Env, 'DefineGroup'): |
| 65 | # Use new method if available |
| 66 | return Env.DefineGroup(name, src, depend, **parameters) |
| 67 | else: |
| 68 | # Fallback to original |
| 69 | return _original_DefineGroup(name, src, depend, **parameters) |
| 70 | |
| 71 | |
| 72 | # Override GetDepend to use new implementation |
nothing calls this directly
no test coverage detected