Get build options. Args: env: SCons Environment Returns: Dictionary of build options
(env)
| 244 | |
| 245 | @staticmethod |
| 246 | def GetBuildOptions(env) -> Dict[str, Any]: |
| 247 | """ |
| 248 | Get build options. |
| 249 | |
| 250 | Args: |
| 251 | env: SCons Environment |
| 252 | |
| 253 | Returns: |
| 254 | Dictionary of build options |
| 255 | """ |
| 256 | context = BuildContext.get_current() |
| 257 | if context: |
| 258 | return context.build_options |
| 259 | return {} |
| 260 | |
| 261 | @staticmethod |
| 262 | def GetContext(env) -> Optional[BuildContext]: |
nothing calls this directly
no test coverage detected