Skip to content

Commit

Permalink
Merge eebc45a into 15cf58c
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreisser authored Oct 9, 2021
2 parents 15cf58c + eebc45a commit 1dc0b75
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions CefSharp/DependencyChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
#if NETCOREAPP
using System.Runtime.InteropServices;
#endif
using System.Text;

namespace CefSharp
Expand Down Expand Up @@ -54,16 +58,25 @@ public static class DependencyChecker
/// <summary>
/// List of Optional CEF Dependencies
/// </summary>
public static string[] CefOptionalDependencies =
public static string[] CefOptionalDependencies = new string[]
{
// Angle and Direct3D support
// Angle support
// Note: Without these components HTML5 accelerated content like 2D canvas, 3D CSS and WebGL will not function.
"libEGL.dll",
"libGLESv2.dll",
"d3dcompiler_47.dll",
//Crashpad support
"chrome_elf.dll"
};
}.Concat(
#if NETCOREAPP
RuntimeInformation.ProcessArchitecture is Architecture.Arm64 ?
Array.Empty<string>() :
#endif
new string[]
{
// Direct3D support (only for x86/x64)
"d3dcompiler_47.dll"
})
.ToArray();

/// <summary>
/// List of CefSharp Managed Dependencies (Those that are AnyCPU written in c#)
Expand Down

0 comments on commit 1dc0b75

Please sign in to comment.