Add video support on Android

This commit is contained in:
Wojtek Figat
2024-05-15 23:39:10 +02:00
parent 82bf4238df
commit 1d6e8c4b7c
6 changed files with 631 additions and 1 deletions

View File

@@ -46,6 +46,10 @@ public class Video : EngineModule
options.SourcePaths.Add(Path.Combine(Globals.EngineRoot, "Source", "Platforms", "Switch", "Engine", "Video"));
options.CompileEnv.PreprocessorDefinitions.Add("VIDEO_API_SWITCH");
break;
case TargetPlatform.Android:
options.SourcePaths.Add(Path.Combine(FolderPath, "Android"));
options.CompileEnv.PreprocessorDefinitions.Add("VIDEO_API_ANDROID");
break;
}
}