virtualx-engine/modules/webm/config.py
Rémi Verschelde 7c74312217 SCons: Validate dependencies for linked multimedia modules
This is still a bit hacky and eventually we should rework the way we handle
optional dependencies (especially with regard to builtin/system libs), but
it's a simple first step.

Fixes #39219.
2020-06-03 11:00:10 +02:00

19 lines
308 B
Python

def can_build(env, platform):
if platform in ["iphone"]:
return False
return env.module_check_dependencies("webm", ["ogg", "opus", "vorbis"])
def configure(env):
pass
def get_doc_classes():
return [
"VideoStreamWebm",
]
def get_doc_path():
return "doc_classes"